// Reload PNG images in MSIE, using the AlphaImageLoader
function fixPNG(myImage, id)
{
  if (window.ie && getOS() == 'Windows' && (myImage.src+"X").slice(-4,-1).toLowerCase() == "png")  // Only MSIE in Windows ; reload png images only
//  if (window.ie && getOS() == 'Windows') // Only MSIE in Windows ; reload ALL images (.jpg, .gif, .png, etc.)
  {
    div_style_obj = document.getElementById(id).style;     // Div object that will contain the Alpha loaded png image
    div_style_obj.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + myImage.src + "')"; // Reload image in a nasty way
    myImage.style.visibility = "hidden"; // Hide original image
  }
}

