function placeInMiddle()
{
		document.getElementById("dvFlash").style.top = (document.documentElement.clientHeight/2-157) + 'px';
		document.getElementById("dvFlash").style.left = (document.documentElement.clientWidth/2-250) + 'px';		
}

function changeHeight()
{ 
var ih;
ih=document.documentElement.clientHeight;

var OSName="Unknown OS";
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
//alert(OSName);
if(OSName == "MacOS")
{
//alert(OSName);
//window.location = "links.htm"
	
	if(document.getElementById("tdHeight") != null)
		document.getElementById("tdHeight").height = ih - 297;
	if(document.getElementById("tdHeight2") != null)
		document.getElementById("tdHeight2").height = ih - 267;
}
else
{ 
	if(document.getElementById("tdHeight") != null)
		document.getElementById("tdHeight").height = (navigator.appVersion.indexOf("en-US") != -1 ? ih-217 : (navigator.appVersion.indexOf("Safari") != -1 ? ih-211 : ih - 194));
	if(document.getElementById("tdHeight2") != null)
		document.getElementById("tdHeight2").height = (navigator.appVersion.indexOf("en-US") != -1 ? ih-391 : (navigator.appVersion.indexOf("Safari") != -1 ? ih-383 :ih - 367));

}
}
function LoadPage(page)
{
	window.open(page,'','channelmode=yes, toolbar=yes, status=yes, menubar=yes, resizable=yes, top=0, left=0, target=_blank');
}

