function SearchAction()
{
    if(document.xinhuaform.sw.value=="")   {       alert(" 请您输入关键词! ");	   return false;   }
    if(document.xinhuaform.st.value == "xhnet")	{	     window.open("http://search.xinhuanet.com/search/xhse.jsp?sw="+document.xinhuaform.sw.value,"searchwin1"); 	     return false;	}
	if(document.xinhuaform.st.value =="news")	{	   window.open("http://search.xinhuanet.com/search/searchnews.jsp?sw="+document.xinhuaform.sw.value,"searchwin2");	   return false;	}
	if(document.xinhuaform.st.value =="local"){  return true;	}
	return false;
}
function Year_Month(){  
    var now = new Date();  
    var yy = now.getYear();  
    var mm = now.getMonth()+1;  
    var cl = '<font color="#0000df">';  
    if (now.getDay() == 0) cl = '<font color="#c00000">';  
    if (now.getDay() == 6) cl = '<font color="#00c000">';  
    return(cl +  yy + '年' + mm + '月</font>');  
}  
 
function Date_of_Today(){  
    var now = new Date();  
    var cl = '<font color="#0000df">';  
    if (now.getDay() == 0) cl = '<font color="#c00000">';  
    if (now.getDay() == 6) cl = '<font color="#00c000">';  
    return(cl +  now.getDate() + '</font>');  
}  
 
function Day_of_Today(){  
    var day = new Array();  
    day[0] = "星期日";  
    day[1] = "星期一";  
    day[2] = "星期二";  
    day[3] = "星期三";  
    day[4] = "星期四";  
    day[5] = "星期五";  
    day[6] = "星期六";  
    var now = new Date();  
    var cl = '<font color="#0000df">';  
    if (now.getDay() == 0) cl = '<font color="#c00000">';  
    if (now.getDay() == 6) cl = '<font color="#00c000">';  
    return(cl +  day[now.getDay()] + '</font>');  
}  
 
function CurentTime(){  
    var now = new Date();  
    var hh = now.getHours();  
    var mm = now.getMinutes();  
    var ss = now.getTime() % 60000;  
    ss = (ss - (ss % 1000)) / 1000;  
    var clock = hh+':';  
    if (mm < 10) clock += '0';  
    clock += mm+':';  
    if (ss < 10) clock += '0';  
    clock += ss;  
    return(clock);  
}  
 
function refreshCalendarClock(){  
document.all.calendarClock1.innerHTML = Year_Month();  
document.all.calendarClock2.innerHTML = Date_of_Today();  
document.all.calendarClock3.innerHTML = Day_of_Today();  
document.all.calendarClock4.innerHTML = CurentTime();  
}  
 
function getCalendarClockFreeCodeMsg(nn){  
    if (nn == 'off') CalendarClockFreeCode.style.visibility = 'hidden';  
    else {  
       CalendarClockFreeCode.style.visibility = 'visible';  
       setTimeout("getCalendarClockFreeCodeMsg('off')",10000);  
    }  
} 
var i
  i='<table border="0" cellpadding="0" cellspacing="0" width="52" bgcolor="#C0C0C0" height="55">'
i+='<tr><td valign="top" width="100%" height="100%">'
i+='<table border="0" cellpadding="0" cellspacing="0" width="52" bgcolor="#ffffff" height="55">'
i+='<tr><td align="center" width="100%" height="100%">'
i+='<font id="calendarClock1" style="font-family:宋体;font-size:7pt;line-height:120%"> </font><br>'
i+='<font id="calendarClock2" style="font-family:Arial;font-size:14pt;line-height:120%"> </font><br>'
i+='<font id="calendarClock3" style="font-family:宋体;font-size:9pt;line-height:120%"> </font><br>'
i+='<font id="calendarClock4" style="color:#100080;font-family:宋体;font-size:8pt;line-height:120%"></font>'
i+='</td></tr></table>'
i+='</td></tr></table>'
 
