// All browsers except IE/PC can display PNG transparencies automatically.
// IE/PC can do it using a proprietary "filter."

// The changePNG function is intended to be called in an image's
// onload event. Unless this file is included ahead of the first
// usage, some browsers will throw script errors when navigating
// to the page using the forward/back buttons.

if ((/MSIE (5\.5)|[6789]/.test(navigator.userAgent)) && (navigator.platform == "Win32"))
  var IEPC = true;
else
  var IEPC = false;

function changePNG(el) {
  if ((IEPC) && (/.png$/.test(el.src))) {
    el.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')\n";
    el.src = "http://www.laquintaassociates.com/images/blank.gif";
  }
}
