function tongfuJsAPI(){
    this.isValidIP=function(str){
        var re = /^(\d*)\.(\d*)\.(\d*)\.(\d*)$/;
        var rr = re.exec(str);
        if(rr != null
            && rr.length == 5){
            if(rr[1]>=0&&rr[1]<=255
                && rr[2]>=0&&rr[2]<=255
                && rr[3]>=0&&rr[3]<=255
                && rr[4]>=0&&rr[4]<=255)
                return true;
        }
        return false;
    }
}
var myTongfuJsAPI = new tongfuJsAPI();
function settime(){
/*    var now = new Date();
	var timestr;
	var arWeek = Array("日", "一", "二", "三", "四", "五", "六" );
	timestr=now.getFullYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日"+" "+"星期"+arWeek[now.getDay()];		
    timetd.innerHTML=timestr;
 */ }  
  
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&id.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { //v6.0
 // three paras:menuID,tdID,show/hide
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
	if ((obj=MM_findObj(args[i]))!=null) { 
		v=args[i+2];
    		if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    		obj.visibility=v; 
		if ((obj_td=MM_findObj(args[i+1]))!=null) { 
			//get the absolute position of the td
			var mytop=obj_td.offsetTop; 
			var myleft=obj_td.offsetLeft;
			while(obj_td=obj_td.offsetParent){
				myleft+=obj_td.offsetLeft; 
				mytop+=obj_td.offsetTop; 
			}
			obj.left = myleft;
			obj.top = mytop + 26;
		}
	}
}

