// JavaScript Document
function anyObj(divName) {
	this.IE5=this.NN4=this.NN6=false
	if(document.all)this.IE5=true
	else if(document.layers)this.NN4=true
	else if(document.getElementById)this.NN6=true
	
	if(this.NN4)this.obj=eval("document."+divName)
	if(this.IE5)this.obj=eval("document.all."+divName)
	if(this.NN6)this.obj=eval("document.getElementById(\""+divName+"\")")

	this.show = showDiv
	this.hide = hideDiv
	this.showtext = showText
}
function showDiv() {
	if(this.NN4) this.obj.visibility="visible"
	else this.obj.style.visibility="visible"
}
function hideDiv() {
	if(this.NN4) this.obj.visibility="hidden"
	else this.obj.style.visibility="hidden"
}
function showText(content) {
	if(this.NN4) {
		// Couldn't get this to work inside table cell.
		//	this.obj.document.write(content)
		//	this.obj.document.close()
		alert("I couldn't get part to work in NN4")
	} else if(this.NN6) {
		this.obj.innerHTML = content
	} else if(this.IE5) {
		content=content+"\n"	// You have to have this new line character for a bug on Mac IE.
		this.obj.innerHTML = content
	}
}

function initialize() {
	myObj = new anyObj("tableDiv")
}
onload=initialize
