function correctPNG() 
{ 
 /*
	for(var i=0; i<document.images.length; i++) 
	{ 
 
		var img = document.images[i] ;
		var imgName = img.src.toUpperCase() ;
		if (imgName.substring(imgName.length-3, imgName.length) == "PNG") 
		{ 
			fixPNG(img);
		    
		} 
		if(imgName.indexOf("PNG") >=0)count ++;
	} 
	*/
	for(var i=1;i<=5;i++)
	{
		var img = document.getElementById("indexright"+i);
		fixPNG(img);
	}
	 
} 
function fixPNG(myImage) {
	var arVersion = navigator.appVersion.split("MSIE");
	var version = parseFloat(arVersion[1]); 
	if ((version >= 5.5) && (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:inline-block;" + myImage.style.cssText;
		var strNewHTML = "<span " + imgID + imgClass + imgTitle             + " style=\"" + "width:" + myImage.width             + "px; height:" + myImage.height             + "px;" + imgStyle + ";"             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"             + "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"; 
		myImage.outerHTML = strNewHTML;
	} 
} 

window.attachEvent("onload", correctPNG);

 