﻿function OMOver(OMO){OMO.style.backgroundColor='#999999';}
function OMOut(OMO){OMO.style.backgroundColor='#ff9b06';}
document.write("<SCR" +	"IPT LANGUAGE='JavaScript1.2' SRC='/include/b2c/chinese/ch_menu/0,1140,,00.html' TYPE='text/javascript'><\/SCR" + "IPT>");
document.write("<SCR" +	"IPT LANGUAGE='JavaScript1.2' SRC='/include/b2c/chinese/homepage/ch_homepage_menu_js/0,1145,,00.html' TYPE='text/javascript'><\/SCR" + "IPT>");
function winopen(strurl)	{
						xx=event.clientX;
						yy=event.clientY-100;
						strinfo="location=no,menubar=no,status=no,titlebar=no,height=160,width=158,left="+xx+",top="+yy;
						window.open(strurl, 'cl1', strinfo);
						}
function openwin() {window.open("/html/b2c/Chinese/Rights.html","win2","toolbar=no,menubar=no,scrollbars=yes,width=600,height=402,resizable=no");}
function openwin2(){window.open("/html/b2c/Chinese/Privacy.html","win3","toolbar=no,menubar=no,scrollbars=yes,width=600,height=402,resizable=no");}
function openwin4(){window.open("/html/b2c/Chinese/planitgo_note.html","win4","toolbar=no,menubar=no,scrollbars=yes,width=600,height=402,resizable=no");}
function openwin5(){window.open("http://www.evasion.aero","win5","toolbar=1,location=1,status=1,menubar=1,scrollbars=1,resizable=1,width=800,height=600");}
function openwin6(){window.open("http://mall.evaair.com?WT.mc_id=100047&WT.mc_t=Banner","win6","toolbar=1,location=1,status=1,menubar=1,scrollbars=1,resizable=1,width=800,height=600");}
function openwin22(){window.open("http://eservice.evaair.com/preorder/Default.aspx?len=zh_TW&amp;WT.mc_id=409149&amp;WT.mc_t=Banner","win8","toolbar=1,location=1,status=1,menubar=1,scrollbars=1,resizable=1,width=800,height=600");}
function openwin7(){window.open("/html/b2c/Chinese/Customer_online_security.html","win7","toolbar=no,menubar=no,scrollbars=yes,width=600,height=402,resizable=no");}
function openwin20(){window.open("/html/b2c/Chinese/Conditions.html","win20","toolbar=no,menubar=no,scrollbars=yes,width=600,height=402,resizable=no");}
function chgimg1(){
	if (document.images) document.schedule.src = '/image/global/chinese/homepage/schedule_on.jpg'
	if (document.images) document.arrival.src =	'/image/global/chinese/homepage/arrival_off.jpg'
	if (document.images) document.message.src =	'/image/global/chinese/homepage/message_off.jpg'
}
function chgimg2(){
	if (document.images) document.schedule.src = '/image/global/chinese/homepage/schedule_off.jpg'
	if (document.images) document.arrival.src =	'/image/global/chinese/homepage/arrival_on.jpg'
	if (document.images) document.message.src =	'/image/global/chinese/homepage/message_off.jpg'
}
function chgimg3(){
	if (document.images) document.schedule.src = '/image/global/chinese/homepage/schedule_off.jpg'
	if (document.images) document.arrival.src =	'/image/global/chinese/homepage/arrival_off.jpg'
	if (document.images) document.message.src =	'/image/global/chinese/homepage/message_on.jpg'
}
function MM_reloadPage(init) {	//reloads the window if	Nav4 resized
	if (init==true) with (navigator) {
		if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;}
	}
	else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) {	//v4.0
	var p,i,x;  
	if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document;	n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
	var i,p,v,obj,args=MM_showHideLayers.arguments;
	for (i=0;	i<(args.length-2); i+=3) if	((obj=MM_findObj(args[i]))!=null) {	v=args[i+2];
		if (obj.style) { obj=obj.style;	v=(v=='show')?'visible':(v='hide')?'hidden':v; }
		obj.visibility=v; }
}