function selfTest(){if(!/MSIE (5\.5|6)/.test(navigator.userAgent)){return alert('Please try this in IE6 :)');}
var failed='MISSING! Check your .HTC pathname is correct '+'and that the server is returning the correct MIME type.';var demoImg=document.getElementById('demoImg');alert('Filter activation: '+
(demoImg.filters['DXImageTransform.Microsoft.AlphaImageLoader']?'OK':failed)+'\n\nBLANK image pathname: '+demoImg.src);if(location.protocol.indexOf('http')==-1){return alert('Please run this from your server for MIME testing.');}
alert('The script will now request "iepngfix.htc" in the current folder...');var xmlhttp;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}
xmlhttp.open('GET','iepngfix.htc',true);xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){alert('Server response: File '+
(xmlhttp.status==404?'NOT FOUND!':'found.')+'\n\nMIME type (should be "text/x-component"): '+
xmlhttp.getResponseHeader('Content-Type'));}};xmlhttp.send(null);};
