// 烽火战国官网主js
document.writeln("<script language=\"JavaScript\" src=\"http://ossweb-img.qq.com/images/js/gg_js_new/zg_gg.js\"><\/script>")

function menuFix() {
 var sfEls = document.getElementById("nav").getElementsByTagName("li");
 for (var i=0; i<sfEls.length; i++) {
  sfEls[i].onmouseover=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseDown=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseUp=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onmouseout=function() {
  this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),"");
  }
 }
}
function top_menu(){
var top_menu= '<ul class="menu" id="nav">';
    top_menu+= '<li class="m1"><a href="/index.shtml" title="首页">首页</a></li>';
    top_menu+= '		 <li class="m2"><a href="http://zg.qq.com/webplat/info/92/347/list_1.shtml" title="烽火新闻">烽火新闻</a>';
    top_menu+= '				<ul>';
    top_menu+= '				 <div class="menu_on">';
    top_menu+= '					<li><a href="http://zg.qq.com/webplat/info/92/347/753/list_1.shtml">新闻</a></li>';
    top_menu+= '					<li><a href="http://zg.qq.com/webplat/info/92/347/754/list_1.shtml">公告</a></li>';
    top_menu+= '					<li><a href="http://zg.qq.com/webplat/info/92/347/755/list_1.shtml">活动</a></li>';
    top_menu+= '				  </div>';
    top_menu+= '				</ul>		';
    top_menu+= '		  </li>';
    top_menu+= '	     <li class="m3"><a href="/web200905/info/info1_1.htm" title="游戏资料">游戏资料</a>';
    top_menu+= '		   <ul>';
    top_menu+= '		      <div class="menu_on">';
    top_menu+= '			    <li><a href="/web200905/info/info1_2.htm">游戏背景</a></li>';
    top_menu+= '				<li><a href="/web200905/info/info1_1.htm">系统介绍</a></li>';
    top_menu+= '				<li><a href="/web200905/pic.htm">游戏图片</a></li>';
    top_menu+= '			  </div>';
    top_menu+= '			</ul>';
    top_menu+= '		 </li>';
    top_menu+= '		 <li  class="m4"><a href="/web200905/info/info1_3.htm" title="游戏特色">游戏特色</a></li>';
    top_menu+= '		 <li class="m5"><a href="/web200905/info/info2_1.htm" title="新手上路">新手上路</a>';
    top_menu+= '		   <ul>';
    top_menu+= '		     <div class="menu_on">';
    top_menu+= '			    <li><a href="/web200905/info/info2_1.htm">新手教程</a></li>';
    top_menu+= '				<li><a href="/web200905/info/info2_2.htm">游戏界面</a></li>';
    top_menu+= '				<li><a href="/web200905/info/info3_1.htm">快速发展</a></li>';
    top_menu+= '			 </div>';
    top_menu+= '			</ul>';
    top_menu+= '		</li>';
    top_menu+= '		 <li class="m6"><a href="http://zg.gamebbs.qq.com/" target="_blank" title="论坛BBS">论坛BBS</a>	</li>	 ';
    top_menu+= '		 <li class="m7"><a href="http://service.qq.com/index.html" target="_blank" title="腾讯客服">腾讯客服</a>';
    top_menu+= '		   <ul>';
    top_menu+= '		     <div class="menu_on">';
    top_menu+= '			    <li><a href="http://service.qq.com/index.html" target="_blank">客户服务</a></li>';
//    top_menu+= '				<li><a href="/service/rules.htm">玩家条例</a></li>';
    top_menu+= '				<li><a href="/service/license.htm">用户协议</a></li>';
    top_menu+= '			 </div>';
    top_menu+= '			</ul>';
    top_menu+= '		</li>';	
    top_menu+= '	   </ul>'	
document.writeln(top_menu);	
menuFix();	
}

