ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

function init()
{
  if(ns4) block = document.blockDiv
	else if(ie4) block = blockDiv.sytle
}

function showObject(obj)
{
	if(ns4) obj.visibility = "show"
	else if (ie4) obj.visibility = "visible"
}

function hideObject(obj)
{
	if(ns4) obj.visibility = "hide"
	else if (ie4) obj.visibility = "hidden"
}

function layerObj(id)
{
	if(ns4)
	{
		this.css = document.layers[id]
		this.x = this.css.left
		this.y = this.css.top
	}
	else if (ie4)
	{
		this.css = document.all[id].style
		this.x = this.css.pixelLeft
		this.y = this.css.pixelTop
	}
}

function openSymLookup(form_name, field_name)
{
	var url = "symbols.cgi?form_name="+form_name+"&field_name="+field_name;

	window.open(url, 'symbol_lookup', 'width=400,height=500');

}
