var pos='';
if(typeof(flag)!='undefined')
{
	pos ='../';
}

function over(id)
{
	$('.subglobalNav').css('display','none');
	var name ='#'+id;
	$(name).css('display','block');
}

function out(id)
{
	var name ='#'+id;
	var aa=id;
	var theEvent = window.event || arguments.callee.caller.arguments[0];
    var srcEle = theEvent.srcElement;

    if (!srcEle) {

       srcEle = theEvent.target;

    }
	if(srcEle.id==aa)
	{
		$(name).css('display','none');
	}	
	
}


document.write('<div id="headermenu" >');
document.write('<a style="position:absolute;top:0;" name="top">&nbsp;</a>');
document.write('<div id="globalLink">');
document.write('<a href="'+pos+'index.html">官网首页</a>');
document.write('<a href="javascript:void(0);" id="gl1" class="glink" onmouseover="over(\'menuitem1\');" onmouseout="out(\'menuitem1\');">账号管理</a>');
document.write('<a href="javascript:void(0);" id="gl2" class="glink" onmouseover="over(\'menuitem2\');" onmouseout="out(\'menuitem2\');">新闻活动</a>');
document.write('<a href="javascript:void(0);" id="gl3" class="glink" onmouseover="over(\'menuitem3\');" onmouseout="out(\'menuitem3\');">新手指南</a>');
document.write('<a href="javascript:void(0);" id="gl4" class="glink" onmouseover="over(\'menuitem4\');" onmouseout="out(\'menuitem4\');">资料攻略</a>');
document.write('<a href="javascript:void(0);" id="gl5" class="glink" onmouseover="over(\'menuitem5\');" onmouseout="out(\'menuitem5\');">商城系统</a>');
document.write('<a href="javascript:void(0);" id="gl6" class="glink" onmouseover="over(\'menuitem6\');" onmouseout="out(\'menuitem6\');">充值系统</a>');
document.write('<a href="javascript:void(0);" id="gl7" class="glink" onmouseover="over(\'menuitem7\');" onmouseout="out(\'menuitem7\');">玩家互动</a>');
document.write('<a href="javascript:void(0);" id="gl8" class="glink" onmouseover="over(\'menuitem8\');" onmouseout="out(\'menuitem8\');">客服中心</a>');
document.write('</div>');
document.write('<div id="menuitem1" class="subglobalNav" onmouseover="over(\'menuitem1\');" onmouseout="out(\'menuitem1\');">');
document.write('<a href="'+pos+'reg.html">注册账号</a> | <a href="'+pos+'server.html" target="_blank">游戏登陆</a> | <a href="http://passport.weelaa.com/?m=login&needLogin">修改密码</a> | <a href="http://passport.weelaa.com/?m=login&a=forget_password">找回密码</a>');
document.write('</div>');
document.write('<div id="menuitem2" class="subglobalNav" onmouseover="over(\'menuitem2\');" onmouseout="out(\'menuitem2\');">');
document.write('<a href="'+pos+'data/viewlist.html?type=1">新闻报道</a> | <a href="'+pos+'data/viewlist.html?type=3">官方公告</a> | <a href="'+pos+'data/viewlist.html?type=2">活动中心</a> | <a href="zttj.html">专题推荐</a>');
document.write('</div>');
document.write('<div id="menuitem3" class="subglobalNav" onmouseover="over(\'menuitem3\');" onmouseout="out(\'menuitem3\');">');
document.write('<a href="'+pos+'xszn.html?id=1245214233">注册激活</a> | <a href="'+pos+'xszn.html?id=1245214299">创建角色</a> | <a href="'+pos+'xszn.html?id=1245214329">游戏操作</a> | <a href="'+pos+'xszn.html?id=1245214361">新手养成</a> | <a href="'+pos+'xszn.html?id=1245828978">新手进阶</a>');
document.write('</div>');
document.write('<div id="menuitem4" class="subglobalNav" onmouseover="over(\'menuitem4\');" onmouseout="out(\'menuitem4\');">');
document.write('<a href="'+pos+'zlgl.html?id=1245736551">游戏特色</a> | <a href="'+pos+'zlgl.html?id=1245214416">故事背景</a> | <a href="'+pos+'zlgl.html?id=1245225612">特殊技能</a> | <a href="'+pos+'zlgl.html?id=1245225721">装备道具</a> | <a href="'+pos+'zlgl.html?id=1245841998">特色系统</a>');
document.write('</div>');
document.write('<div id="menuitem5" class="subglobalNav" onmouseover="over(\'menuitem5\');" onmouseout="out(\'menuitem5\');">');
document.write('<a href="'+pos+'scxt.html?id=1245852354">恢复类</a> | <a href="'+pos+'scxt.html?id=1245854934">套餐类</a> | <a href="'+pos+'scxt.html?id=1245214521">强化类</a> | <a href="'+pos+'scxt.html?id=1245214548">特殊类</a> | <a href="'+pos+'scxt.html?id=1245214573">附加道具</a>');
document.write('</div>');
document.write('<div id="menuitem6" class="subglobalNav" onmouseover="over(\'menuitem6\');" onmouseout="out(\'menuitem6\');">');
document.write('<a href="'+pos+'wycz.html">我要充值</a> | <a href="http://pay.weelaa.com" target="_blank">薇拉转账</a> | <a href="'+pos+'server.html">游戏直冲</a> | <a href="'+pos+'czxt.html?id=1245214787">常见问题</a> | <a href="'+pos+'ywlx.html">业务联系</a>');
document.write('</div>');
document.write('<div id="menuitem7" class="subglobalNav" onmouseover="over(\'menuitem7\');" onmouseout="out(\'menuitem7\');">');
document.write('<a href="'+pos+'wjhd.html?id=31">玩家照片</a> | <a href="'+pos+'jcjt.html?id=33">精彩截图</a> | <a href="http://djbbs.weelaa.com" target="_blank">玩家论坛</a> | <a href="http://forum.weelaa.com/forumdisplay.php?fid=137&filter=type&typeid=73"  target="_blank">攻略经验</a>');
document.write('</div>');
document.write('<div id="menuitem8" class="subglobalNav" onmouseover="over(\'menuitem8\');" onmouseout="out(\'menuitem8\');">');
document.write('<a href="'+pos+'lxwm.html">联系我们</a> | <a href="'+pos+'kfzx.html?id=1245214635">安全贴士</a> | <a href="'+pos+'kfzx.html?id=1245214607">常见问题</a> | <a href="'+pos+'kfzx.html?id=1245214715">用户条例</a>');
document.write('</div>');
document.write('<a href="'+pos+'index.html" class="GoBackIndex"> </a>');
document.write('</div>');