function launchDisclaimer()
{	x = (screen.availWidth - 400) / 2
	y = ((screen.availHeight - 300) / 2 ) - 30

	attribs = "width=400,height=300,left=" + x + ",top=" + y + ",scrollbars=no"
	disc = window.open("disclaimer.htm","discWindow",attribs)
}

function launchDisclaimer1()
{	x = (screen.availWidth - 400) / 2
	y = ((screen.availHeight - 300) / 2 ) - 30

	attribs = "width=400,height=300,left=" + x + ",top=" + y + ",scrollbars=no"
	disc = window.open("../disclaimer.htm","discWindow",attribs)
}

//
//
// This file contains miscellaneous Dynamic HTML routines
// that takes into account different browsers and platforms
//
//


function getObj(obj)
{	if (dom1)
	{	compLayr = document.getElementById(obj).style
	}
	else if (is.nav4)
	{	compLayr = document.layers[obj]
	}
	else
	{	compLayr = document.all[obj].style
	}
	return compLayr
}

function show(layr)
{	obj = getObj(layr)
	obj.visibility = "visible"
}

function hide(layr)
{	obj = getObj(layr)
	obj.visibility = "hidden"
}

function setZindex(layr,num)
{	obj = getObj(layr)
	obj.zIndex = num
}

function setTop(layr,num)
{	obj = getObj(layr)
	obj.top = num
}

function setLeft(layr,num)
{	obj = getObj(layr)
	obj.left = num
}

function incTop(layr,num)
{	obj = getObj(layr)
	obj.top = getTop(layr) + num
}

function incLeft(layr,num)
{	obj = getObj(layr)
	obj.left = getLeft(layr) + num
}

function getTop(layr)
{	obj = getObj(layr)
	if (dom1)
	{	return (document.getElementById(layr).offsetTop)
	}
	else if (is.nav4)
	{	return (obj.top)
	}
	else
	{	return (obj.posTop)
	}
}

function getLeft(layr)
{	obj = getObj(layr)
	if (dom1)
	{	return (document.getElementById(layr).offsetLeft)
	}
	else if (is.nav4)
	{	return (obj.left)
	}
	else
	{	return (obj.posLeft)
	}
}

function getWidth(layr)
{	if ((dom1) && (!is.opera5up))
	{	return (document.getElementById(layr).offsetWidth)
	}
	else if (is.opera5up)
	{	return (document.getElementById(layr).style.pixelWidth)
	}
	else if (is.nav4)
	{	return eval("document." + layr + ".document.width")
	}
	else
	{	return (document.all[layr].scrollWidth)
	}
}
	
function getHeight(layr)
{	if ((dom1) && (!is.opera5up))
	{	return (document.getElementById(layr).offsetHeight)
	}
	else if (is.opera5up)
	{	return (document.getElementById(layr).style.pixelHeight)
	}
	else if (is.nav4)
	{	return eval("document." + layr + ".document.height")
	}
	else
	{	return (document.all[layr].scrollHeight)
	}
}

function layerClip(layr,topA,rightA,bottomA,leftA)
{	obj = getObj(layr)
	if (dom1 || (is.ie4 && !is.mac))
	{	obj.clip = "rect(" + topA + " " + rightA + " " + bottomA + " " + leftA + ")"
	}
	else if (is.nav4)
	{	obj.clip.top = topA
		obj.clip.left = leftA
		obj.clip.bottom = bottomA
		obj.clip.right = rightA
	}
	else if (is.ie4 && is.mac)
	{	obj.clip = "rect(0 100% 100% 0)"
	}
}

function browserWidth()
{	if (is.nav)
	{	return (window.innerWidth)
	}
	else
	{	return (document.body.clientWidth)
	}
}

function browserHeight()
{	if (is.nav)
	{	return (window.innerHeight)
	}
	else
	{	return (document.body.clientHeight)
	}
}
