

function h() {
document.write("<TABLE  align=center border=0 cellPadding=0 cellSpacing=0 width=750>");
document.write("<TBODY><TR><TD width=23%><a href=\"http://www.netrui.com/\"><IMG border=0 src=\"http://www.netrui.com/logo3.jpg\" alt=\"网瑞网速测试\"></a></TD>");
document.write("<TD align=right height=62 width=63%><table width=100% border=0 cellspacing=0 cellpadding=0>");

document.write("<tr align=center><td><iframe id=\"baiduframe\" border=\"0\" vspace=\"0\" hspace=\"0\" marginwidth=\"0\" marginheight=\"0\"  framespacing=\"0\" frameborder=\"0\" scrolling=\"no\" width=\"400\" height=\"40\"  src=\"http://unstat.baidu.com/bdun.bsc?tn=netrui555&csid=108&rkcs=0&bgcr=EFF1F3&ftcr=000000&rk=0&bd=0&bdas=0\"></iframe></td></tr>");
document.write("<tr align=center><TD colSpan=5 height=18>网瑞网速测试－输入你想查的网址：如www.sina.com.cn</TD></TR>");
document.write("<tr align=center><td><INPUT class=ff maxLength=64 name=wd size=35 value=\"www.\"><INPUT type=submit value=网速查询 onClick=\"gotopage()\"></td></tr>");


document.write("<BR><BR></table></TD><TD valign=bottom height=62 width=14%>");
document.write("<A href=\"javascript:window.external.AddFavorite(\'http://www.netrui.com/\',\'网瑞 网速测试\')\" target=_self>加入收藏</A><BR>");
document.write("<A href=\"http://www.netrui.com/support.html\">使用帮助</A><br>&nbsp;</TD></TR></TBODY></TABLE>");
document.write("<TABLE align=center bgColor=#eeeeee border=0 cellPadding=0 cellSpacing=0 width=750>");
document.write("<TBODY><TR><TD height=18 width=56>&nbsp;</TD><TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/index.html\">网速测试</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/all/0.html\">全部网址</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/software.html\">软件介绍</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/download.html\">软件下载</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/support.html\">常见问题</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/preview.html\">软件预览</a></TD>");
document.write("<TD align=middle class=m onmouseout=\"this.bgColor=\'#eeeeee\';\" onmouseover=\"this.bgColor=\'#ffffff\';\" vAlign=bottom width=67><a href=\"http://www.netrui.com/partner.html\">联系合作</a></TD>");
document.write("<TD width=57>&nbsp;</TD></TR></TBODY></TABLE>");
}
function t() {
document.write("<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=750><TR><TD align=middle height=30><font color=\"#7777cc\">Netrui &copy;&nbsp;2005　版权所有</font><FONT color=#7777cc><script src=\"http://www.czing.com/jsq/countjs.asp?uid=netrui&cnid=198&ip=true\"></script><script language=\"JavaScript\" type=\"text/javascript\" src=\"http://www3.itsun.com/counter.php?uuid=1540881&style=text\"></script></FONT></TD></TR></TABLE>");
}
function ip(a){
document.write("<br><a href=\"http://www.netrui.com/ipsearch/ipsearch2.php?ip="+a+"\">查看"+a+"上的全部网站和子域名</a>（IP反查功能）");
}
function ip1(a) {
 if(a.length < 5) {return;}
 var ch1 = a.charAt((a.length-a.length%3)/3);
 var ch2 = a.charAt((a.length-a.length%2)/2);
 if((ch1 <='z' && ch1 >='a')||(ch1 <='9' && ch1 >='0')){}
 else if(ch1 <='Z' && ch1 >='A'){ch1=ch1-('Z'-'z');}
 else ch1 = 'z';
 if((ch2 <='z' && ch2 >='a')||(ch2 <='9' && ch2 >='0')){}
 else if(ch2 <='Z' && ch2 >='A'){ch2=ch2-('Z'-'z');}
 else ch2 = 'z';
 document.write("<p>查看同一IP:<a href=\"../ips/"+ch1+ch2+"/"+a+".html\">"+a+"</a>:上的所有网站");
}
function gotopage() {
 if(wd.value.length < 7) {alert("请输入一个正确的网址！");return;}
 var ch1 = wd.value.charAt((wd.value.length-wd.value.length%3)/3);
 var ch2 = wd.value.charAt((wd.value.length-wd.value.length%2)/2);
 if((ch1 <='z' && ch1 >='a')||(ch1 <='9' && ch1 >='0')){}
 else if(ch1 <='Z' && ch1 >='A'){ch1=ch1-('Z'-'z');}
 else ch1 = 'z';
 if((ch2 <='z' && ch2 >='a')||(ch2 <='9' && ch2 >='0')){}
 else if(ch2 <='Z' && ch2 >='A'){ch2=ch2-('Z'-'z');}
 else ch2 = 'z';

 window.location.href="../"+ch1+ch2+"/"+wd.value+".html";
}
function hder() {
  document.write("<tr class=btbg><td width=18%>列项</td><td width=20%>平均时间</td><td width=25%>传输速度</td><td width=37%>传输速度图示</td></tr>");
}
function marr() {
 this.length = marr.arguments.length;
 for (var i = 0; i < this.length; i++) this[i+1] = marr.arguments[i];
}
function warr99(ar){
  document.write("<table width=100% border=0 cellspacing=1 cellpadding=0><tr><td align=middle width=\"27%\">该网站所属类别</td><td>");
  for (var i = 0; i < ar.length-1; i++) {
  	if(ar[i+2].length==1) document.write("<a href=\"../cates/100"+ar[i+2]+".html\">"+ar[i+1]+"</a>");
        if(ar[i+2].length==2) document.write("<a href=\"../cates/10"+ar[i+2]+".html\">"+ar[i+1]+"</a>");
        if(ar[i+2].length==3) document.write("<a href=\"../cates/1"+ar[i+2]+".html\">"+ar[i+1]+"</a>");

  if(i+2<ar.length-1) document.write(";&nbsp;");
   i+=1;
  }
  document.write("</td></tr></table>");
}
function warr(ar) {
 for (var i = 0; i < ar.length-1; i++) {
   document.write("<tr><td class=c>"+ar[i+1]+"</td><td class=r>"+ar[i+2]+"秒</td><td  class=r>"+ar[i+3]+" 千字节/秒</td><td><img src=\"..\\sp.gif\" width=\""+ar[i+4]+"%\" height=\"6\"></td>");
   i+=3;
  }
}

