function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = "ie";
	this.v = parseInt(navigator.appVersion)
	this.ns = (this.b=="ns" && this.v==4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ie = ((this.b=="ie" && this.v>=4)||(this.b=="ns" && this.v>=5))
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	if (this.ie5) this.v = 5
	this.min = (this.ns||this.ie)

	if(!this.ns) {
		this.ie=true;
	}
		
}

is = new BrowserCheck()


// Show/Hide script
function show(id) {
        if (is.ns) document.layers[id].visibility = "show"
        else if (is.ie4) document.all[id].style.visibility = "visible"
		else if (is.ie)	document.getElementById(id).style.visibility = 'visible'
}

function hide(id) {
        if (is.ns) document.layers[id].visibility = "hide"
        else if (is.ie4) document.all[id].style.visibility = "hidden"
		else if (is.ie) document.getElementById(id).style.visibility = 'hidden'
}


function hideall() {
	hide('newsitem');
}

