var gecko = /gecko/i.test(navigator.userAgent); 
var ns = (document.layers)? true:false;
var ie = (document.all)? true:false;

function sb(Name, Text) {
        if (Name) {
            document[Name].src = document[Name].src.replace(/-p\./,'-a\.')
        }
        window.status = Text;
        return true;
}

function db(Name) {
        if (Name) {
            document[Name].src = document[Name].src.replace(/-a\./,'-p\.')
        }
}



function bookmark() {
        if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
            window.external.AddFavorite ('http://zp.bialystok.pl','ZPiSDN w Białymstoku');
            alert('Dziękujemy za dodanie naszej strony do ulubionych!');
        }
        else {
            alert('Naci¶nij CTRL+D. Dziękujemy za\ndodanie naszej strony do ulubionych!  ');
        }
}

function init() {
        var d = document.getElementById('MainTable');
        d.style.visibility = "visible";
}
