/*@@ 调用模板
<script language="jscript">
	var strPath, strLang
	strPath = "";
	strLang = "";
	HzyyBody(strPath,strLang);
	HzyyUpFrame(strPath,strLang);
	HzyyMidFrameUpPart(strPath,strLang);
</script>

<script language="jscript">
	HzyyMidFrameDownPart(strPath,strLang);
	HzyyBtmFrame(strPath,strLang);
</script>

*/

function HzyyBody(strPath,strLang)
{
	//document.write('<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 background="'+strPath+'images/content_background.gif" style="background-repeat:repeat-x;">');
	document.write('<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 >');
}

function HzyyUpFrame(strPath,strLang)
{
	var imgHead1,imgHead2;
	if(strLang=="en")
	{
		imgHead1 = "images/content_image1.gif";
		imgHead2 = "images/content_image2.jpg";
	}
	else
	{
		imgHead1 = "images/content_image11.gif";
		imgHead2 = "images/content_image22.gif";
	}
	
//@@ Outest Table Begin
	document.write('<TABLE width="740px" align="center" BORDER=0 CELLPADDING=0 CELLSPACING=0>');
	
	//1 row
	document.write('<TR><TD COLSPAN=5 height="65" background="'+strPath+'images/content_background.gif">');
	document.write('<table width="100%" border="0" cellspacing="2" cellpadding="2">');
	document.write('<tr><td>');
	document.write('<img src="'+strPath+'images/未标题-1.gif" width="351" height="54">');
	document.write('</td>');
	document.write('<td valign="bottom">');
	document.write('<div align="right" ><form name="WebSearch" method="post" action="#" ID="WebSearch">');
	document.write('站内简单搜索：&nbsp;<input name="jsc" type="text" class="text" size="20" ID="Text2">&nbsp;<input name="dbtable" type="radio" value="GW_YIYAO" checked ID="Radio1">国外&nbsp;<input name="dbtable" type="radio" value="0" ID="Radio2">国内&nbsp;');
	document.write('<a href="#" onclick="jscript:Check('+"'"+strPath+"'"+');"><img src="'+strPath+'images/arrow22.gif" border="0" width="14" height="13" align="absmiddle"></a>');
	document.write('</form></div>');
	document.write('</td></tr>');
	document.write('</table>');
	document.write('</TD></TR>');

	//2 row
	document.write('<TR>');
	document.write('<TD COLSPAN=3 valign="top" height="18"><IMG SRC="'+strPath+'images/gray1.gif" WIDTH=370 HEIGHT=63 ALT=""></TD>');
	document.write('<TD valign="top" height="18"> <img src="'+strPath+imgHead1+'" width="176" height="63"></TD>');
	document.write('<TD valign="top" height="18"> <img src="'+strPath+imgHead2+'" width="194" height="63"></TD>');
	document.write('</TR>');
	
	

}

function HzyyMidFrameUpPart(strPath,strLang)
{
	var imgHead1,imgHead2,imgHead3;
	if(strLang=="en")
	{
		imgHead1 = "images/content_image3.gif";
		imgHead2 = "images/content_gray1.jpg";
		imgHead3 = "images/content_image4.gif"
	}
	else
	{
		imgHead1 = "images/content_image33.gif";
		imgHead2 = "images/content_gray1.jpg";
		imgHead3 = "images/content_image41.gif"
	}
	
	
	//3 row	
	document.write('<TR>');  
	  //Left
		document.write('<TD ROWSPAN=3 bgcolor="#999999" valign="top">');	
			HzyyMemu(strPath,strLang);		//调用菜单
		document.write('</TD>');
	  //Right
		document.write('<TD valign="top" height="2"> <img src="'+strPath+imgHead1+'" width="139" height="30"></TD>');
		document.write('<TD COLSPAN=2 valign="top" height="2"> <IMG SRC="'+strPath+imgHead2+'" WIDTH=271 HEIGHT=30 ALT=""></TD>');	 
		document.write('<TD valign="top" height="2"> <img src="'+strPath+imgHead3+'" width="194" height="30"></TD>');	 
	document.write('</TR>');   			
	

	//4 row	
	//alert("screen.width="+screen.width);
	document.write('<TR>'); 
		document.write('<TD COLSPAN=4 valign="top" height="2"> <IMG SRC="'+strPath+'images/sub_title_bar.jpg" WIDTH=604 HEIGHT=46 ALT=""></TD>');	 	
	document.write('</TR>');  
	
	
}

