function availableHeight()

{

	var isNav=false;

	var intAH, intCheck;

	if(navigator.appName=="Netscape")

		isNav=true;

	

	if(isNav==true)

	{	//netscape

		if(isNaN(window.innerHeight)==false)

		{	//window.innerHeight property is OK so set it

			intAH=window.innerHeight;

		}

		else

		{	//there is some problem with its so use screen height and assume 75%

			intAH=(screen.height*0.75);

		}

	}

	else

	{	//IE or other

		if(isNaN(document.body.clientHeight)==false)

		{	//document.body.clientHeigth prop is OK so set it

			intAH=document.body.clientHeight;

		}

		else

		{	//there is some problem with its so use screen height and  assume 75%

			intAH=screen.height*0.75;

		}

	}

	return intAH;

}

function switchit(url)
{
document.getElementById('nav').src="images/" + url;
}

function tablehead()

{

	var scalef=1.00;

	document.write("<table width=\"100%\" height=\"" + (availableHeight() * scalef) + "px\"><tr><td height=\"20px\"></td></tr>");

	document.write("<tr><td valign=\"top\" align=\"center\">");

}

function launchwin(url)
{
	window.open(url, "", "toolbar=no, menubar=no, location=no, top=130px, height=418px, width=300px");
}

function launchwinsize(url)

{
	window.open(url, "", "toolbar=no, menubar=no, location=no, top=130px, height=320px, width=480px");
}


