function getBrowser() {
	this.ie = (navigator.appName == "Microsoft Internet Explorer") ? 1:0;
	this.ns = (navigator.appName == "Netscape") ? 1:0;
	this.dom = (document.getElementById) ? 1:0;
	this.ie4 = (this.ie && !this.dom) ? 1:0;
	this.ie5 = (this.ie && this.dom) ? 1:0;
	this.ns4 = (this.ns && !this.dom) ? 1:0;
	this.ns6 = (this.ns && this.dom) ? 1:0;
	return this;
}
b = new getBrowser();
var active = 0;
function showHide(id,nest) {
	obj = b.dom ? document.getElementById(id).style : b.ie4 ? document.all[id].style : b.ns4 ? nest ? document[nest].document[id] : document[id] : 0;
	if(obj.visibility == 'hide' || obj.visibility == 'hidden') {
		obj.visibility = 'visible';
		if(active && active != obj) active.visibility = 'hidden';
		active = obj;
	}
	else obj.visibility = 'hidden';
}
