document.write("	<meta http-equiv='Content-Type' content='text/html; charset=utf-8'> ");

for(a=1;a<=12;a++){
	eval('m'+a+'_on = new Image()');
	eval('m'+a+'_off = new Image()');
	eval('m'+a+'_on.src = "/static/new/common/menu/myworld/menu'+a+'_o.gif"');
	eval('m'+a+'_off.src = "/static/new/common/menu/myworld/menu'+a+'.gif"');
}

function change(num,tog){
	if(document.getElementById("subMenuBlock"+num) && eval('m'+num+'_off.src').indexOf("o.gif")<0){
		eval("document.m"+num+".src=m"+num+"_"+tog+".src.replace('o.gif','o2.gif')");
	} else {
		eval("document.m"+num+".src=m"+num+"_"+tog+".src");
	}
}

for(a=1;a<=35;a++){
	eval('s'+a+'_on = new Image()');
	eval('s'+a+'_off = new Image()');
	eval('s'+a+'_on.src = "/static/new/common/menu/myworld/sm'+a+'_o.gif"');
	eval('s'+a+'_off.src = "/static/new/common/menu/myworld/sm'+a+'.gif"');
}

function changes(num,tog){
	eval("document.s"+num+".src=s"+num+"_"+tog+".src");
}

function getCookie( name ){
	var nameOfCookie = name + "=";
	var x = 0;

	while ( x <= document.cookie.length ){
		var y = (x+nameOfCookie.length);

		if ( document.cookie.substring( x, y ) == nameOfCookie ) {
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ){
					endOfCookie = document.cookie.length;
			}

			return decodeURI(document.cookie.substring( y, endOfCookie ));
		}

		x = document.cookie.indexOf( " ", x ) + 1;

		if ( x == 0 ){
			break;
		}
	}

	return "";
}

var userBNetAccount = getCookie(cookieNmBNACC);
var withdrawalType = (userBNetAccount && userBNetAccount != "" ? 1 : 0);

document.write("	<div style='width:146; background:url(/static/new/common/template/temp_submenubg.jpg); margin:0 auto; padding:3 0 0 0'>");
document.write("		<a onfocus='this.blur();' href='/myworld/index.do' onMouseOver=change('2','on'); onmouseout=change('2','off')><img src='/static/new/common/menu/myworld/menu2.gif' width='132' name=m2></a><br>");
document.write("			<span id='subMenuBlock2' style='display:none;margin:0px;border:0px;width:132;'>");
document.write("			<div style='background:url(/static/new/common/menu/smmenubg.jpg) repeat-y;padding:3px 0 3px 11px'>");
document.write("			<a onfocus='this.blur();' href='/myworld/info/memConfirm.do' onMouseOver=changes('1','on'); onmouseout=changes('1','off')><img src='/static/new/common/menu/myworld/sm1.gif' width='110' name=s1></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/info/passInfo.do' onMouseOver=changes('2','on'); onmouseout=changes('2','off')><img src='/static/new/common/menu/myworld/sm2.gif' width='110' name=s2></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/info/characterInfo.do' onMouseOver=changes('3','on'); onmouseout=changes('3','off')><img src='/static/new/common/menu/myworld/sm3.gif' width='110' name=s3></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/favority/index.do' onMouseOver=changes('4','on'); onmouseout=changes('4','off')><img src='/static/new/common/menu/myworld/sm4.gif' width='110' name=s4></a><br>");
	if(withdrawalType == 1) {
document.write("			<a onfocus='this.blur();' href='/myworld/withdrawal/step1.do' onMouseOver=changes('5','on'); onmouseout=changes('5','off')><img src='/static/new/common/menu/myworld/sm5.gif' width='110' name=s5></a><br>");
	}else{
document.write("			<a onfocus='this.blur();' href='/myworld/withdrawal/step1.do' onMouseOver=changes('30','on'); onmouseout=changes('30','off')><img src='/static/new/common/menu/myworld/sm30.gif' width='110' name=s30></a><br>");
	}
document.write("			</div>");
document.write("			</span>");
document.write("		<a onfocus='this.blur();' href='/myworld/payment/index.do' onMouseOver=change('4','on'); onmouseout=change('4','off')><img src='/static/new/common/menu/myworld/menu4.gif' width='132' name=m4></a><br>");
document.write("		<a onfocus='this.blur();' href='/myworld/post/index.do' onMouseOver=change('7','on'); onmouseout=change('7','off')><img src='/static/new/common/menu/myworld/menu7.gif' width='132' name=m7></a><br>");