function RegexEscape(str)
{
	regstr = /([\\\/\.\?\+\*\(\)\[\]\{\}\^\$\|\=\!\:])/g;
	return str.replace(regstr, '\\$1');
}	

var google_ad_client = "pub-9365370573220737";
var google_ad_width = 728;
var google_ad_height = 90;
var google_ad_format = "728x90_as";
var google_ad_type = "text";
var google_ad_channel ="";
var google_color_border = "3399ff";
var google_color_bg = "FFFFFF";
var google_color_link = "ff3300";
var google_color_url = "008000";
var google_color_text = "000000";


function ad1() {

document.write("根据IP查找主机和子域名，赶快<a href=\"http://www.netrui.com/ipsearch/\">试一下IP反查</a>吧! <p>输入您的服务器的IP地址或者域名，点击IP反向查找");
document.write("<form action=\"http://www.netrui.com/ipsearch/ipsearch2.php\"><input type=text class=ff name=ip size=35 maxlength=50><input type=submit value=IP反向查找></form>");
/*
document.write("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"> </script>");
*/

document.write("<script type=\"text/javascript\"><!-- google_ad_client = \"pub-9365370573220737\";google_ad_slot = \"4164792116\"; google_ad_width = 728;google_ad_height = 90;//--></script><script type=\"text/javascript\"src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>");

}


function ad2() {

google_ad_client = "pub-9365370573220737";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel ="";
document.write("<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"> </script>");

}
function ad3() {
}
function ad4() {
}
function ad5() {
}
function ad6() {
}
function ad7() {
}
function ad8() {
}
function ad9() {
}
function ad10() {
}
