举国欢庆放假的时候,再散分散代码 ★HostEditor★ 梅雪香
<html>
<head>
<meta http-equiv= "content-type " content= "text/html; charset=UTF-8 "/>
<title> Hosts Editor - 梅雪香 </title>
<hta:application ID= "oHTA " applicationame= "myApp " border= "thin " scroll= "no " singleinstance= "yes " maximizeButton= "no "
> <!-- ICON= "http://meixx.go1.icpcn.com/01.ico " -->
<style type= "text/css ">
<!--
body{margin:0px;overflow:hidden;background-color:#B3C1D2;font-size:12px; }
button{margin-left:5px;border:0px;background-color:#99CC00 }
#divMain{ position:relative;height:550px;overflow:auto;margin-top:5px;}
#divMain .div{padding-left:4px;margin-bottom:2px;height:22px;border:1px solid #B3C1D2;}
#divMain div span{border:1px solid #9EADBF;}
#divMain div a{margin-left:2px;color:red;}
#divMain div input{border:1px solid #9EADBF;margin-left:2px;margin-right:2px;background-color:#D6E1EE;color:#2A333A;}
#divMain div .chk{width:22px;height:100%;}
#divMain div .IP{width:100px;}
#divMain div .domain{width:150px;}
#divMain div .comment{width:420px;}
#divBottom{height:25px;text-align:right;}
#divHead { height:20px;padding-left:5px;}
#divHead span{text-align:center;font-size:12px;font-weight:bold; background-color: #c3c3c3;margin-right:4px;background-color: #c3c3c3;height:100%;}
.sp1{width:22px; margin-left:2px;}
.sp2{width:100px;cursor:pointer;}
.sp3{width:150px;cursor:pointer;}
.sp4{width:420px;}
#fPath{display:none}
#divBottom button{ border:1px solid #9EADBF; background-color:#B3C1D2;font-size:12px; width:60px; height:26px;background-color:#AABCCE; color: #3E3E3E}
#divBottom a{ margin-left:20px; margin-right:5px; position:relative;}
#divBottom .left{ position:absolute; left:0px; margin-left:10px;}
#divBottom .right{ position:absolute; right:0px; }
#divBottom .fgf{ margin-left:5px;margin-right:2px;color:#9EADBF;font-size:15px; }
.split{height:1px;margin-left:10px;margin-right:10px;border:1px inset #9EADBF; margin-top:0px;margin-bottom:0px; }
#divContent{display:none; position:absolute; width:100%; height:548px; top:0px; left:0px; ;z-index:999;}
#taContent{width:100%;height:100%;overflow:auto;padding-left:20px;border:0px;}
#divHelp{display:none;width:100%;height:100%;position:absolute;top:0px;left:0px;margin:0px;padding:5px;background-color:#FFFFFF;overflow:auto;}
#lnkHelp{position:absolute; top:1px; right:20px;}
-->
</style>
<script type= "text/javascript "> <!--
function $(id){ return document.getElementById(id);}
String.prototype.frmWithSpace=function(n){ return (this+ " ").substring(0,n); }
String.prototype.trim=function(){ return this.replace(/(^(\s| )+)|((\s| )+$)/g, " "); }
Array.prototype.foreach=function(f){ for(var i=0,l=this.length;i <l;i++) &nbs