﻿
// dodaje mogucnost da se koristi innerText i kod firefoxa
var isIE = (window.navigator.userAgent.indexOf("MSIE") > 0);

if (!isIE) {
    HTMLElement.prototype.__defineGetter__("innerText",
              function() { return (this.textContent); });
    HTMLElement.prototype.__defineSetter__("innerText",
              function(txt) { this.textContent = txt; });
}
