//var arVersion = navigator.appVersion.split("MSIE")
//var version = parseFloat(arVersion[1])

function fixPNG(myImage) 
{
    if (browser.isIE && (browser.version >= 5.5) && (browser.version < 7) && (document.body.filters)) 
    {
     var imgID = (myImage.id) ? "id='" + myImage.id + "' " : "";
	   var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : "";
	   var imgTitle = (myImage.title) ? 
		             "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' ";
	   var imgStyle = " display:block; " + myImage.style.cssText;
     var imgOnMouseOver = (myImage.onmouseover) ? "onmouseover=\" anonymous(); " + myImage.onmouseover + "\" " : "";
     var strNewHTML = "<span " + imgID + imgClass + imgTitle
                  + " style=\" position: absolute;" + " left: " + myImage.offsetLeft 
                  + "px; top: " + myImage.offsetTop
                  + "px; width: " + myImage.width
                  + "px; height: " + myImage.height 
                  + "px;" + imgStyle + ";"
                  + " filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                  + "(src=\'" + myImage.src + "\', sizingMethod='scale');\" "
                  + imgOnMouseOver + "></span>";
	   myImage.outerHTML = strNewHTML;	  
    }
}