function right_top(){
var right_top='	      <h1><a href="http://game.zg.qq.com/" title="开始游戏">开始游戏</a></h1>';
    right_top+='		 <div class="main_btn">';
    right_top+='	       <a href="http://freeqqm.qq.com/" target="_blank" title="注册帐号">注册帐号</a>';
//    right_top+='	       <a href="http://aq.qq.com/cn/findpsw/findpsw_index" target="_blank" title="激活帐号">找回密码</a>';
    right_top+='	       <a href="/act/a20091020gc/" target="_blank"  title="精彩活动">精彩活动</a>';	
    right_top+='		   <a href="http://zg.qq.com/comm-htdocs/pay/?t=zg" target="_blank" title="快速充值">快速充值</a>';
    right_top+='	     </div>';	
document.writeln(right_top);		
}

function left_nav(){
var left_nav='	<div class="nav">';
    left_nav+='		   <a href="http://zg.qq.com/webplat/info/92/347/755/list_1.shtml" title="推荐活动">推荐活动</a>';
//    left_nav+='		   <a href="#" title="热点问题">热点问题</a>';
    left_nav+='		   <a href="http://gamesafe.qq.com/" target="_blank" title="热推道具">热推道具</a>';
    left_nav+='		   <a href="/web200905/newer.htm" target="_blank" title="新手动画" style="margin-top:10px;">新手动画</a>';
    left_nav+='		   <a href="/web200905/info/info3_1.htm" title="成长手册">成长手册</a>';
    left_nav+='		   <a href="http://fcm.qq.com" target="_blank" title="防沉迷填写">防沉迷填写</a>';
    left_nav+='		   <a href="http://service.qq.com/" target="_blank" title="客服中心" style=\"margin-top:8px;">客服中心</a>';
    left_nav+='        </div>';	
document.writeln(left_nav);	
}

function mode_left_gg(){	
var mode_left_gg='<div class="left_mode_gg">';
    mode_left_gg+=	'	    <a id="herf742" target="_blank"><img name="img742" id="img742" /></a>';
	mode_left_gg+=	'		  <\/div>';
    document.writeln(mode_left_gg);
QqGg_ShowTypeNew(21,742,'herf742','img742');	
}

function zg_foot(){
var zg_foot= '<div id="foot">';
     zg_foot+= ' <div id="footer">';
     zg_foot+= '			<div class="img1"><a href="http://game.qq.com" target="_blank"><img src="http://ossweb-img2.qq.com/images/webgame/web200902/logo.gif" title="腾讯游戏"></a> </div>';
     zg_foot+= '			<div class="info_foot">';
     zg_foot+= '				<p><a href="http://www.tencent.com/" target="_blank">关于腾讯</a> <a href="http://www.tencent.com/index_e.shtml" target="_blank">About Tencent</a> <a href="http://www.qq.com/contract.shtml" target="_blank">服务条款</a> <a href="http://www.tencent.com/adver/" target="_blank">广告服务</a> <a href="http://hr.tencent.com/" target="_blank">腾讯招聘</a> <a href="http://service.qq.com/" target="_blank">客服中心</a> <a href="http://game.qq.com/new05/act/hezuo.shtml" target="_blank">商务合作</a> <a href="http://www.qq.com/map/" target="_blank">网站导航</a></p>';
     zg_foot+= '				<p>Copyright &copy; 1998-2009 Tencent. All Rights Reserved</p>';
     zg_foot+= '				<p class="c"><a href="http://www.tencent.com/law/mo_law.shtml?/law/copyright.htm" target="_blank">腾讯公司 版权所有</a></p>';
     zg_foot+= '			</div>			';
     zg_foot+= '</div> </div>';
document.writeln(zg_foot);
document.writeln("<script language=\"javascript\" src=\"http:\/\/pingjs.qq.com\/ping.js\"><\/script>");
document.writeln("<script language=\"javascript\" defer=\"defer\">");
document.writeln("if(typeof(pgvMain) == \'function\')");
document.writeln("pgvMain();");
document.writeln("<\/script>")
}

function tabDiv(obj,num,len,cn,ifrid,src)
{
 var cssname=cn;
 for(var id =1;id<=len;id++)
 {
  var snav =obj+id;
  if(id==num){
  try{document.getElementById(snav).className=cssname}catch(e){};
  }
  else{
  try{document.getElementById(snav).className=""}catch(e){};
  }
 }
  document.getElementById(ifrid).src=src;
 } /*  |xGv00|f0103fa243c75dd9ea32ee5c135db8df */