﻿function check_img_show()
{
	if(document.getElementById('check_img').src.indexOf('ValidateNumber')==-1)
	{
			showimg1()	
			document.getElementById('checkcode').value='';
			document.getElementById('check_img').style.display="";		
	}
}
document.writeln("<div id=\"mask\" class=\"mask alpha\" style=\"z-index:12;display:none;\"><\/div>");
document.writeln("<div class=\"lay\" id=\"dlg_message\" style=\"margin: 25px 0pt 0pt 50px; visibility: visible; z-index: 13;display:none;width:577px;height:362px; position: absolute;\">");
document.writeln("<div class=\"kuang\" style=\"z-index:14\">");
document.writeln("	<div class=\"t\"><\/div>");
document.writeln("	<div class=\"m\">");
document.writeln("<div class=\"con2\">");
document.writeln("<div class=\"t2\">");
document.writeln("  <div class=\"colse\"><a  title=\"关闭\" href=\"javascript:close_layer();\"><img src=\"\/image\/close.gif\" \/><\/a><\/div>");
document.writeln("<\/div>");
document.writeln("<div class=\"m\">");
document.writeln("<div class=\"server_list four\"><ul id=\"server_list_ul\">");
document.writeln("<\/ul><\/div>");
document.writeln("<div class=\"server_b\"><img src=\"\/image\/img_3.gif\" \/>&nbsp;&nbsp;新开服务器 <img src=\"\/image\/img_4.gif\" \/> &nbsp;&nbsp;服务器维护&nbsp;&nbsp;<img src=\"\/image\/img_5.gif\" \/> &nbsp;&nbsp; <a href='http://pass.dipan.com/m.aspx?cn=Login_Long&sid=1' target='_blank'>服务器开启</a><\/div>");
document.writeln("<\/div>");
document.writeln("<div class=\"b\"><\/div>");
document.writeln("<\/div>");
document.writeln("	<\/div>");
document.writeln("	<div class=\"b\"><\/div>");
document.writeln("  <\/div>");
document.writeln("<\/div>");



document.writeln("<div class=\"movie\" id=\"play_mv_layer\" style=\"z-index:12;display:none;\"> ");

document.writeln("<\/div>")
var ldi='<iframe src="http://pass.dipan.com/m.aspx?cn=UserLogon" id="login_fr" name="login_fr" style="display:none"></iframe><div class="leftIn_m" id="Login_Out" style="display:none"><div class="user"><div class="user_left"><ul><li><span>通行证:</span><font><input type="hidden" id="LoginType1" value="0" /><input type="text" id="UserName1"  tabindex="1" class="one_input" name="UserName1" value=""/></font></li><li><span>密&nbsp;&nbsp;&nbsp;&nbsp;码:</span><font><input type="password" id="Password1"  tabindex="2" name="Password1" class="one_input"  value="" style="width:100px;"/></font></li><li><span>验证码:</span><font><input id="checkcode" tabindex="3" value="点击获取" onfocus="check_img_show();" type="text" class="two_input" onkeypress="if(event.keyCode==13) login();"/></font><div class="label"><img src="" id="check_img" style="cursor:pointer;display:none;" onclick="this.src=\'http://pass.dipan.com/ValidateNumber.aspx?r=\'+Math.random();"  width="50" height="18" align="absmiddle"/></div></li></ul></div><div class="user_right"><a href="javascript:login();" tabindex="4"><img src="\/image/start_btn.gif" name="Image6" border="0" id="Image6" onmouseover="MM_swapImage(\'Image6\',\'\',\'/image/start_btna.gif\',1)" onmouseout="MM_swapImgRestore()" /></a></div></div><div class="register"><a href="http://pass.dipan.com/reg?t=7" target="_blank" ><img id="Image7" height="54" width="222" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'/image/index_09.jpg\',1)" src="/image/index_08.jpg"/></a></div></div>	<div class="leftIn_m" id="Login_In" style="display:none"><div class="user" style="display:;"><div class="user_ld">		<br/><span id="AA_In"></span><p><a href="javascript:show_serverlist();" onfocus="this.blur()"><img src="/image/img_1.gif" border="0" /></a> </p>	<a href="http://pass.dipan.com/m.aspx?cn=UserLogout" class="pass_n font1">注销登录</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://pass.dipan.com/m.aspx?cn=PassportInfo" target="_blank" class="pass_r font1">管理中心</a></div></div></div>';
document.getElementById('login_div').innerHTML=ldi;
showLoginStatus();
//window.setTimeout("showimg1()",1400);
document.writeln("<div class=\"foot\">");
document.writeln("		<span class=\"font1 two\"><a href=\"http://www.dipan.com/news/help/200909/20090909205643.html\" target=\"_blank\">关于天极峰<\/a> | <a href=\"http://www.dipan.com/news/help/200909/20090909212641.html\" target=\"_blank\">服务条款<\/a> | <a href=\"http://www.dipan.com/news/help/200909/20090909213422.html\" target=\"_blank\">联系我们<\/a> | <a href=\"http://www.dipan.com/news/help/200909/2009091012150.html\" target=\"_blank\">诚聘精英<\/a> | <a href=\"http://www.dipan.com/news/help/200909/2009091117847.html\" target=\"_blank\">客服中心<\/a> | <a href=\"http://www.dipan.com/news/help/200909/20090910114957.html\" target=\"_blank\">友情链接<\/a><\/span><br \/>");
document.writeln("<span class=\"font2\">");
document.writeln("抵抗不良游戏，拒绝盗版游戏。注意自我保护，谨防受骗上当。适度游戏益脑，沉迷游戏伤身。合理安排时间，享受健康生活。<\/span><br\/>");
document.writeln("		<div class=\"line font3\">杭州天极峰宽带有限公司版权所有   &nbsp;&nbsp;&nbsp;增值电信业务经营许可证编号：浙B2-20050226 &nbsp;&nbsp;&nbsp;网站备案：浙ICP备06008153号<br/>客户服务电话：0571-87755673 &nbsp;&nbsp;&nbsp;客服邮箱：Kefu@dipan.com &nbsp;&nbsp;&nbsp;网络文化经营许可证：文网文[2008]225号<br/>Copyright © 2006-2010 Tianjifeng Broadband Co.  All Rights Reserved<\/div>");
document.writeln("	<\/div>	")
if(document.location.href.indexOf("?reg")!=-1)
{
	show_serverlist();
}