setInterval('refreshCalendarClock()',1000);
document.writeln(" <table width=\"776\" height=\"20\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#666666\"> ");
document.writeln(" <tr> ");
document.writeln("  <td width=\"329\" valign=\"bottom\"> ");
document.writeln(" <TABLE height=\"20\" cellSpacing=\"0\" cellPadding=\"0\" width=\"329\" border=\"0\">");
document.writeln("<form action=http://mail.xinhuanet.com/NULL/NULL/NULL/NULL/NULL/SignIn.gen method=post name=login onSubmit=\"return checkform();\" target=_blank><tbody><tr><td width=\"99\" align=center valign=bottom><font color=\"#ffffcc\"> 邮箱用户名</font></td>");
document.writeln(" <td width=\"80\" align=center><input name=LoginName onFocus=this.select() onMouseOver=this.focus() size=6 style=\"HEIGHT: 16px; WIDTH: 80px\">");
document.writeln(" </td><td width=\"40\" align=center valign=bottom><font color=\"#ffffcc\">密码</font>");
document.writeln(" </td><td width=\"70\"> <input name=passwd onFocus=this.select() onMouseOver=this.focus() size=6 style=\"HEIGHT: 18px; WIDTH: 70px\" type=password></td><td width=\"70\" align=center> ");
document.writeln(" <input border=0 name=Submit src=\"http://www.sx.xinhuanet.com/images/btn_mail.gif\" type=image width=44></td><td width=\"50\" valign=\"bottom\"> <a href=\"http://mail.xinhuanet.com/\" target=_blank><font color=\"#ffffcc\">申请</font></a></td></tr></form></TBODY></table>");
document.writeln("</td> ");
document.writeln("  <td width=\"220\"> ");
document.writeln("<TABLE CELLSPACING=0 CELLPADDING=0 WIDTH=220 BORDER=0> ");
document.writeln("<FORM name=xinhuaform method=\"post\" ");
document.writeln(" action=\"http://search.xinhuanet.com/search/searchnewslocal.jsp\" onsubmit=\"return SearchAction()\">");
document.writeln(" <tr>  ");
document.writeln("  <td valign=\"bottom\"> ");
document.writeln("           <font color=\"#ffffcc\">搜索</font> ");
document.writeln("          <input name=sw  maxlength=\"25\"  style=\"WIDTH: 80px; HEIGHT: 16px\"> ");
document.writeln("              <select name=\"st\"> ");
document.writeln("                <option value=\"local\" selected>频道</option> ");
document.writeln("                <option value=\"xhnet\">总网</option> ");
document.writeln("                <option value=\"news\">新闻</option> ");
document.writeln("              </select> ");
document.writeln("     <INPUT TYPE=\"submit\" value=\"搜索\" style=\"WIDTH: 39px; HEIGHT: 16px\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"北京\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"上海\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"天津\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"重庆\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"安徽\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"河北\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"河南\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"海南\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"福建\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"广东\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"陕西\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"湖北\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"湖南\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"宁夏\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"内蒙古\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"青海\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"山东\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"山西\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"江西\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"甘肃\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"四川\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"云南\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"广西\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"江苏\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"吉林\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"辽宁\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"黑龙江\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"浙江\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"贵州\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"新疆\"> ");
document.writeln("              <input type=\"hidden\" name=\"sitename\" value=\"西藏\"> ");
document.writeln("              <input type=hidden name=\"searchtype\" value=\"1\"> ");
document.writeln("            </td> ");
document.writeln("          </tr> ");
document.writeln("        </form> ");
document.writeln(" </TABLE></td> ");
document.writeln("     <td width=\"217\" valign=\"bottom\"> ");
document.writeln(" <TABLE cellSpacing=\"0\" cellPadding=\"0\" width=\"217\" border=\"0\"> ");
document.writeln("       <TBODY> ");
document.writeln("         <TR bgColor=\"#666666\"> ");
document.writeln("           <TD vAlign=\"bottom\" align=\"middle\" width=\"100\"> ");
document.writeln(" <A href=\"http://www.xinhuanet.com/info.htm\" target=\"_blank\"><B> ");
document.writeln(" <FONT color=\"#ffffcc\">新华社新闻信息</FONT></B></A></TD> ");
document.writeln("           <TD vAlign=\"bottom\" align=\"middle\" width=\"110\"> ");
document.writeln(" <IFRAME border=\"0\" name=\"bk\" marginWidth=\"0\" frameSpacing=\"0\" ");
document.writeln("             marginHeight=\"0\" src=\"http://www.sx.xinhuanet.com/images/home_bk2.htm\" frameBorder=\"0\"  ");
document.writeln("             noResize width=\"110\" scrolling=no height=\"22\" vspale=\"0\"></IFRAME></TD> ");
document.writeln(" </TR></TBODY></TABLE></td></tr> ");
document.writeln(" <tr> ");
document.writeln(" <td height=\"2\" colspan=\"3\" bgcolor=\"#000000\"><img src=\"http://www.sx.xinhuanet.com/images/spacer.gif\" width=\"1\" height=\"1\"></td> ");
document.writeln("   </tr> ");
document.writeln(" </table> ");
document.writeln(" <table width=\"776\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"> ");
document.writeln("   <tr> ");
document.writeln("     <td width=\"180\"> ");
document.writeln("       <table width=\"180\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> ");
document.writeln("         <tr> ");
document.writeln(" <td align=\"center\"><img src=\"http://www.sx.xinhuanet.com/model0403/images/sx-xhlog.gif\" width=\"180\" height=\"75\"></td>");
document.writeln(" </tr>");
document.writeln(" <tr>");
document.writeln(" <td align=\"center\"><img src=\"http://www.sx.xinhuanet.com/images/sxpd.gif\" width=\"180\" height=\"60\"></td>");
document.writeln(" </tr>");
document.writeln(" </table></td>");
document.writeln("  <td width=\"596\"><table width=\"596\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr height=\"24\">");
document.writeln(" <td align=\"center\" bgcolor=\"#1063b5\">");
document.writeln(" <a href=\"http://www.sx.xinhuanet.com\" target=\"_self\" class=\"w13\">频道首页</a> ");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/newscenter/\" target=\"_blank\" class=\"w13\">要闻</a> ");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/sq/index.htm\" target=\"_blank\" class=\"w13\">省情</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/sxzw/\" target=\"_blank\" class=\"w13\">政务</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/mtjc/index.htm\" target=\"_blank\" class=\"w13\">媒体</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/shsh/index.htm\" target=\"_blank\" class=\"w13\">社会</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/jy/\" target=\"_blank\" class=\"w13\">教育</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/jdwt/index.htm\" target=\"_blank\" class=\"w13\">网谈</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/sxys/index.htm\" target=\"_blank\" class=\"w13\">视听</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/ztjn/index.htm\" target=\"_blank\" class=\"w13\">专题</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/tpbd/index.htm\" target=\"_blank\" class=\"w13\">图片</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/renshi/index.htm\" target=\"_blank\" class=\"w13\">人物</a>");
document.writeln(" </td>");
document.writeln("      </tr> ");
document.writeln(" <tr><td bgcolor=\"#ffffff\" height=\"1\"><img src=\"http://www.sx.xinhuanet.com/images/spacer.gif\" width=\"1\" height=\"1\"></td></tr>");
document.writeln("      <tr height=\"24\"> ");
document.writeln("  <td align=\"center\" bgcolor=\"#2777c5\">");
document.writeln(" <a href=\"http://www.sx.xinhuanet.com/dfzx/sxwq.htm\" target=\"_blank\" class=\"w13\">山西网群</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/lyrx/index.htm\" target=\"_blank\" class=\"w13\">旅游</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/disport/\" target=\"_blank\" class=\"w13\">娱乐</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/life/\" target=\"_blank\" class=\"w13\">生活</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/yingsi\" target=\"_blank\" class=\"w13\">饮食</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/fanchang/index.htm\" target=\"_blank\" class=\"w13\">房产</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/job/\" target=\"_blank\" class=\"w13\">就业</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/auto/\" target=\"_blank\" class=\"w13\">汽车</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/duanxin.htm\" target=\"_blank\" class=\"w13\">短信</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/mingpai/index.htm\" target=\"_blank\" class=\"w13\">名牌</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/it/\" target=\"_blank\" class=\"w13\">ＩＴ</a>");
document.writeln("　<a href=\"http://www.sx.xinhuanet.com/qywy/index.htm\" target=\"_blank\" class=\"w13\">健康</a>");
document.writeln(" </td>");
document.writeln("       </tr> ");
document.writeln("       <tr> ");
document.writeln("         <td><table width=\"596\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> ");
document.writeln("           <tr> ");
document.writeln("             <td width=\"530\" align=\"center\" height=\"87\"> <OBJECT CLASSID=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" CODEBASE=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" WIDTH=\"500\" HEIGHT=\"80\"> <PARAM NAME=movie VALUE=\"http://www.sx.xinhuanet.com/images/flash/sxlh0401.swf\"><PARAM NAME=quality VALUE=high><EMBED SRC=\"http://www.sx.xinhuanet.com/images/flash/sxlh0401.swf\" QUALITY=high PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" TYPE=\"application/x-shockwave-flash\" WIDTH=\"500\" HEIGHT=\"80\"> </EMBED></OBJECT></td>");
document.writeln("  <td width=\"66\"><table><tr><td align=\"center\">");
document.write(i)
document.writeln("</td></tr></table></td>");
document.writeln("   </tr>");
document.writeln(" </table></td>");
document.writeln(" </tr>");
document.writeln(" </table></td>");
document.writeln(" </tr>");
document.writeln(" </table>");