(function(){
var _FC = (function(){
var _isIE = /*@cc_on!@*/ false;
var _isLteIE7 = /*@cc_on @*/ /*@if (@_jscript_version <= 5.7) true; /*@end @*/ false;		
return function(){
this.hasIE = (function () { return _isIE; })();
this.hasLteIE7 = (function () {return _isLteIE7})();
this.getStyle = function(el,styleProp) {
var x = document.getElementById(el), y;
if (x.currentStyle) y = x.currentStyle[styleProp];
else if (window.getComputedStyle) y = document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);
return y;
};
this.setJS = function () {
document.body.className = (document.body.className) ? document.body.className + " js" : "js";
};
this.pngFix = function(img){
if (!this.hasLteIE7) {
return false;
} else {
/*@cc_on
var clear = img; // path to clear.gif
@if (@_jscript_version >= 5.5 && @_jscript_version < 5.7)
var els=document.body.getElementsByTagName("*");var ip=/\.png/i;var i=els.length;while(i--){var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear}else{var elb=el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=="no-repeat")?"crop":"scale";es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+"px";es.backgroundImage="none";}}}
@end
@*/			
}
};
this.flickerFix = function(){
if (!this.hasLteIE7) {
return false;
} else {
/*@cc_on 
@if (@_win32)
try {document.execCommand('BackgroundImageCache', false, true);}catch(e){}
@end
@*/		
}
};
};
})();
window.FC = new _FC();
})();
