if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent && ((navigator.platform.indexOf("Opera")) == -1) && ((navigator.userAgent.indexOf("Opera") == -1))  ) {
 document.writeln('<style type="text/css">img { visibility:hidden; } </style>');
 
/*
var oColl = document.all.tags("input");
if(oColl != null)
{
  alert(oColl.length);
  for(i = 0; i < oColl.length; ++i)
  {
    if(oColl[i].type == "image")
      oColl[i].className = "input-image-hidden";
  }
}
*/
 
/*
alert("initialize");
alert("document.forms.length is: " + document.forms.length);
 
  // get all of the <input> tags
  var oColl = document.all.tags("input");
  // if there are any ...
  if(oColl != null)
  {
    alert("got em!");
    alert(oColl.length);
    for(y = 0; y < oColl.length; ++y)
    {
     alert(oColl[y].type);
     if(oColl[y].type == "image")
     {
      alert("found image");
      alert(oColl[y].className);
      // save old class name
      oColl[y].oldClassName = oColl[y].className;
      // set new class name containing 'visibility: hidden;'
      oColl[y].className = "input-image-hidden";
     }
    }
  }
*/
 
 window.attachEvent("onload", fnLoadPngs);
}
 
function fnLoadPngs() {
 var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
 var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5 && Number(rslt[1]) < 7.0 );
 
 for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
  if (itsAllGood && img.src.match(/\.png$/i) != null) {
   var src = img.src;
   img.style.width = img.width + "px";
   img.style.height = img.height + "px";
   img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
   img.src = "images/spacer.gif";
  }
  img.style.visibility = "visible";
 }
}
