<public:component>
<public:attach event="onpropertychange" onevent="doFix()" />
<public:attach event="oncontentready" onevent="doFix()" />
<public:attach event="onload" onevent="doFix()" />

<script type="text/javascript">

// IE5.5+ PNG Alpha Fix v1.0RC4
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com

// This is licensed under the CC-GNU LGPL, version 2.1 or later.
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/

// This must be a path to a blank image. That's all the configuration you need.
//if (typeof blankImg == 'undefined') var blankImg = '../images/blank.gif';


var f = 'DXImageTransform.Microsoft.AlphaImageLoader';


function filt(s, m)
{    
    if (this.pngFix && this.pngFix==s)
    return;
 if (filters[f])
 {
      //if (s) with (filters[f]) { src = s; sizingMethod = m }
      //additional check on filters makes sure we only process images when needed.
      if (s && filters[f].src!=s){ this.pngFix = s; style.paddingTop = (height?height:style.height); with (filters[f]) { src = s; enabled=true; apply(); return true;}}      
      if (!s && this.pngFix && this.pngFix != '')
      {
        this.pngFix = '';
        filters[f].enabled = false;
      }
 } 
 //else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
 else if (s){  this.pngFix = s; style.paddingTop = (height?height:style.height);  style.filter = 'progid:'+f+'(src="'+s+'")'; filters[f].apply(); return true; }
 return false;
}


/*
function ApplyIEPngImageSourceHack(){  
    var proxyImg = alphaProxyImg;   
    //Create the proxy img the first time through  
    if(!proxyImg && !originalImg)  {    
        //pageImg.src = "spacer.png";     
        proxyImg = document.createElement("IMG");    
        proxyImg.ID = pageImg.ID + "_AlphaLoadingProxy";    
        proxyImg.style.display = "none";     
        proxyImg.originalImg = this;     
        proxyImg.onload = function() {      
            var alphaFilter = originalImg.filters["DXImageTransform.Microsoft.AlphaImageLoader"];       
            if(alphaFilter == null)      {        
                originalImg.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"" + src + "\")";         
                alphaFilter = originalImg.filters["DXImageTransform.Microsoft.AlphaImageLoader"];      
            }      
            else      {        alphaFilter.src = imageUrl;      }       
            alphaFilter.apply();    
        };     
        // Append the proxy image into the parent element of the original   
        parentElement.appendChild(proxyImg);     
        // Associate the proxy image with the original image     
        // for future lookups    
        alphaProxyImg = proxyImg;  
     }   
     // Kick the download off with the proxy img  
     proxyImg.src = src;
   }
*/

function doFix()
{
try
{
 // Assume IE7 is OK.
 if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
  (event && !/(background|src)/.test(event.propertyName))) return;

if (tagName.toUpperCase() == 'IMG' || (tagName.toUpperCase() == 'INPUT' && type.toUpperCase()
=='IMAGE'))
 {
  if ((((/png\.aspx$/i).test(src)) || ((/\.png$/i).test(src))) && (!/fcmlogo\.png$/i.test(src)))
  {
       //explicitly exclude the fcmlogo.
       //if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
        //style.width = offsetWidth + 'px';
       if (filt(src, 'scale'))
       {
          //padding avoids need to change the source to a blank image.    
          //ApplyIEPngImageSourceHack();          
                     
       }
       //src = blankImg;
       
  }
  else 
  {
        if (this.pngFix && this.pngFix!='') filt();
  }
  return;
 }
 /* 
 var bgImg = currentStyle.backgroundImage || style.backgroundImage;
 if (bgImg && bgImg != 'none')
 {
  if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
  {
   var s = RegExp.$1;
   if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
    //style.width = offsetWidth + 'px';
   //style.backgroundImage = 'none';
   filt(s, 'crop');
   // IE link fix.
   //for (var n = 0; n < childNodes.length; n++)
   // if (childNodes[n].style) childNodes[n].style.position = 'relative';
  }
  else filt();
  
 }*/
 } catch(e) { 
    //not worth any trouble if it bombs
    } 
}

doFix();

</script>
</public:component>