function showHead(id){

var headcontent=''
+'<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">'
+'  <tr> '
+'    <td width="230"><img src="/images/logo.gif"></td>'
+'    <td align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="430" height="80">'
+'        <param name="movie" value="/images/banner.swf">'
+'        <param name="quality" value="high">'
+'        <embed src="/images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="430" height="80"></embed></object></td>'
+'    <TD width=90 align="center"><IMG src="/images/home.gif"> <A href="http://www.gnway.com" onclick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://www.gnway.com\');">设为首页</A><BR>'
+'      <IMG src="/images/add.gif"> <A href="http://www.gnway.com" onclick="window.external.addFavorite(\'http://www.gnway.com\',\'金万维欢迎您！\')" '
+'      target=_self title=金万维动态域名服务>加入收藏</A><BR>'
+'      <IMG src="/images/union.gif"><a href="javascript:h=window.open(\'/gnunion\',\'_blank\');h.focus();"> 金色联盟</a><BR>'
+'      <IMG src="/images/car.gif"><a href="/purchase/purchase.php?item=shopbag"> 购物中心</a></TD>'
+'  </tr>'
+'</table>'
+'<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">'
+'  <tr> '
+'    <td width="230" height="9"></td>'

 if (id == 1)
	{ headcontent=headcontent
+'    <td width="84"><img src="/images/focus1.gif" id="b1"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b2"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b3"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b4"></td>';
}
 else if (id == 2)
	{ headcontent=headcontent
+'    <td width="84"><img src="/images/focus2.gif" id="b1"></td>'
+'    <td width="84"><img src="/images/focus1.gif" id="b2"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b3"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b4"></td>';
}
 else if (id == 3)
	{ headcontent=headcontent
+'    <td width="84"><img src="/images/focus2.gif" id="b1"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b2"></td>'
+'    <td width="84"><img src="/images/focus1.gif" id="b3"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b4"></td>';
}
 else if (id == 4)
	{ headcontent=headcontent
+'    <td width="84"><img src="/images/focus2.gif" id="b1"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b2"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b3"></td>'
+'    <td width="84"><img src="/images/focus1.gif" id="b4"></td>';
}
 else if (id == 0)
	{ headcontent=headcontent
+'    <td width="84"><img src="/images/focus2.gif" id="b1"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b2"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b3"></td>'
+'    <td width="84"><img src="/images/focus2.gif" id="b4"></td>';
}

headcontent=headcontent +'<td></td>'
+'  </tr>'
+'  <tr> '
+'    <td height="22" align="center" bgcolor="DDDDDD" id=timetd>&nbsp;</td>'
+'    <td align="center" bgcolor="DDDDDD"><a href="/" onMouseOver="MM_swapImage(\'b1\',\'\',\'/images/focus3.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="/images/button1.gif" border="0"></td>'
+'    <td align="center" valign="middle" bgcolor="DDDDDD" onMouseOver="MM_showHideLayers(\'user\',\'\',\'show\')" onMouseOut="MM_showHideLayers(\'user\',\'\',\'hide\')"><a href="/user/user.php?item=dnsman" onMouseOver="MM_swapImage(\'b2\',\'\',\'/images/focus3.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="/images/button2.gif" border="0" id="Image1"><br>'
+'      </a> <div id="user" style="position:absolute; z-index:1; visibility: hidden; top: 120px; width: 520px; height: 24px; left: 32%;"> '
+'        <table width="100%" border="0" cellspacing="0" cellpadding="5">'
+'          <tr class="ww1"> '
+'            <td><img src="/images/dot2.gif"></td>'
+'            <td><a href="/user/user.php?item=dnsman" class="a1">用户DNS管理</a></td>'
+'            <td><a href="/user/user.php?item=acctorder" class="a1">用户帐户/订单查询</a></td>'
+'            <td><a href="/user/user.php?item=passmod" class="a1">密码修改</a></td>'
+'            <td><a href="/user/user.php?item=infomod" class="a1">用户资料管理</a></td>'
+'            <td><a href="/user/user.php?item=reg1" class="a1">用户注册</a></td>'
+'            <td><a href="/user/user.php?item=login" class="a1">用户登录</a></td>'
+'          </tr>'
+'        </table>'
+'      </div></td>'
+'    <td align="center" bgcolor="DDDDDD" onMouseOver="MM_showHideLayers(\'sale\',\'\',\'show\')" onMouseOut="MM_showHideLayers(\'sale\',\'\',\'hide\')"><a href="/service/servicebuyflow.php" onMouseOver="MM_swapImage(\'b3\',\'\',\'/images/focus3.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="/images/button3.gif" border="0" id="Image2"></a><br> '
+'      <div id="sale" style="position:absolute; z-index:2; top: 120px; visibility: hidden; width: 280px; height: 30px; left: 55%;"> '
+'       <table width="100%" border="0" cellspacing="0" cellpadding="4">'
+'          <tr class="ww1"> '
+'            <td><img src="/images/dot2.gif"></td>'
+'            <td><a href="/service/knowledge/" class="a1">技术专栏</a></td>'
+'            <td><a href="/service/servicePay.php" class="a1">付款方式</a></td>'
+'            <td><a href="/service/serviceDownload.php" class="a1">下载专区</a></td>'
+'            <td><a href="/service/servicebuyflow.php" class="a1">购买流程</a></td>'
+'          </tr>'
+'        </table>'
+'      </div></td>'
+'    <td align="center" bgcolor="DDDDDD" onMouseOver="MM_showHideLayers(\'lay3\',\'\',\'show\')" onMouseOut="MM_showHideLayers(\'lay3\',\'\',\'hide\')"><a href="/agent/agent.php?item=price" onMouseOver="MM_swapImage(\'b4\',\'\',\'/images/focus3.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="/images/button4.gif" border="0" id="Image3"></a><br> '
+'      <div id="lay3" style="position:absolute; z-index:2; top: 120px; width: 360px; height: 35px; left: 50%; visibility: hidden;"> '
+'        <table width="100%" border="0" cellspacing="0" cellpadding="5">'
+'          <tr class="ww1"> '
+'            <td><img src="/images/dot2.gif"></td>'
+'            <td><a href="/agent/agent.php?item=price" class="a1">价格体系</a></td>'
+'            <td><a href="/agent/agent.php?item=cond" class="a1">加盟说明</a></td>'
+'            <td><a href="/agent/agent.php?item=app" class="a1">代理申请</a></td>'
+'            <td><a href="/agent/agent.php?item=man" class="a1">代理管理平台</a></td>'
+'          </tr>'
+'        </table>'
+'      </div></td>'
+'    <td bgcolor="DDDDDD">&nbsp;</td>'
+'  </tr>'
+'  <tr> '
+'    <td height="1" colspan="6" bgcolor="#FEF8E9"></td>'
+'  </tr>'
+' <tr> '
+'    <td height="22" bgcolor="FF9600">&nbsp;</td>'
+'    <td bgcolor="FF9600">&nbsp;</td>'
+'    <td bgcolor="FF9600">&nbsp;</td>'
+'    <td bgcolor="FF9600">&nbsp;</td>'
+'    <td bgcolor="FF9600">&nbsp;</td>'
+'    <td bgcolor="FF9600">&nbsp;</td>'
+'  </tr>'
+'</table>'

document.write(headcontent);
}

