function check_login()
{
	$url = "include/login.php";
	$.post($url,{account:$("#account").val(),password:$("#password").val(),server:$("#server").val()},
			  function(data){
							if(data == 0)
							{
								$("#err_login").show();
							}
							else
							{
								$("#myform").submit();
							}
					   }			  
			);
	return false;
}
document.write('<div id="sidber">');
document.write('<div class="logo"> </div>');
document.write('<h3>快速入口</h3>');
document.write('<div class="entry">');
document.write('<form method="post" action="include/login_jump.php" id="myform">');
document.write('<ul class="comein">');
document.write('<li><label>服务器：</label><select name="server" id="server">');
document.write('<option value="0">请选择</option>');
document.write('<option value="cn6">s6</option>');
document.write('<option value="cn12">s12</option>');
document.write('<option value="cn13">s13</option>');
document.write('<option value="cn11">s11</option>');
document.write('<option value="cn10">s10</option>');
document.write('<option value="cn5">s5</option>');
document.write('<option value="cn4">s4</option>');
document.write('<option value="cn1">s1</option>');
document.write('<option value="cn2">s2</option>');
document.write('<option value="cn3">s3</option>');
document.write('<option value="cn9">s9</option>');
document.write('<option value="cn8">s8</option>');
document.write('<option value="cn7">s7</option>');
document.write('<option value="cnx">3x</option>');
document.write('<option value="cny">speed2</option>');
document.write('</select></li>');
document.write('<li><label>用户名：</label><input type="" name="account" id="account" /></li>');
document.write('<li><label>密　码：</label><input type="password" name="password" id="password" /></li>');
document.write('<li style="display:none;" id="err_login"><font color="red">用户名或密码不正确</font></li>');
document.write('<li><input type="submit" value="登录" id="" class="Login" onclick="return check_login();" /><input type="" value="注册" id="" class="Reg" onclick="location.href='+"'"+"reg.html'"+';" /></li>');
document.write('</ul>');
document.write('</form>');
document.write('</div>');
document.write('<h3>新手指导</h3>');
document.write('<div class="entry">');
document.write('<a href="xszd.html">账号注册</a>');
document.write('<a href="yxzl_bjjs.html">故事背景</a>');
document.write('<a href="yxzl_zzjs.html">种族介绍</a>');
document.write('<a href="yxzl_bzjs.html">兵种介绍</a>');
document.write('<a href="yxzl_jzjs.html">建筑介绍</a>');
document.write('</div>');
document.write('<h3>特色系统</h3>');
document.write('<div class="entry">');
document.write('<a target="blank" href="yxzl_tsxt.html#奇迹系统">奇迹系统</a>');
document.write('<a target="blank" href="yxzl_tsxt.html#英雄">英雄系统</a>');
document.write('<a target="blank" href="yxzl_tsxt.html#排名系统">排名系统</a>');
document.write('<a target="blank" href="yxzl_tsxt.html#联盟">联盟系统</a>');
document.write('<a target="blank" href="yxzl_tsxt.html#新手保护">新手保护</a>');
document.write('</div>');
document.write('<h3>下载站</h3>');
document.write('<div class="entry">');
document.write('<div class="down_a">');
document.write('<a href="xzzx_pfgj.html">皮肤及工具</a>');
document.write('<a href="xzzx_bz.html">壁纸</a>');
document.write('</div>');
document.write('</div>');
document.write('<div class="entry">');
document.write('<div><a href="http://forum.weelaa.com/viewthread.php?tid=657671&extra=page%3D1"><img src="images/leftBanner.gif" border="0"></a>');
document.write('</div>');
document.write('</div>');
document.write('<h3>友情链接</h3>');
document.write('<div class="entry" id="link">');
document.write('<div id="link1" align="center">');
document.write('<a href="http://web.17173.com/" target="_blank" title="17173"><img src="images/17173.gif" alt=""></a>');
document.write('<br /><a href="http://www.wangye173.com" target="_blank" title="173中文网页游戏门户"><img src="http://www.wangye173.com/images/logo_link.gif"  alt="中文网页游戏门户-"></a>');
document.write('<br /><a href="http://www.ui265.com" target="_blank" title="游爱网"><img src="images/ya.gif"  alt="游爱网"></a>');
document.write('<br /><a href="http://www.yyplay.com" title="游游网" target="_blank"><img src="http://www.yyplay.com/images/88X31.gif"  alt="游游网"></a>');
document.write('<br /><a href="http://www.webyxw.cn" target="_blank" title="webyxw"><img src="http://www.webyxw.cn/logogif.gif"  alt="webyxw"></a>');
//document.write('<br /><a href="http://www.7webgame.com" title="七游网" target="_blank"><img src="images/"></a>');
document.write('<br /><a href="http://www.yezizhu.com" title="叶子猪" target="_blank"><img src="images/yzz.jpg" alt="叶子猪"></a>');
document.write('<br /><a href="http://www.265g.com/" target="_blank" title="265g"><img src="http://265g.com/images/logo.gif"  alt="265g"></a>');
document.write('<br /><a href="http://www.86wan.com" title="白领玩" target="_blank"><img src="http://www.86wan.com/logo.gif" alt="白领玩"></a>');
document.write('<br /><a href="http://web.duowan.com/" target="_blank" title="多玩"><img src="http://pic.duowan.com/webgame/0806/76676167541/76676251400.gif" alt="多玩"></a>');
document.write('<br /><a href="http://game.jschina.com.cn" target="_blank" title="江苏网"><img src="images/js.gif" alt="江苏网"></a>');
document.write('<br /><a href="http://web.52pk.com/" title="52pk" target="_blank"><img src="http://web.52pk.com/logo.gif" alt="52pk"></a>');
document.write('<br /><a href="http://webgame.5617.com/" title="5617" target="_blank"><img src="images/5617.gif" alt="5617"></a>');
document.write('<br /><a href="http://game.china.com/webgame/" target="_blank" title="中华网"><img src="images/china.jpg" alt="中华网"></a>');
document.write('<br /><a href="http://008yx.com" title="西北游戏" target="_blank"><img src="images/008yx.gif" alt="西北游戏"></a>');
document.write('<br /><a href="http://www.tkgame.com/" title="天空" target="_blank"><img src="http://www.tkgame.com/news/main/img/logo.gif" alt="天空"></a>');
document.write('<br /><a href="http://www.ol.tgbus.com" title="电玩巴士" target="_blank"><img src="images/tgbus.jpg" alt="电玩巴士"></a>');
document.write('<br /><a href="http://www.51ka.com" title="51ka" target="_blank"><img src="images/51ka.gif" alt="51ka"></a>');
document.write('<br /><a href="http://www.ipark.cn" title="IS" target="_blank"><img src="http://www.ipark.cn/logo.gif" alt="IS"></a>');
document.write('<br /><a href="http://www.92wy.com/" title="万宇" target="_blank"><img src="images/wy.gif" alt="万宇"></a>');
document.write('<br /><a href="http://www.52nz.com/" title="52NZ" target="_blank"><img src="http://bbs.52nz.com/logo/logo.gif" alt="52NZ"></a>');
document.write('<br /><a href="http://web.766.com/" title="766" target="_blank"><img src="images/766.gif" alt="766"></a>');
document.write('<br /><a href="http://www.980x.com" title="980x" target="_blank"><img src="images/980x.gif" alt="980x"></a>');
document.write('<br /><a href="http://www.66net.net" title="66net" target="_blank"><img src="images/66net.jpg" alt="66net"></a>');
document.write('<br /><a href="http://www.game.kuaiche.com" title="快车游戏" target="_blank"><img src="images/kc.jpg" alt="快车游戏"></a>');
document.write('<br /><a href="http://games.thethirdmedia.com/" title="第三媒体" target="_blank"><img src="images/thethirdmedia.jpg" alt="第三媒体"></a>');
document.write('<br /><a href="http://www.15game.com.cn/" title="易玩" target="_blank"><img src="images/15game.jpg" alt="易玩"></a>');
document.write('<br /><a href="http://www.popwan.com/" title="泡泡玩" target="_blank"><img src="images/popwan.gif" alt="泡泡玩"></a>');
document.write('<br /><a href="http://www.wanbaa.com" title="玩吧" target="_blank"><img src="images/wanba.gif" alt="玩吧"></a>');
document.write('<br /><a href="http://webgame.800n.cn/" title="中国部落" target="_blank"><img src="images/zgbl.gif" alt="中国部落"></a>');
document.write('<br /><a href="http://www.pcgames.com.cn/webgames/" title="太平洋" target="_blank"><img src="images/pcgames.jpg" alt="太平洋"></a>');
document.write('<br /><a href="http://www.966.com/" title="966" target="_blank"><img src="images/966.gif" alt="966"></a>');
document.write('<br /><a href="http://www.maituan.com" title="麦团" target="_blank"><img src="images/maituan.gif" alt="麦团"></a>');
document.write('<br /><a href="http://www.wo173.com/" title="wo173" target="_blank"><img src="http://bbs.wo173.com/wo173.gif" alt="wo173"></a>');
document.write('<br /><a href="http://www.keledo.com/" title="可乐多" target="_blank"><img src="http://wgame.keledo.com/uploads/090104/090104/_115013444.gif" alt="可乐多"></a>');
document.write('<br /><a href="http://www.topyoo.net" title="topyoo" target="_blank"><img src="images/topyoo.gif" alt="topyoo"></a>');
document.write('<br /><a href="http://www.mtr5.cn" title="玥鹰网游在线" target="_blank"><img src="http://www.mtr5.cn/games/images/mtr5logo-88x31.gif" alt="玥鹰网游在线"></a>');
document.write('<br /><a href="http://www.1818z.com" title="一把抓" target="_blank"><img src="http://www.1818z.com/newsimg/adv/1818zlogo8831.gif" alt="一把抓"></a>');
document.write('<br /><a href="http://www.no1you.com" title="no1" target="_blank"><img src="images/no1.jpg" alt="no1"></a>');
document.write('<br /><a href="http://www.sansedao.com" target="_blank" title="三色岛"><img src="http://admin.sansedao.com/upload/homepage/1225359429.gif" alt="三色岛"></a>');
document.write('<br /><a href="http://www.forwebgame.com" title="FWG网" target="_blank"><img src="http://www.forwebgame.com/images/logo.gif" alt="FWG网"></a>');
document.write('<br /><a href="http://www.i397.com" title="爱上游戏" target="_blank"><img src="images/i397.gif" alt="爱上游戏"></a>');
document.write('<br /><a href="http://www.cwebgame.com/" title="CW" target="_blank"><img src="http://www.cwebgame.com/temp/logo/cwlogo8831.gif" alt="CW"></a>');
document.write('</div>');


