// This script fixes the logo, which is an alpha transparent png image, 
// so that it works properly in Internet Explorer 5, 5.5, and 6.
// This script is called by conditional comments and is only loaded for visitors using IE.

// Run the fixLogoPng function on page load.
window.attachEvent("onload", fixbga);

function fixbga() {
   // First, find the image in question and get it's src value.
    var img = document.getElementById("ctl00_logobga");
   var src = img.src;
   
   // Then, hide the image.
   img.style.visibility = "hidden";
   
   // Then, create a div that uses the image as a background, including MS's AlphaImageLoder filter property for trasparent PNGs.
   var div = document.createElement("DIV");
   div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizing='scale')";
   div.style.width = "249px";
	 div.style.height = "51px";

   // Finally, replace the image with the newly created div.
   img.replaceNode(div);   
}