function menuGen(n){
winurl=new Array()
winurl[0]="/index.asp"
winurl[1]="/news/news_index.asp?typeid=1&borderid=1"
winurl[2]="/news/news_index.asp?typeid=1&borderid=3"
winurl[3]="/news/news_index.asp?typeid=1&borderid=4"
winurl[4]="/news/news_index.asp?typeid=1&borderid=5"
winurl[5]="/news/news_index.asp?typeid=1&borderid=6"
winurl[6]="/news/zsjs.asp"
winurl[7]="/zsyc"
winurl[8]="/news/zjtd"

menu=new Array()
menu[0]="首 页"
menu[1]="工作动态"
menu[2]="政策法规"
menu[3]="领导言论"
menu[4]="工作交流"
menu[5]="理论探讨"
menu[6]="人才专刊"
menu[7]="舟山英才"
menu[8]="自荐投档"

document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'>")
document.write("<tr>")
document.write("<td width='180'>")
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' class='color_white'>")
document.write("<tr>")
document.write("<td width='84'><img src='/images/dot02.gif' width='16' height='17' hspace='10'></td>")
if (n==0){
	document.write("<td background='/images/bg_button.gif' onClick='location.href=\""+winurl[0]+"\"' onMouseOver='style.cursor=\"hand\"' onMouseOut='index_top.GotoFrame(1)' width='92' align='center' height='38'><font color='#ffffff'>"+menu[0]+"</font></td>");
	}
	else{
	document.write("<td onClick='location.href=\""+winurl[0]+"\"' onMouseOver='this.background=\"/images/bg_button.gif\";style.cursor=\"hand\";index_top.GotoFrame(1)' onMouseOut='this.background=\"\";index_top.GotoFrame("+(n+1)+")' width='80' align='center' height='38'>"+menu[0]+"</td>")
}
document.write("<td width='2'><img src='/images/bg_line04.gif' width='2' height='38'></td>")
document.write("</tr>")
document.write("</table>")
document.write("</td>")
document.write("<td>")
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' class='colorwhite'>")
document.write("<tr align='center'>")
for(i=1;i<9;i++){
	if(i==n){
		document.write("<td background='/images/bg_button.gif' onClick='location.href=\""+winurl[i]+" target=_blank"+"\"' onMouseOver='style.cursor=\"hand\"' onMouseOut='index_top.GotoFrame("+(n+1)+")'><font color='#ffffff'>"+menu[i]+"</font></td>");
		}
		else{
		document.write("<td onClick='location.href=\""+winurl[i]+"\"' onMouseOver='this.background=\"/images/bg_button.gif\";style.cursor=\"hand\";index_top.GotoFrame("+(i+1)+")' onMouseOut='this.background=\"\";index_top.GotoFrame("+(n+1)+")'><font color='#ffffff'>"+menu[i]+"</font></td>");
		}
	document.write("<td width='2'><img src='/images/bg_line04.gif' width='2' height='38'></td>")
}
document.write("</tr>")
document.write("</table>")
document.write("</td>")
document.write("</tr>")
document.write("</table>")
}