

function showServiceIndex(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;



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("o1","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o1">　<a href="/service/servicePay.php">付款方式</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="FFFFFF">　<img src="../images/dotright1.gif" id="o1">　<a href="#"> 付款方式</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("o4","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o4">　<a href="/agent/agent.php?item=price" target=_blank>价格体系</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="FFFFFF">　<img src="../images/dotright1.gif" id="o4">　<a href="#">价格体系</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("o5","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o5">　<a href="/service/serviceDownload.php">下载专区</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="FFFFFF">　<img src="../images/dotright1.gif" id="o5">　<a href="#">下载专区</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("o7","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o6">　<a href="/service/servicebuyflow.php">购买流程</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="FFFFFF">　<img src="../images/dotright1.gif" id="o7">　<a href="#">购买流程</a></td>'
+'        </tr>'


Index5_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("o7","","../images/dotright1.gif",1)\' onmouseout=\'this.style.background="";MM_swapImgRestore()\'>　<img src="../images/dotright.gif" id="o6">　<a href="/user/user.php?item=question_1" target=_blank>服务反馈中心</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="FFFFFF">　<img src="../images/dotright1.gif" id="o7">　<a href="#">服务反馈中心</a></td>'
+'        </tr>'



if (id == 1){
 	headcontent= Index1_open 
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index5_close
 	
}
 else if (id == 2){
 	headcontent= Index1_close 
 	+ Index2_open 
 	+ Index3_close
	+ Index4_close
 	+ Index5_close
 	
}
 else if (id == 3){
 	headcontent= Index1_close 
 	+ Index2_close
 	+ Index3_open
	+ Index4_close
 	+ Index5_close
 	
}
 else if (id == 4){
 	headcontent= Index1_close 
 	+ Index2_close
 	+ Index3_close
 	+ Index4_open
 	+ Index5_close
 	
}
 else if (id == 5){
 	headcontent= Index1_close 
 	+ Index1_close
 	+ Index2_close
 	+ Index3_close
 	+ Index4_close
 	+ Index5_open
 	
}
 
headcontent =headcontent 
+'        <tr> '
+'          <td height="1" background="../images/dot1.gif"><img src="../images/dot1.gif"></td>'
+'        </tr>'

document.writeln(headcontent);

}