//左边广告
var leftimgad='<ul><li><a href=\"http://web.17173.com/_lzby/\" target=\"_blank\"><img src=\"/image/ad_01.gif\" border=\"0\" /></a></li>';
leftimgad+='<li><a href=\"http://www.265g.com/webgame/lzby/\" target=\"_blank\"><img src=\"/image/ad_02.gif\" border=\"0\" /></a></li>';
leftimgad+='<li><a href=\"http://www.07073.com/webgame/celue/longzhibaye/\" target=\"_blank\"><img src=\"/image/10051301.jpg\" border=\"0\" /></a></li>';
leftimgad+='</ul>';
document.getElementById('left_img_ad').innerHTML=leftimgad;

//两边栏广告
lastScrollY=0;
function heartBeat(){ 
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
diffY = document.documentElement.scrollTop;
else if (document.body)
diffY = document.body.scrollTop
else
{/*Netscape stuff*/}
//alert(diffY);
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin12").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById
("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}
suspendcode12="<DIV id=\"lovexin12\" style='left:2px;POSITION:absolute;TOP:120px;'><a href='http://long.dipan.com/news/dt/201003/20100317105831.html' target='_blank' onfocus='this.blur();'><img src='/images/left10031701.jpg' border='0'/></a></div>"
suspendcode14="<DIV id=\"lovexin14\" style='right:2px;POSITION:absolute;TOP:120px;'><a href='http://web.17173.com/huodong/20100317/' target='_blank' onfocus='this.blur();'><img src='/images/right10031702.jpg' border='0'/></a></div>"
document.write(suspendcode12); 
document.write(suspendcode14); 
window.setInterval("heartBeat()",10);

//统计
function y_gVal(iz)
{var endstr=document.cookie.indexOf(";",iz);if(endstr==-1) endstr=document.cookie.length;return document.cookie.substring(iz,endstr);}
function y_g(name)
{var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;var j;while(i<clen) {j=i+alen;if(document.cookie.substring(i,j)==arg) return y_gVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0) break;}return null;}
function cc_k()
{var y_e=new Date();var y_t=93312000;var yesvisitor=1000*36000;var yesctime=y_e.getTime();y_e.setTime(y_e.getTime()+y_t);var yesiz=document.cookie.indexOf("cck_lasttime");if(yesiz==-1){document.cookie="cck_lasttime="+yesctime+"; expires=" + y_e.toGMTString() +  "; path=/";document.cookie="cck_count=0; expires=" + y_e.toGMTString() +  "; path=/";return 0;}else{var y_c1=y_g("cck_lasttime");var y_c2=y_g("cck_count");y_c1=parseInt(y_c1);y_c2=parseInt(y_c2);y_c3=yesctime-y_c1;if(y_c3>yesvisitor){y_c2=y_c2+1;document.cookie="cck_lasttime="+yesctime+"; expires="+y_e.toGMTString()+"; path=/";document.cookie="cck_count="+y_c2+"; expires="+y_e.toGMTString()+"; path=/";}return y_c2;}}
var yesdata;
yesdata='&refe='+escape(document.referrer)+'&location='+escape(document.location)+'&color='+screen.colorDepth+'x&resolution='+screen.width+'x'+screen.height+'&returning='+cc_k()+'&language='+navigator.systemLanguage+'&ua='+escape(navigator.userAgent);
document.write('<iframe MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src=http://count37.51yes.com/sa.aspx?id=377568546'+yesdata+' height=0 width=0></iframe>');