function isIE(){
if (navigator.appName!="Microsoft Internet Explorer") {return false}
return true
}

function correctPNG() 
{
   for(var i=0; i<document.images.length; i++)
   {
	  var img = document.images[i]
	  //img.style.display=''
	  var LW=img.width
	  var LH=img.height
	  var imgName = img.src.toUpperCase()
	  if (imgName=="")  imgName=img.lowsrc.toUpperCase()
	  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	  { 
         if (img.src==""){
			img.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+img.lowsrc+", sizingmethod=scale);" 
         }else{
			img.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+img.src+", sizingmethod=scale);" 
		 }
         img.src="transparent.gif"
         img.width=LW
         img.height=LH
	  }
   }
}
if (isIE()) {window.attachEvent("onload", correctPNG);}

function pngone(where){
	  //where.style.display=''
	  var LW=where.width
	  var LH=where.height
	  var imgName = where.src.toUpperCase()
	  if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	  { 
	     where.style.filter+="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+where.src+", sizingmethod=scale);" 
         where.src="transparent.gif"
         where.width=LW
         where.height=LH
	  }
}