// IE PNG FIX: correctly handle PNG transparency in Win IE 5.5 > 6.x
if(window.attachEvent && (parseFloat(navigator.appVersion.split("MSIE")[1])<7)){
window.onload = function(){   if (document.body.filters){ 
  var i=document.images.length; while(i--){    
  var img = document.images[i], imgName = img.src.toUpperCase();      
    if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
	{ 
	var imgID = (img.id) ? "id='" + img.id + "' " : "", imgClass = (img.className) ? "class='" + img.className + "' " : "", imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ", imgStyle = "display:inline-block;" + img.style.cssText;
    if (img.align == "left") image.align='left'; //imgStyle = "float:left;" + imgStyle        
    if (img.align == "right")image.align='left'; //imgStyle = "float:right;"+ imgStyle        
    if (img.parentElement.href) imgStyle = "cursor:pointer;" + imgStyle 
    img.outerHTML="<div style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"  + "(src=\'" + img.src + "\', sizingMethod='scale');\">" 
} } } } };