function ShowFooter(){
var snect = ""
+'<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">'
+'  <tr> '
+'    <td height="9" bgcolor="FF9600"></td>'
+'  </tr>'
+'  <tr> '
+'    <td height="3"></td>'
+'  </tr>'
+'  <tr> '
+'    <td height="2" bgcolor="FF9600"></td>'
+'  </tr>'
+'  <tr> '
+'    <td height="24" align="center" valign="bottom"><a href="/us/aboutus.php">关于我们</a> | <a href="/us/contact.php">联系方式</a> '
+'      | <a href="/us/service_law.php">服务条款</a> | <a href="/us/private.php">隐私条款</a>'
+'      | <a href="/us/career.php">招聘信息</a> | <a href="/us/map.php">网站地图</a></td>'
+'  </tr>'
+'  <tr>'
+'    <td height="26" align="center">Copyright @2003 GNWay.com All right reserved</td>'
+'  </tr>'
+'</table>'
 	 document.writeln(snect);
}




function showUserIndex(id){
var headcontent;
var Index0_open,Index0_close;
var Index1_open,Index1_close;
var Index2_open,Index2_close;
var Index3_open,Index3_close;
var Index4_open,Index4_close;
var Index5_open,Index5_close;
var Index6_open,Index6_close;
var Index7_open,Index7_close;
var Index8_open,Index8_close;
var Index9_open,Index9_close;






Index0_close=''        
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o0">　<a href="/user/user.php?item=console">我的控制台</a></td>'
+'        </tr>'
Index0_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'     <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o0">　<a href="/user/user.php?item=console">我的控制台</a></td>'
+'        </tr>'


Index1_close=''        
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o2">　<a href="/user/user.php?item=dnsman">管理我的DNS</a></td>'
+'        </tr>'
Index1_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=dnsman">我的DNS管理</a></td>'
+'        </tr>'

Index2_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o5">　<a href="/user/user.php?item=acctorder">用户账户/订单查询</a></td>'
+'        </tr>'
Index2_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=acctorder">用户账户/订单查询</a></td>'
+'        </tr>'


Index3_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o3">　<a href="/user/user.php?item=passmod">密码修改</a></td>'
+'        </tr>'
Index3_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=passmod">密码修改</a></td>'
+'        </tr>'

      
Index4_close=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=infomod">用户资料管理</a></td>'
+'        </tr>'
Index4_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=infomod">用户资料管理</a></td>'
+'        </tr>'

Index5_close=''
+'	<tr> '
+'         <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o1">　<a href="/user/user.php?item=reg1">用户注册</a></td>'
+'        </tr>'
Index5_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=logout">用户退出</a></td>'
+'        </tr>'


Index6_close=''          
/*
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=logout">用户退出</a></td>'
+'        </tr>'

*/
Index6_open=''          
/*
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=logout">用户退出</a></td>'
+'        </tr>'
*/
Index7_close=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=union_user">管理我的联盟</a></td>' +'        </tr>'

Index7_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD"><img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=union_user">管理我的联盟 </a></td>'
+'        </tr>'
Index8_close=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=group_user"><font color=red><strong>管理我的TeamLink帐号  </strong></font></a></td>' +'        </tr>'

Index8_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD"><img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=group_user"><font color=red><strong>管理我的TeamLink帐号 </strong></font> </a></td>'
+'        </tr>'

Index10_close=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=group_user"><font color=red><strong>管理我的ESoonLink帐号  </strong></font></a></td>' +'        </tr>'

Index10_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD"><img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=group_user_esl"><font color=red><strong>管理我的ESoonLink帐号 </strong></font> </a></td>'
+'        </tr>'

Index9_close=''
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="../images/dotright.gif" id="o4">　<a href="/user/user.php?item=question_1"><font color=red><strong>服务反馈中心 </strong></font></a></td>' +'        </tr>'

Index9_open=''
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD"><img src="../images/dotright1.gif" id="o5">　<a href="/user/user.php?item=question_1"><font color=red><strong>服务反馈中心 </strong></font> </a></td>'
+'        </tr>'

if (id == -9){
 	headcontent= Index0_open 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
else if (id == 1){
 	headcontent= Index0_close
 	+ Index1_open
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id == 2){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_open 
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id == 3){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_open
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id == 4){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_open
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id == 5){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_open
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id == 6){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_open
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}

 else if (id  ==7){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_open
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_close;
}
 else if (id  ==8){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_open
 	+ Index10_close
 	+ Index9_close;
}
 else if (id  ==9){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_close
 	+ Index9_open;
}
 else if (id  ==9){
 	headcontent= Index0_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index6_close
 	+ Index7_close
 	+ Index5_close
 	+ Index8_close
 	+ Index10_open
 	+ Index9_close;
}
headcontent =headcontent 
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td align=center><br><a href="/user/user.php?item=payonline_1" ><img src="../images/net_charge.gif" border=0></a><br></td>'
+'        </tr>'
+'        <tr> '
+'          <td align=center><br><a href="/user/user.php?item=paytel_1" ><img src="../images/tel_charge2.gif" border=0></a><br><br><br></td>'
+'        </tr>'
+'        <tr> '
+"          <td align=center><br><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='127' height='63'><param name=bgcolor value=#FFBE00 > <param name='movie' value='/images/union_ad.swf'> <param name='quality' value='high'> <embed src='/images/unioni_ad.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='127' height='63'></embed> </object><br><br></td>"
+'        </tr>'
//+'<script language=javascript src="/include/gn_float_service.js"></script>'
document.writeln(headcontent);

}
/*
function showServiceIndex(id){
}
*/
function showAgentIndex(id){
var headcontent;
var Index1_open,Index1_close;
var Index2_open,Index2_close;
var Index3_open,Index3_close;
var Index4_open,Index4_close;


Index1_close=''        
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o2","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o2">　<a href="/agent/agent.php?item=price">价格体系</a></td>'
+'        </tr>'
Index1_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/agent/agent.php?item=price">价格体系</a></td>'
+'        </tr>'

Index2_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o5","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o5">　<a href="/agent/agent.php?item=cond">加盟说明</a></td>'
+'        </tr>'
Index2_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/agent/agent.php?item=cond">加盟说明</a></td>'
+'        </tr>'

Index2_drop_start=''
+'        <tr> '
+'          <td align="right">'
+'          <table width="78%" border="0" cellspacing="3" cellpadding="0">'

Index2_drop_end=''
+'          </table></td> '
+'        </tr>'

Index20_close=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=cond" onMouseOver="showdot(d0)" onMouseOut="hidedot(d0)">加盟条件</a></td>'
+'          <td><img src="../images/dot3.gif" name="d0" style="display:none"></td>'
+'        </tr>'

Index20_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=cond">加盟条件</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'
+'        </tr>'

Index21_close=''  
+'        <tr> '                                                                                                          
+'          <td height="18"><a href="/agent/agent.php?item=flow" onMouseOver="showdot(d1)" onMouseOut="hidedot(d1)">加盟流程</a></td> '
+'          <td><img src="../images/dot3.gif" name="d1" style="display:none"></td> '                                      
+'        </tr> '                                                                                                         
Index21_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=flow">加盟流程</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'
+'        </tr>'

Index22_close=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=power" onMouseOver="showdot(d2)" onMouseOut="hidedot(d2)">权利与责任</a></td>'
+'          <td><img src="../images/dot3.gif" name="d2" style="display:none"></td>'
+'        </tr>'
Index22_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=power">权利与责任</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'
+'        </tr>'
Index23_close=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=opera" onMouseOver="showdot(d3)" onMouseOut="hidedot(d3)">代理操作流程</a></td>'
+'          <td><img src="../images/dot3.gif" name="d3" style="display:none"></td>'
+'        </tr>'

Index23_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=opera">代理操作流程</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'
+'        </tr>'

Index24_close=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=eval" onMouseOver="showdot(d4)" onMouseOut="hidedot(d4)">绩效评估</a></td>'
+'          <td><img src="../images/dot3.gif" name="d4" style="display:none"></td>'
+'        </tr>'

Index24_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=eval">绩效评估</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'          
+'        </tr>'
/*
Index25_close=''  
+'        <tr> '
+'           <td height="18"><a href="/agent/agent.php?item=prot" onMouseOver="showdot(d5)" onMouseOut="hidedot(d5)">代理协议</a></td>'
+'           <td><img src="../images/dot3.gif" name="d5" style="display:none"></td>'
+'        </tr>'
Index25_open=''  
+'        <tr> '
+'          <td height="18"><a href="/agent/agent.php?item=prot">代理协议</a></td>'
+'          <td><img src="../images/dot3.gif"></td>'
+'        </tr>'
*/
Index25_close='';
Index25_open='';
 
Index3_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o3","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o3">　<a href="/agent/agent.php?item=app">代理申请</a></td>'
+'        </tr>'
Index3_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/agent/agent.php?item=app">代理申请</a></td>'
+'        </tr>'

      
Index4_close=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o4","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o4">　<a href="/agent/agent.php?item=man">代理管理平台</a></td>'
+'        </tr>'
Index4_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/agent/agent.php?item=man">代理管理平台</a></td>'
+'        </tr>'


if (id == 1){
 	headcontent= Index1_open 
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 20){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_open + Index21_close + Index22_close + Index23_close + Index24_close + Index25_close + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 21){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_close + Index21_open + Index22_close + Index23_close + Index24_close + Index25_close + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 22){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_close + Index21_close + Index22_open + Index23_close + Index24_close + Index25_close + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 23){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_close + Index21_close + Index22_close + Index23_open + Index24_close + Index25_close + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 24){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_close + Index21_close + Index22_close + Index23_close + Index24_open + Index25_close + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
else if (id == 25){
 	headcontent= Index1_close 
 	+ Index2_open + Index2_drop_start + Index20_close + Index21_close + Index22_close + Index23_close + Index24_close + Index25_open + Index2_drop_end
 	+ Index3_close
 	+ Index4_close;
}
 else if (id == 3){
 	headcontent= Index1_close 
 	+ Index2_close
 	+ Index3_open
 	+ Index4_close;
}
 else if (id == 4){
 	headcontent= Index1_close 
 	+ Index2_close
 	+ Index3_close
 	+ Index4_open;
}
headcontent =headcontent 
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'

document.writeln(headcontent);

}

function openwin(url,utarget,utop,uleft,uwidth,uheight){
hWnd_reader=window.open(url,utarget,"toolbar=0,location=0,status=0,menubar=0,resizable=0,scrollbars=0,top="+utop+",left="+uleft+",width="+uwidth+",height="+uheight+"");     
hWnd_reader.focus();
}
function openwin1(url,utarget,utop,uleft,uwidth,uheight){
hWnd_reader=window.open(url,utarget,"toolbar=0,location=0,status=0,menubar=0,resizable=0,scrollbars=0,top="+utop+",left="+uleft+",width="+uwidth+",height="+uheight+"");     
hWnd_reader.focus();
}

//functions for the user_dnsdetail.php
function add(name,iphost,typestatus,type,isStaticIP) { 
    document.form1.sb_opera.value = "ADD";
    document.form1.sb_dndetail.value = document.all[name].value ;
    var isStaticIP_obj = document.all[isStaticIP];
    if(document.form1.sb_dndetail.value.length == 0){
        alert("名称不能为空！");
        document.all[name].focus();
        return false;
    }
    document.form1.sb_iphost.value = document.all[iphost].value;
    document.form1.sb_typestatus.value = typestatus;
    if(isStaticIP != null ){
	if(isStaticIP_obj.checked)
    		document.form1.sb_isStaticIP.value = '1';
	else
    		document.form1.sb_isStaticIP.value = '0';
    }
    document.form1.sb_type.value = type;
    document.form1.submit();
}
function modify(id,tableobj,row,content,iphost,modbut,type,dndetail,dn_detail_type,isStaticIP,ddns_valid) { 
    var iphost_obj = document.all[iphost];
    var modbut_obj = document.all[modbut];
    var isStaticIP_obj = document.all[isStaticIP];
    var value = modbut_obj.value;
    if(value == "修改"){
        modbut_obj.value = "确定";
        tableobj.rows[row].cells[2].innerHTML= "<input size=16 type=text name="+iphost +" value=\"" + content + "\">";
        if(dn_detail_type != null && isStaticIP != null && (dn_detail_type == '1' || dn_detail_type == '5')){
	    if(ddns_valid !=null && ddns_valid=='0')ddns_status=" CHECKED DISABLED ";//not apply ddns service
	    else ddns_status="";

	    if(dn_detail_type == '5') 
               tableobj.rows[row].cells[3].innerHTML= "<input type=checkbox checked "+ddns_status+"name="+isStaticIP + ">";
	    else
               tableobj.rows[row].cells[3].innerHTML= "<input type=checkbox "+ddns_status+"name="+isStaticIP +">";
	}
    }
    else{
        document.form1.sb_opera.value = "MOD";
        document.form1.sb_detailid.value = id;
        document.form1.sb_iphost.value = iphost_obj.value;
        if(dn_detail_type != null && isStaticIP != null ){
		if(isStaticIP_obj.checked)
	    		document.form1.sb_isStaticIP.value = '1';
		else
    			document.form1.sb_isStaticIP.value = '0';
	}
    	document.form1.sb_type.value = type;
    	document.form1.sb_dndetail.value = dndetail;
        iphost_obj.readonly == true;
        document.form1.submit();
    }
}
function del(id,type,dndetail) { 
    document.form1.sb_opera.value = "DEL";
    document.form1.sb_detailid.value = id;
    document.form1.sb_iphost.value = "this is not be empty!";
    document.form1.sb_type.value = type;
    document.form1.sb_dndetail.value = dndetail;
    document.form1.submit();
}
function gnway_return(ret)
{
return ret;
}
function showGroupIndex(id){
var headcontent;
var Index1_open,Index1_close;
var Index2_open,Index2_close;
var Index3_open,Index3_close;





Index1_close=''        
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o2","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o2">　<a href="/group/group.php?item=infomod">组基本资料管理</a></td>'
+'        </tr>'
Index1_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/group/group.php?item=infomod">组基本资料管理</a></td>'
+'        </tr>'

Index2_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o5","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o5">　<a href="/group/group.php?item=usermng">组用户管理</a></td>'
+'        </tr>'
Index2_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a href="/group/group.php?item=usermng">组用户管理</a></td>'
+'        </tr>'


Index3_close=''                
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" onMouseOver=\'this.style.background="#FFFFFF";MM_swapImage("o3","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o3">　<a target=_blank  href="/teamlink/teamlink.php?item=basic">相关说明</a></td>'
+'        </tr>'
Index3_open=''          
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="../images/dotright1.gif" id="o5">　<a target=_blank href="/teamlink/teamlink.php?item=basic">相关说明</a></td>'
+'        </tr>';

      


if (id == 1){
 	headcontent= Index1_open 
 	+ Index2_close;
 //	+ Index3_close;
 	
}
 else if (id == 2){
 	headcontent= Index1_close 
 	+ Index2_open ;
 //	+ Index3_close ;
}
 else if (id == 3){
 	headcontent= Index1_close 
 	+ Index2_close;
 	//+ Index3_open ;
}

headcontent =headcontent 
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'

document.writeln(headcontent);

}

function showPurIndex(id){
var headcontent;
var Index1_open,Index1_close;
var Index2_open,Index2_close;
var Index3_open,Index3_close;
var Index4_open,Index4_close;
var Index5_open,Index5_close;
var Index6_open,Index6_close;
var Index7_open,Index7_close;
var Index8_open,Index8_close;
var Index9_open,Index9_close;
var Index10_open,Index10_close;
var Index11_open,Index11_close;


Index1_close=''        
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor=#FFFFFF >　<img src="/images/dotright.gif" id="o1">　<a href="/purchase/purchase.php?item=dynamic">顶级域名动态解析服务</a></td>'
+'        </tr>'
Index1_open=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright.gif" id="o1">　<a href="/purchase/purchase.php?item=dynamic">顶级域名动态解析服务</a></td>'
+'        </tr>'

Index2_close=''                
+'        <tr> '
+'          <td height="25" bgcolor=#FFFFFF>　<img src="/images/dotright.gif" id="o2">　<a href="/purchase/purchase.php?item=dnsearch">顶级域名注册</a></td>'
+'        </tr>'
Index2_open=''          
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o2">　<a href="/purchase/purchase.php?item=dnsearch">顶级域名注册</a></td>'
+'        </tr>'


Index3_close=''                
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o3">　<a href="/purchase/purchase.php?item=shopbag">查看购物车</a></td>'
+'        </tr>'
Index3_open=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright.gif" id="o3">　<a href="/purchase/purchase.php?item=shopbag">查看购物车</a></td>'
+'        </tr>'

      
Index4_close=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o4">　<a href="/purchase/purchase.php?item=payment">付款台</a></td>'
+'        </tr>'


Index5_close=''                
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o5">　<a href="/purchase/purchase.php?item=teamlink">天联服务</a></td>'
+'        </tr>'

Index5_open=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o5">　<a href="/purchase/purchase.php?item=teamlink">天联服务</a></td>'
+'        </tr>'


Index6_close=''                
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o6">　<a href="/purchase/purchase.php?item=teamlink_pro">天联高级版服务</a></td>'
+'        </tr>'

Index6_open=''          
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o6">　<a href="/purchase/purchase.php?item=teamlink_pro">天联加强TeamLink Pro服务</a></td>'
+'        </tr>'

Index8_close=''                
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o8">　<a href="/purchase/purchase.php?item=esoonlink">异速联服务</a></td>'
+'        </tr>'

Index8_open=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o8">　<a href="/purchase/purchase.php?item=esoonlink">异速联服务</a></td>'
+'        </tr>'


Index9_close=''                
+'        <tr> '
+'          <td >　<img src="/images/dotright.gif" id="o9">　<a href="/purchase/purchase.php?item=esoonlink_pro">异速联加强版服务</a></td>'
+'        </tr>'

Index9_open=''          
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o9">　<a href="/purchase/purchase.php?item=esoonlink_pro">ESoonLink异速联加强版服务</a></td>'
+'        </tr>'

Index7_open=''          
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o7">　<a href="/purchase/purchase.php?item=teamlink_ns">TeamLink天联服务非卖品</a></td>'
+'        </tr>'

Index10_close=''        
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o10">　<a href="/purchase/purchase.php?item=prof">动态域名VIP服务</a></td>'
+'        </tr>'
Index10_open=''          
+'        <tr> '
+'          <td height="25" bgcolor="#DDDDDD">　<img src="/images/dotright1.gif" id="o10">　<a href="/purchase/purchase.php?item=prof">动态域名VIP服务</a></td>'
+'        </tr>'

Index11_close=''        
+'        <tr> '
+'          <td height="25" >　<img src="/images/dotright.gif" id="o11">　<a href="/service/servicePay.php" target=_blank>支付方式</a></td>'
+'        </tr>'
Index11_open=''          
+'        <tr> '
+'          <td height="25" bgcolor="DDDDDD">　<img src="/images/dotright1.gif" id="o11">　<a href="/service/servicePay.php">支付方式</a></td>'
+'        </tr>'


if (id == 1){
 	headcontent= Index1_open 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
else if (id == 10){
 	headcontent= Index1_close
 	+ Index10_open
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
 else if (id == 2){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_open 
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
 else if (id == 3){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_open
 	+ Index11_close;
}
 else if (id == 5){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_open
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
else if (id == 6){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_open
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
else if (id == 8){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_open
 	+ Index9_close
 	+ Index3_close
 	+ Index11_close;
}
else if (id == 9){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_open
 	+ Index3_close
 	+ Index11_close;
}


else if (id == 11){
 	headcontent= Index1_close 
 	+ Index10_close
 	+ Index2_close
 	+ Index5_close
 	+ Index6_close
 	+ Index8_close
 	+ Index9_close
 	+ Index3_close
 	+ Index11_open;
}

headcontent =headcontent 
+'        <tr> '
+'          <td height="1" background="/images/dot1.gif"><img src="/images/dot1.gif"></td>'
+'        </tr>'
+'        <tr> '
+'          <td align=center><br><br><a href="/user/user.php?item=payonline_1" ><img src="../images/net_charge.gif" border=0></a><br></td>'
+'        </tr>'
+'        <tr> '
+'          <td align=center><br><a href="/user/user.php?item=paytel_1" ><img src="../images/tel_charge2.gif" border=0></a><br><br><br></td>'
+'        </tr>'

document.writeln(headcontent);

}



