function BrowserCheck() {
        var bName = navigator.appName
        if (bName=="Netscape") this.bName = "ns"
        else if (bName=="Microsoft Internet Explorer") this.bName = "ie"
        else this.bName = bName
        this.version = navigator.appVersion
        this.vNo = parseInt(this.version);
        this.ns = (this.bName=="ns" && this.vNo>=4);
        this.ie = (this.bName=="ie" && this.vNo>=4);
        this.pc = this.version.match("Win.*");
        this.unix = this.version.match("X11");
}
is = new BrowserCheck();

function showThing(name) {
	if (document.layers) document.main.layers[name].visibility = "show"
	else if (document.all) document.all[name].style.visibility = "visible"
}

function hideThing(name) {
	if (document.layers) document.main.layers[name].visibility = "hide"
	else if (document.all)  document.all[name].style.visibility = "hidden"
}

function showNote(name) {
        if (is.ns){
	    document.main.layers[name].visibility = "show"
	    document.main.layers[name].top = window.pageYOffset+15;
	} else if (is.ie){
	    document.all[name].style.visibility = "visible"
	    document.all[name].style.top = document.body.scrollTop+15;
	}

}
