function system_parm()
{	var gwidth= screen.availWidth;
	var gheight = screen.availHeight;
	var gns4 = (document.layers)? true:false
}

function max_win()
{	
	window.moveTo(0,0);
	if (document.all)
	{
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	}
	else if (document.layers||document.getElementById) {
			if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
				top.window.outerHeight = screen.availHeight;
				top.window.outerWidth = screen.availWidth;
			}
	}
}

function initial()
{

	ns4 = (document.layers)? true:false
	ie4 = (document.all)? true:false

	if (ns4) obj = document.d1;
	if (ie4) obj = d1.style;


	obj.left = parseInt((screen.width-800)/2 + 150);
	obj.top = parseInt((screen.height-600)/2 + 250);

	obj.xpos = parseInt(obj.left)
	obj.ypos = parseInt(obj.top)

}