function HzyyMidFrameDownPart(strPath,strLang)
{
	
	//6 row	
	document.write('<TR>');	 	
	document.write('<TD><IMG SRC="../images/spacer.gif" WIDTH=136 HEIGHT=1 ALT=""></TD>');	 	
	document.write('<TD><IMG SRC="../images/spacer.gif" WIDTH=139 HEIGHT=1 ALT=""></TD>');	 	
	document.write('<TD><IMG SRC="../images/spacer.gif" WIDTH=95 HEIGHT=1 ALT=""></TD>');	 	
	document.write('<TD><IMG SRC="../images/spacer.gif" WIDTH=176 HEIGHT=1 ALT=""></TD>');	 	
	document.write('<TD><IMG SRC="../images/spacer.gif" WIDTH=194 HEIGHT=1 ALT=""></TD>');	 	
	document.write('</TR>');	 	
	
//@@ Outest Table End
	document.write('</TABLE>');
		
}

function HzyyBtmFrame(strPath,strLang)
{
	document.write('<TABLE cellSpacing="0" cellPadding="0" width="740px" align="center" border="0" ID="Table11">');
	document.write('<TBODY>');
	document.write('<TR>');
	document.write('<TD bgColor="#cccccc" valign="top" height="30px"><div align="center" width="740px" height="30px"><SPAN class="style39"><font style="color:#000000;FONT-SIZE:9pt;line-height:1.9em;">杭州市科技信息研究院主办</font>&nbsp; </SPAN></div></TD>');
	document.write('</TR>');
	document.write('</TBODY>');
	document.write('</TABLE>');
}

function HzyyMemu(strPath,strLang)
{
	document.write('<table width="100%" border="0" cellspacing="3" cellpadding="3">');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'index.html">首&#12288;&#12288;页</a></span></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a href="'+strPath+'guowaiindex.html">国外信息</a></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a href="'+strPath+'guoneiindex.html">国内信息</a></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'contactus.htm">联系我们</a></span></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'link.html">友情链接</a></span></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'employee/login.asp">会&nbsp;员&nbsp;区</a></span></td></tr>');
	//document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a target="_blank" href="http://yiyao2.ip.gov.cn/">旧版入口</a></td></tr>');
	document.write('</table>');
	
}



function HzyyLeaguerMidFrameUpPart(strPath,strLang)
{
	var imgHead1,imgHead2,imgHead3;
	if(strLang=="en")
	{
		imgHead1 = "images/content_image3.gif";
		imgHead2 = "images/content_gray1.jpg";
		imgHead3 = "images/content_image4.gif"
	}
	else
	{
		imgHead1 = "images/content_image33.gif";
		imgHead2 = "images/content_gray1.jpg";
		imgHead3 = "images/content_image41.gif"
	}
	
	
	//3 row	
	document.write('<TR>');  
	  //Left
		document.write('<TD ROWSPAN=3 bgcolor="#999999" valign="top">');	
			HzyyLeaguerMemu(strPath,strLang);		//调用菜单
		document.write('</TD>');
	  //Right
		document.write('<TD valign="top" height="2"> <img src="'+strPath+imgHead1+'" width="139" height="30"></TD>');
		document.write('<TD COLSPAN=2 valign="top" height="2"> <IMG SRC="'+strPath+imgHead2+'" WIDTH=271 HEIGHT=30 ALT=""></TD>');	 
		document.write('<TD valign="top" height="2"> <img src="'+strPath+imgHead3+'" width="194" height="30"></TD>');	 
	document.write('</TR>');   			
	

	//4 row	
	//alert("screen.width="+screen.width);
	document.write('<TR>'); 
		document.write('<TD COLSPAN=4 valign="top" height="2"> <IMG SRC="'+strPath+'images/sub_title_bar.jpg" WIDTH=604 HEIGHT=46 ALT=""></TD>');	 	
	document.write('</TR>');  
	
	
}


function HzyyLeaguerMemu(strPath,strLang)
{
	document.write('<table width="100%" border="0" cellspacing="3" cellpadding="3">');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'employee/prob_refer.asp">问题提交</a></span></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a href="'+strPath+'employee/prob_listview.asp">问题反馈</a></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a href="'+strPath+'employee/lgrinfo_mdfy.asp">个人信息修改</a></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'employee/pwd_mdfy.asp">密码修改</a></span></td></tr>');
	document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><span class="style1"><a href="'+strPath+'employee/out.htm">退出系统</a></span></td></tr>');
	//document.write('<tr><td><img src="'+strPath+'images/arrow.gif" width="18" height="10"><a target="_blank" href="http://yiyao2.ip.gov.cn/">旧版入口</a></td></tr>');
	document.write('</table>');
	
}