// PNGHack 1.0.1 (last change 2009-11-02) (original 2008-06-18)
// Copyright (c) 2008 Yves Van Goethem and png-hack project contributors
// http://code.google.com/p/png-hack/
// Distributed under MIT X11 License
document.write('<!--[if lte IE 6]><style type="text/css">.hack-png{visibility:hidden}</style><![endif]-->');var PNGHack=function(k){var l='http://png-hack.googlecode.com/svn/trunk/spacer.gif';var g=function(b,e,c){if(c.checkIE&&!navigator.userAgent.match(c.checkIE))return;if(!b)b={};var m=b.scope||document;var f=(!b.elm&&e!=2)?m.all:m.getElementsByTagName(b.elm);var h=b.src||'src';var q=new RegExp((b.ext)?'\\w+.'+b.ext.toUpperCase():'\.PNG$');var n=function(a,i){var j=a.style;if(!a.pngsrc)c.elements.push(a);a.pngsrc=a.getAttribute(i);j.width=a.clientWidth;j.height=a.clientHeight;j.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a.pngsrc+"',sizingMethod='scale')";if(c.remotehost==true)k=l;else if(c.remotehost!=false){var o=function(){a.setAttribute(i,l)};var p=function(){if(a.readyState=='complete'){a.detachEvent('onerror',o);a.detachEvent('onreadystatechange',p)}};a.attachEvent('onerror',o);a.attachEvent('onreadystatechange',p)}a.setAttribute(i,k||'images/spacer.gif');if(a.className.match(/\bhack-png\b/))var r=setTimeout(function(){a.className=a.className.replace(/hack-png/g,'');clearTimeout(r)},300)};if(e==2){n(b.elm,h);return}for(var d=0;d<f.length;++d){var s=f[d].getAttribute(h)||'';if(e==0&&f[d].className.match(/\bhack-png\b/)||(e==1&&s.toUpperCase().match(q)))n(f[d],h)}};return{hackClass:function(a){g(a,0,this)},hackExtension:function(a){g(a,1,this)},hackElement:function(a){g(a,2,this)},elements:[],checkIE:'MSIE 5\.5|MSIE 6',remotehost:null}};

