function isIE()
{
    if (window.navigator.userAgent.indexOf("MSIE") >= 1) 
    {
        return true; 
    }
    else 
    {
        return false; 
    }
} 

if(!isIE())
{
    HTMLElement.prototype.__defineGetter__(    "innerText", 
        function(){ 
            return this.textContent; 
        } 
    ); 
    HTMLElement.prototype.__defineSetter__(    "innerText", 
        function(sText){ 
            this.textContent = sText; 
        } 
    ); 
}