document.write("		<a onfocus='this.blur();' href='/myworld/security/main.html' onMouseOver=change('11','on'); onmouseout=change('11','off')><img src='/static/new/common/menu/myworld/menu11.gif' width='132' name=m11></a><br>");
document.write("			<span id='subMenuBlock11' style='display:none;margin:0px;border:0px;width:132;'>");
document.write("			<div style='background:url(/static/new/common/menu/smmenubg.jpg) repeat-y;padding:3px 0 3px 11px'>");
document.write("			<a onfocus='this.blur();' href='/myworld/security/matrix/index.do' onMouseOver=changes('24','on'); onmouseout=changes('24','off')><img src='/static/new/common/menu/myworld/sm24.gif' width='110' name=s24></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/security/totp/index.do' onMouseOver=changes('25','on'); onmouseout=changes('25','off')><img src='/static/new/common/menu/myworld/sm25.gif' width='110' name=s25></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/security/motp/index.do' onMouseOver=changes('27','on'); onmouseout=changes('27','off')><img src='/static/new/common/menu/myworld/sm27.gif' width='110' name=s27></a><br>");
document.write("			</div>");
document.write("		</span>");

document.write("		<a onfocus='this.blur();' href='/account/ingame/main.html' onMouseOver=change('8','on'); onmouseout=change('8','off')><img src='/static/new/common/menu/myworld/menu8.gif' width='132' name=m8></a><br>");
document.write("			<span id='subMenuBlock8' style='display:none;margin:0px;border:0px;width:132;'>");
document.write("			<div style='background:url(/static/new/common/menu/smmenubg.jpg) repeat-y;padding:3px 0 3px 11px'>");
document.write("			<a onfocus='this.blur();' href='/account/pct/character/transfer.do' onMouseOver=changes('17','on'); onmouseout=changes('17','off')><img src='/static/new/common/menu/myworld/sm17.gif' width='110' name=s17></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/pcnc/change.do' onMouseOver=changes('22','on'); onmouseout=changes('22','off')><img src='/static/new/common/menu/myworld/sm22.gif' width='110' name=s22></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/pcc/customization.do' onMouseOver=changes('28','on'); onmouseout=changes('28','off')><img src='/static/new/common/menu/myworld/sm28.gif' width='110' name=s28></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/pfc/factionchange.do' onMouseOver=changes('29','on'); onmouseout=changes('29','off')><img src='/static/new/common/menu/myworld/sm29.gif' width='110' name=s29></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/prc/racechange.do ' onMouseOver=changes('31','on'); onmouseout=changes('31','off')><img src='/static/new/common/menu/myworld/sm31.gif' width='110' name=s31></a><br>");
document.write("			</div>");
document.write("			</span>");

document.write("		<a onfocus='this.blur();' href='/myworld/friend2/index.do' onMouseOver=change('9','on'); onmouseout=change('9','off')><img src='/static/new/common/menu/myworld/menu9.gif' width='132' name=m9></a><br>");
document.write("			<span id='subMenuBlock12' style='display:none;margin:0px;border:0px;width:132;'>");
document.write("			<div id='subMenuBlock9' style='background:url(/static/new/common/menu/smmenubg.jpg) repeat-y;padding:3px 0 3px 11px'>");
document.write("			<a onfocus='this.blur();' href='/myworld/friend2/index.do' onMouseOver=changes('11','on'); onmouseout=changes('11','off')><img src='/static/new/common/menu/myworld/sm11.gif' width='110' name=s11></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/resurrection/index.do' onMouseOver=changes('20','on'); onmouseout=changes('20','off')><img src='/static/new/common/menu/myworld/sm20.gif' width='110' name=s20></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/tournament/index.do' onMouseOver=changes('23','on'); onmouseout=changes('23','off')><img src='/static/new/common/menu/myworld/sm23.gif' width='110' name=s23></a><br>");
document.write("			<a onfocus='this.blur();' href='/promotion/index.html' onMouseOver=changes('26','on'); onmouseout=changes('26','off')><img src='/static/new/common/menu/myworld/sm26.gif' width='110' name=s26></a><br>");
document.write("			<a onfocus='this.blur();' href='/account/wow-remote/intro.do' onMouseOver=changes('32','on'); onmouseout=changes('32','off')><img src='/static/new/common/menu/myworld/sm32.gif' width='110' name=s32></a><br>");
document.write("			</div>");
document.write("			</span>");

document.write("		<a onfocus='this.blur();' href='/myworld/parentalcontrol/index.do' onMouseOver=change('10','on'); onmouseout=change('10','off')><img src='/static/new/common/menu/myworld/menu10.gif' width='132' name=m10></a><br>");
document.write("			<span id='subMenuBlock10' style='display:none;margin:0px;border:0px;width:132;'>");
document.write("			<div style='background:url(/static/new/common/menu/smmenubg.jpg) repeat-y;padding:3px 0 3px 11px'>");
document.write("			<a onfocus='this.blur();' href='/myworld/parentalcontrol/index.do' onMouseOver=changes('14','on'); onmouseout=changes('14','off')><img src='/static/new/common/menu/myworld/sm14.gif' name=s14></a><br>");
document.write("			<a onfocus='this.blur();' href='/myworld/minority/agree.do' onMouseOver=changes('15','on'); onmouseout=changes('15','off')><img src='/static/new/common/menu/myworld/sm15.gif' name=s15></a><br>");
document.write("			</div>");
document.write("			<img src='/static/new/common/menu/smmenu_bottom.gif' width='132'><br>");
document.write("			</span>");
document.write("	</div>");

document.write("	<img src='/static/new/common/template/temp_menu_b.gif' width='160'><br>");

