<!--
starttime = new Date().getTime();
window.onload=function(){
	stoptime = new Date().getTime();
	if(document.getElementById&&document.getElementById('loadtime')){
		document.getElementById('loadtime').innerHTML=((stoptime - starttime) / 1000);
	}
}

function openAWindow( pageToLoad, winName, width, height, center) 
{
	xposition=0; yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ) && (center))
	{
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	}
	args = "width=" + width + "," 
	+ "height=" + height + "," 
	+ "channelmode=0,"
	+ "directories=0,"
	+ "fullscreen=0,"
	+ "location=0,"
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=0,"
	+ "status=0,"
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + ","
	+ "screeny=" + yposition + ","
	+ "left=215,"
	+ "top=50";
	window.open( pageToLoad,winName,args );
}

function openAdmin( pageToLoad, winName, width, height, center) 
{
	xposition=0; yposition=0;
	if ((parseInt(navigator.appVersion) >= 4 ) && (center))
	{
		xposition = (screen.width - width) / 2;
		yposition = (screen.height - height) / 2;
	}
	args = "width=" + width + "," 
	+ "height=" + height + "," 
	+ "channelmode=0,"
	+ "directories=0,"
	+ "fullscreen=0,"
	+ "location=0,"
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=0,"
	+ "status=0,"
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + ","
	+ "screeny=" + yposition + ","
	+ "left=100,"
	+ "top=50";
	window.open( pageToLoad,winName,args );
}


//-->