/*document.write('<div id="link2" align="center">');
document.write('</div>');
document.write('</div>');
document.write('<h3>商务合作板块</h3>');
document.write('<div class="entry khfw">');
document.write('<ul>');
document.write('<li>商务合作部联系人：李先生</li>');
document.write('<li>联系方式：TEL：021-50807192</li>');
document.write('<li>FAX：021-50800794</li>');
document.write('<li>Mail：liwei.li@weilai-tech.com');
document.write('</ul>');
document.write('</div>');*/

document.write('<div id="link2" align="center">');
document.write('</div>');
document.write('</div>');

document.write('<h3>商务合作</h3>');
document.write('<div class="entry khfw" style="font-size:12px">');
document.write('<ul>');
document.write('<li>商务合作部联系人：李先生</li>');
document.write('<li>联系方式：</li>');
document.write('<li>TEL：021-50807192</li>');
document.write('<li>FAX：021-50800794</li>');
document.write('<li>Mail：liwei.li@weilai-tech.com</li>');
document.write('</ul>');
document.write('</div>');

document.write('<h3>客户服务</h3>');
document.write('<div class="entry khfw">');
document.write('<ul>');
document.write('<li>客服热线：<a>021-50792512</a></li>');
document.write('<li>客服邮箱：<address>trcs@weilai-tech.com</address></li>');
document.write('</ul>');
document.write('</div>');
document.write('</div>');
var speed = 20; //数字越大，速度越慢
var ZJJDemo = document.getElementById('link');
var ZJJDemo1 = document.getElementById('link1');
var ZJJDemo2 = document.getElementById('link2');
ZJJDemo2.innerHTML = ZJJDemo1.innerHTML
function Marquee1(){
if(ZJJDemo2.offsetHeight-ZJJDemo.scrollTop<=0)
ZJJDemo.scrollTop-=ZJJDemo1.offsetHeight
else{
ZJJDemo.scrollTop++
}
}
var MyMar1 = setInterval(Marquee1,speed)
ZJJDemo.onmouseover = function() {clearInterval(MyMar1)}
ZJJDemo.onmouseout = function() {MyMar1=setInterval(Marquee1,speed)}