function menuswitch(id){
	for(var i = 1; i <= 8; i++){
		document.getElementById("link"+i).style.display="none";
	}
	document.getElementById("link"+id).style.display="block";
}
function MakeArray(n) {
this.length = n
return this
}
dayNames = new MakeArray(7);
dayNames[1] = "日";
dayNames[2] = "一";
dayNames[3] = "二";
dayNames[4] = "三";
dayNames[5] = "四";
dayNames[6] = "五";
dayNames[7] = "六";
function customDateString(oneDate) {
var theDay = dayNames[oneDate.getDay() + 1];
var theMonth = oneDate.getMonth() + 1;
var theYear = oneDate.getYear(); 
if  (theYear < 1900) { theYear = theYear + 1900};
var today = theYear + "年" + theMonth + "月" + oneDate.getDate() + "日 " + "星期" +  theDay;
return today;
}
document.write('<table align="center" width="975" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr>');
document.write('    <td background="/images/toubu_01.jpg" width="975" height="28"><div class="gywm">');
document.write('        <ul>');
document.write('          <li style=" margin-top:5px;"><a href="javascript:;" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(location.href);return(false);">设为首页</a></li>');
document.write('          <li style=" margin-top:5px;"><img src="/images/top_20.jpg"></li>');
document.write('					<li style=" margin-top:5px;"><A href="javascript:window.external.addFavorite(this.location.href, document.title)" target="_self">加入收藏</a></li>')
document.write('          <li style=" margin:0px; padding-left:550px;"><a href="http://www.huzhou.gov.cn/" target="_blank"><img border="0" src="/images/zghuz.jpg"></a></li>');
document.write('          <li><a href="http://www.zjcx.gov.cn/" target="_blank"><img border="0" src="/images/zgcx.jpg"></a></li>');
document.write('        </ul>');
document.write('      </div></td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table align="center" width="975" border="0" cellspacing="0" cellpadding="0" height="147">');
document.write('  <tr>');
document.write('    <td background="/images/toubu_02.jpg" style="padding-left:100px;font-size:22pt;font-family:黑体;color:darkred">'+tSiteName+'</td>');
document.write('  </tr>');
document.write('</table>');
document.write('<table align="center" width="975" border="0" cellspacing="0" cellpadding="0">');
document.write('  <tr>');
document.write('    <td width="160"><img src="/images/daohang_01.jpg" width="160" height="32"></td>');
document.write('    <td background="/images/daohang_02.jpg" width="815" height="32"><div class="menu">');
document.write('        <ul>');
document.write('          <li style="margin-top:10px; font-size:12px;"><a href="/">首页</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:10px;"><a href="/xxgk/jgzn/jgzn/" target="_blank">机构概况</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:10px;"><a href="/xxgk/" target="_blank">信息公开</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:10px;"><a href="/xxgk/gzxx/" target="_blank">工作信息</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:10px;"><a href="/xxgk/rsxx/" target="_blank">人事信息</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:10px;"><a href="/xxgk/gzxx/gzgg/" target="_blank">通知公告</a></li>');
document.write('          <li style="padding-left:20px;"><img src="/images/daohang_03.jpg" width="4" height="28"></li>');
document.write('          <li style="margin-top:10px; font-size:12px; padding-left:60px;"><script>document.write(customDateString(new Date()));</script></li>');
document.write('        </ul>');
document.write('      </div></td>');
document.write('  </tr>');
document.write('</table>');
