function form_check()
{
var l1=document.srch_form1.searchword.value.length;
   if(l1==0)
   {window.alert("请输入关健词!");
   document.srch_form1.searchword.focus();
   return (false);
   }
return true;
}
var ScriptHtml =  
{
		ycjyTop : function()
		{			
document.write("<table width=\"1000\" height=\"26\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"in_top\">");
document.write("  <tr>");
document.write("    <td width=\"360\" height=\"26\"><a href=\"http:\/\/rdb.shanghang.gov.cn\">县人大<\/a>|<a href=\"http:\/\/zx.shanghang.gov.cn\">县政协<\/a>|<a href=\"http:\/\/qfw.shanghang.gov.cn\">县纪委<\/a><\/td>");
document.write("    <td width=\"480\" align=\"right\"><a href=\"http:\/\/www.shanghang.gov.cn\">简体<\/a>|<a href=\"http:\/\/app.shanghang.gov.cn:82\/gate\/big5\/www.shanghang.gov.cn\/ycjy\">繁体<\/a>|<a href=\"\/rss\" target=\"_blank\">RSS订阅<\/a>|<a href=\"\/gxhdz\/yjdy\" target=\"_blank\">邮件订阅<\/a>|<a href=\"\/gxhdz\">个性化定制<\/a>|<a href=\"\/wzdhzs\">网站助手<\/a>|<a href=\"\/index_2268.htm\"  target=\"_blank\">手机门户<\/a><\/td>");
document.write("    <td width=\"22\">&nbsp;<\/td>");
document.write("    <td width=\"20\" height=\"24\" align=\"left\"><img src=\"\/images\/ico_set_home.gif\" width=\"18\" height=\"14\"><\/td>");
document.write("        <td width=\"68\" height=\"24\" align=\"left\"><a href=\"#\" onclick=\"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(location.href)\"; >设为首页<\/a><\/td>");
document.write("        <td width=\"20\" height=\"24\" align=\"left\"><img src=\"\/images\/ico_add_fav.gif\" width=\"18\" height=\"14\"><\/td>");
document.write("        <td width=\"68\" height=\"24\" align=\"left\"><a href=\"javascript:window.external.AddFavorite(location.href,document.title)\">加入收藏<\/a><\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<table width=\"1000\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("  <tr>");
document.write("    <td><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=7,0,19,0\" width=\"1000\" height=\"138\">");
document.write("        <param name=\"movie\" value=\"\/images\/ycjy_top.swf\" \/>");
document.write("        <param name=\"quality\" value=\"high\" \/>");
document.write("        <param name=\"wmode\" value=\"transparent\" \/>");
document.write("        <embed src=\"\/images\/ycjy_top.swf\" width=\"1000\" height=\"138\" quality=\"high\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" type=\"application\/x-shockwave-flash\" wmode=\"transparent\"><\/embed><\/object><\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
		},
		
		ycjyMenu : function()
		{
document.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("          <tr>");
document.write("            <td height=\"38\" align=\"left\" background=\"\/images\/ycjy_09.jpg\" bgcolor=\"#FF3300\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("  <tr>");
document.write("	<td  class=\"idx_menu idx_menu_on\" id=\"topmenu_00\" name=\"topmenu_tab\" onMouseOver=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onMouseOut=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"\/ycjy\" class=\"\">首 页<\/a><\/td>");
document.write("    <td align=\"center\" class=\"idx_menu\" id=\"topmenu_01\" name=\"topmenu_tab\" onmouseover=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onmouseout=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"http://www.shgbjypx.cn\" class=\"white tb t14\">干部教育培训<\/a><\/td>");

document.write("    <td align=\"center\" class=\"idx_menu\" id=\"topmenu_02\" name=\"topmenu_tab\" onmouseover=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onmouseout=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"\/ycjy\/zzgz\" class=\"white tb t14\">组织工作<\/a><\/td>");
document.write("    <td align=\"center\" class=\"idx_menu\" id=\"topmenu_03\" name=\"topmenu_tab\" onmouseover=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onmouseout=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"\/ycjy\/ycjy\" class=\"white tb t14\">远程教育<\/a><\/td>");
document.write("    <td align=\"center\" class=\"idx_menu\" id=\"topmenu_04\" name=\"topmenu_tab\" onmouseover=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onmouseout=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"\/ycjy\/yjdh\" class=\"white tb t14\">远教网站导航<\/a><\/td>");
document.write("<td align=\"center\" class=\"idx_menu\" id=\"topmenu_05\" name=\"topmenu_tab\" onmouseover=\"this.className=\'idx_menu idx_menu_on\'; showDiv(this);\" onmouseout=\"this.className=\'idx_menu\'; hideDiv(this,\'00\');\"><a href=\"http:\/\/www.fj12315.gov.cn\/index.aspx\" target=\"_blank\" class=\"white tb t14\">消费维权<\/a><\/td>");
document.write("  <\/tr>");
document.write("<\/table><\/td>");
document.write("            <td width=\"6\" height=\"38\">&nbsp;<\/td>");
document.write("            <td width=\"308\" height=\"38\" background=\".\/images\/in_srch_bg.jpg\" bgcolor=\"#F9B14D\"><form class=\"srch_form\" id=\"srch_form1\" target=\"_blank\" name=\"srch_form1\" method=\"post\" action=\"http://218.86.86.27:8081/was40/search\"  onSubmit=\"return form_check();\">");
document.write("<input type=\"hidden\" name=\"channelid\" value=\"53770\">");
document.write("              <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("  <tr>");
document.write("    <td width=\"26\" height=\"23\"><label for=\"textfield\"><img src=\"\/images\/ico_srch.gif\" alt=\"站内搜索\" width=\"22\" height=\"23\" align=\"absmiddle\"><\/label><\/td>");
document.write("    <td width=\"130\" height=\"23\"><input name=\"searchword\" type=\"text\" id=\"searchword\" size=\"15\"><\/td>");
document.write("    <td width=\"48\" height=\"23\"><input type=\"image\" src=\"\/images\/in_btn_srch.gif\" value=\"提交\"><\/td>");
document.write("    <td height=\"23\"><a href=\"http://app.shanghang.gov.cn:8081/was40/advsearch_shgov.jsp\" target=\"_blank\"><img src=\"\/images\/in_btn_srch_adv.gif\" value=\"高级搜索\" border=\"0\"><\/a><\/td>");
document.write("  <\/tr>");
document.write("<\/table><\/form>");
document.write("            <\/td>");
document.write("          <\/tr>");
document.write("    <\/table>");
document.write("      <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mar_bot_8\">");
document.write("        <tr>");
document.write("          <td width=\"4\" height=\"32\"><img src=\"\/images\/in_subnav_bg_l.jpg\"><\/td>");
document.write("          <td height=\"32\" background=\"\/images\/in_subnav_bg_m.jpg\" width=\"975px\" onMouseOver=\"clearTimer();\" onMouseOut=\"hideDiv(\'topmenu_00\',\'00\');\"> ");
document.write("			  <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"topmenu_00D\" name=\"topmenu_content\">");
document.write("              <tr>");
document.write("                <td width=\"280\" height=\"30\">");
this.write_date();
document.write("<\/td>");
document.write("                  <td height=\"30\" align=\"left\"><table width=\"600\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("                      <tr>");
document.write("                        <td width=\"24\" height=\"18\"><img src=\"\/images\/ico_weather.jpg\" alt=\"天气：\" width=\"22\" height=\"16\"><\/td>");
document.write("                        <td height=\"18\"><iframe src=\"http:\/\/m.weather.com.cn\/m\/pn8\/weather.htm?id=101230705T \" width=\"350\" height=\"21\" marginwidth=\"0\" marginheight=\"0\" hspace=\"0\" vspace=\"0\" frameborder=\"0\" scrolling=\"no\"  align=center id=url allowtransparency=\"true\"><\/iframe><\/td><td width=\"120\" align=\"right\"><a href=\"http:\/\/218.86.97.168\/default.aspx\" target=\"_blank\">远程教育旧版<\/a><\/td>");
document.write("  <td width=\"130\" height=\"30\" align=\"right\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"http:\/\/mail.shanghang.gov.cn\" target=\"_blank\"><img src=\"\/images\/ico_mail.gif\" height=\"18\" width=\"76\" border=\"0\"><\/a>");
document.write("<\/td>");
document.write("                      <\/tr>");
document.write("                    <\/table><\/td>");
document.write("                <\/tr>");
document.write("              <\/table>	");

document.write("<div id=\"topmenu_01D\" name=\"topmenu_content\" style=\"display:none; width:975px; height:30px; line-height:30px; text-indent:170px\"><a href=\"http://218.86.97.168:6000/product/website/news.do?method=showNewsFullList&newsDocumentBO.categoryBO.id=23\" target=\"_blank\">干教动态<\/a>　  <a href=\"http://218.86.97.168:6000/product/website/news.do?method=showNewsFullList&newsDocumentBO.categoryBO.id=41\" target=\"_blank\">最新视点<\/a>　  <a href=\"http://218.86.97.168:6000/product/jsp/website/studyGuid/index.html\" target=\"_blank\">入学指南<\/a>　  <a href=\"http://218.86.97.168:6000/product/website/news.do?method=showNewsFullList&newsDocumentBO.categoryBO.id=43\" target=\"_blank\">成果展示<\/a>　  <a href=\"http://218.86.97.168:6000/product/website/news.do?method=down&newsDocumentBO.categoryBO.id=25\" target=\"_blank\">下载中心<\/a><\/div>");

document.write("<div id=\"topmenu_02D\" name=\"topmenu_content\" style=\"display:none; width:975px; height:30px; line-height:30px; text-indent:280px\"><a href=\"/ycjy/zzgz/gg/\" target=\"_blank\">公告<\/a>　  <a href=\"/ycjy/zzgz/gzdt/\" target=\"_blank\">工作动态<\/a>　  <a href=\"/ycjy/zzgz/zgxx/\" target=\"_blank\">组工信息<\/a>　  <a href=\"/ycjy/zzgz/dcyj/\" target=\"_blank\">调查研究<\/a>　  <a href=\"/ycjy/zzgz/jczzjs/\" target=\"_blank\">基层组织建设<\/a>　  <a href=\"/ycjy/zzgz/dydwjs/\" target=\"_blank\">党员队伍建设<\/a>　  <a href=\"/ycjy/zzgz/gbdwjs/\" target=\"_blank\">干部队伍建设<\/a>　  <a href=\"/ycjy/zzgz/rcdwjs/\" target=\"_blank\">人才队伍建设<\/a>　  <a href=\"/ycjy/zzgz/djcx/\" target=\"_blank\">党建创新<\/a><\/div>");

document.write("<div id=\"topmenu_03D\" name=\"topmenu_content\" style=\"display:none; width:975px; height:30px; line-height:30px; text-indent:390px\"><a href=\"/ycjy/ycjy/wjdt/\" target=\"_blank\">远教动态<\/a><!--<a href=\"/ycjy/ycjy/wjzt/\" target=\"_blank\">远教专题<\/a>　  <a href=\"/ycjy/ycjy/wjyg/\" target=\"_blank\">远教预告<\/a>-->　  <a href=\"/ycjy/ycjy/gddt/\" target=\"_blank\">各地动态<\/a>　  <a href=\"/ycjy/ycjy/ztpx/\" target=\"_blank\">主题培训<\/a>　  <a href=\"/ycjy/ycjy/yjzy/\" target=\"_blank\">远教资源<\/a><\/div>");

document.write("<div id=\"topmenu_04D\" name=\"topmenu_content\" style=\"display:none; width:975px; height:30px; line-height:30px; text-indent:500px\"><a href=\"/ycjy/yjdh/wjwz/\" target=\"_blank\">远教网址导航<\/a>　  <a href=\"/ycjy/yjdh/djwz/\" target=\"_blank\">党建网站导航<\/a>　  <a href=\"/ycjy/yjdh/ncxxzhfw/\" target=\"_blank\">农村信息综合服务网站<\/a>　  <a href=\"/ycjy/yjdh/zfdh/\" target=\"_blank\">政府网站导航<\/a><\/div>");

document.write("<div id=\"topmenu_05D\" name=\"topmenu_content\" style=\"display:none; width:975px; height:30px; line-height:30px; text-indent:500px\"><\/div>");

document.write("<\/td><\/tr><\/table>");
		},
		
		ycjyFooter : function()
		{
document.write("<table width=\"1000\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" >");
document.write("  <tr>");
document.write("    <td height=\"30\" align=\"center\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("      <tr>");
document.write("        <td width=\"108\" align=\"center\" class=\"twhite tb\"><a href=\"/dhsm/dzdt/\" class=\"white\">站点地图<\/a><\/td>");
document.write("        <td width=\"2\"><img src=\"\/images\/11_153.jpg\" width=\"2\" height=\"13\" \/><\/td>");
document.write("        <td width=\"108\" align=\"center\" class=\"twhite tb\"><a href=\"/dhsm/gywz/\" class=\"white\">关于网站<\/a><\/td>");
document.write("        <td width=\"2\"><img src=\"\/images\/11_153.jpg\" width=\"2\" height=\"13\" \/><\/td>");
document.write("        <td width=\"108\" align=\"center\" class=\"twhite tb\"><a href=\"/dhsm/lxwm/\" class=\"white\">联系我们<\/a><\/td>");
document.write("        <td width=\"2\"><img src=\"\/images\/11_153.jpg\" width=\"2\" height=\"13\" \/><\/td>");
document.write("        <td width=\"108\" align=\"center\" class=\"twhite tb\"><a href=\"/dhsm/wzbz/\" class=\"white\">网站帮助<\/a><\/td>");
document.write("        <td width=\"2\"><img src=\"\/images\/11_153.jpg\" width=\"2\" height=\"13\" \/><\/td>");
document.write("        <td width=\"108\" align=\"center\" class=\"twhite tb\"><a href=\"/llfx/\" class=\"white\">网站统计<\/a><\/td>");
document.write("      <\/tr>");
document.write("    <\/table><\/td>");
document.write("  <\/tr>");
document.write("  <tr>");
document.write("    <td align=\"center\" class=\"h24 twhite\">主办：中共上杭县委 上杭县人民政府&nbsp;&nbsp;承办：上杭县数字上杭建设办公室<br \/>");
document.write("      闽ICP备09032653号&nbsp;&nbsp;联系电话：0597-3992696 &nbsp;&nbsp;E-Mail：zgshwzq@shanghang.gov.cn<br \/>");
document.write("      建议使用1024*768分辨率，16位以上颜色 Netscape6.0、IE6.0以上版本浏览器和中文大字符集<\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<script type=\"text\/javascript\" src=\"http:\/\/js.tongji.linezing.com\/1301466\/tongji.js\"><\/script><noscript><a href=\"http:\/\/www.linezing.com\"><img src=\"http:\/\/img.tongji.linezing.com\/1301466\/tongji.gif\"\/><\/a><\/noscript>");
		this.ycjyKeyDown();
		},
		
		ycjyKeyDown : function()
		{
			document.onkeydown = this.keyDown;			
		},
		
		keyDown : function (e)
		{
			var e=(typeof event!="undefined")?window.event:e;   // IE : Firefox
			var s=(document.getSelection)?document.getSelection():document.selection.createRange().text;
			if(e.ctrlKey && e.keyCode==13){
				if (s!="") 
				{
					window.open("/errorreport.htm","","width=600,height=400");
				}else{
					alert("请先用鼠标选择出错的内容片断！");
					return false;
				}
			}
		},
		
		write_date : function()
		{
			var week;
			if(new Date().getDay()==0)          week="星期日"
			if(new Date().getDay()==1)          week="星期一"
			if(new Date().getDay()==2)          week="星期二" 
			if(new Date().getDay()==3)          week="星期三"
			if(new Date().getDay()==4)          week="星期四"
			if(new Date().getDay()==5)          week="星期五"
			if(new Date().getDay()==6)          week="星期六"
document.write("今天是"+new Date().getFullYear()+"年"+(new Date().getMonth()+1)+"月"+new Date().getDate()+"日"+"  <span class=\"tred02 tb \"  style=\"color:#FF0000\">"+week+"</span>");
		}
};
