<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


//window.onload=MM_preloadImages('../images/comlist03-3.gif','../images/prolist01-2.gif','../images/prolist02-2.gif','../images/prolist03-2.gif');


function changesize(){
	document.getElementById('ghostmenu').style.left=Math.ceil(((document.documentElement.clientWidth-905)/2)+905)+"px"; 
	//document.ghostmenu.style.left = Math.ceil(((document.body.clientWidth-814)/2)) 
	//alert("xx");
}
window.onload=changesize;
window.onresize=changesize;

function CheckUIElements() {
	var plustop;
	plustop = 320;
	if(document.documentElement.clientHeight < 300)
		plustop = 0;
	var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
	var wndWidth = parseInt(document.documentElement.clientWidth);
	yMenu1From   = parseInt(document.getElementById('ghostmenu').style.top, 10);
	yMenu1To     = parseInt(document.documentElement.scrollTop) + plustop; // 嬪薹 嬪纂
	timeoutNextCheck = 500;

	if ( yMenu1From != yMenu1To ) 
	{
		yOffset = Math.ceil( Math.abs( yMenu1To - yMenu1From ) / 20 );
		if ( yMenu1To < yMenu1From )
			yOffset = -yOffset;
		mnum= yMenu1From+ yOffset;
			document.getElementById('ghostmenu').style.top =mnum+"px";
		timeoutNextCheck = 10;
	}
	//ghostmenu.style.left = 500;
	setTimeout ("CheckUIElements()", timeoutNextCheck);
}

function MovePosition() {
	document.getElementById('ghostmenu').style.top = "186px";
	//ghostmenu.style.left = 500; 
	CheckUIElements();
	return true;
}

//-->

//-->
