﻿function prepareCss(){
// push text aside

    if (document.styleSheets[0].addRule){
        document.styleSheets[0].addRule(".txtContent","text-indent: -6000px;");
        return;
    }
    document.styleSheets[0].insertRule(".txtContent {text-indent: -6000px;}",document.styleSheets[0].cssRules.length);
}


var img = new Image(); 

if (img.style.MozBinding != null) 
 { 
   img.style.backgroundImage = "url(" + document.location.protocol + "//0)"; 
   var bg = window.getComputedStyle(img, '').backgroundImage; 
    
   if (bg != "none" && bg != "url(invalid-url:)" || document.URL.substr(0, 2) == "fi") 
   { 
     prepareCss();
   } 
 } 
else 
 { 
   img.style.cssText = "-webkit-opacity:0"; 
   if (img.style.webkitOpacity == 0) 
   { 
     img.onload = function() 
     { 
       prepareCss();
     } 
     img.src =  
       "data:image/gif;base64," + 
       "R0lGODlhAQABAIAAAP///wAAACH5BAE" + 
       "AAAAALAAAAAABAAEAAAICRAEAOw=="; 
   } else 
   { 
     img.onerror = function(e) 
     { 
       prepareCss();
     } 
     img.src = "about:blank"; 
   } 

}
