document.writeln("<table width=\"135\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr>");
document.writeln("    <FORM name=fsxinhuaform method=\"post\" action=\"http://search.xinhuanet.com/search/searchnewslocal.jsp\" target=\"_blank\" onsubmit=\"return fsSearchAction('四川')\">");
document.writeln("<td width=\"105\"><input class=form1 name=sw  maxlength=\"256\" style=\"WIDTH: 85px;HEIGHT: 18px;FONT-SIZE: 9pt\">");
document.writeln("</td><td height=\"25\" width=\"30\" valign=\"bottom\">");
document.writeln("<input type=image height=19 width=39 src=\"images/bbs_search.gif\">");
document.writeln("</td>");
document.writeln(" <input type=\"hidden\" name=\"sitename\" value=\"四川\">");
document.writeln("<input type=hidden name=\"searchtype\" value=\"1\">");
document.writeln("</td>  </FORM></tr>");
document.writeln("</table>");
// -------------------------------------------------------------------
function SearchAction()
{
    if(document.xinhuaform.sw.value=="")   {       alert(" 请您输入关键词! ");	   return false;   }
    if(document.xinhuaform.st.value == "xhnet")	{	     document.location="http://202.84.17.208/search/searchnewslocal.jsp?sw="+document.fsxinhuaform.sw.value+"&searchtype=1&sitename="+('四川');return false;	}
	if(document.xinhuaform.st.value =="news")	{	   document.location="http://202.84.17.208/search/searchnewslocal.jsp?sw="+document.fsxinhuaform.sw.value+"&searchtype=1&sitename="+('四川');return false;}
	if(document.xinhuaform.st.value =="local"){  return true;	}
	return false;
}

function fsSearchAction(channelName)
{
    if(document.fsxinhuaform.sw.value=="")   {       alert(" 请您输入关键词! ");	   return false;   }
    if(document.fsxinhuaform.st.value == "xhnet")	{	    document.location="http://202.84.17.208/search/searchnewslocal.jsp?sw="+document.fsxinhuaform.sw.value+"&searchtype=1&sitename="+('四川');return false;	}
	if(document.fsxinhuaform.st.value =="local")	{	   document.location="http://202.84.17.208/search/searchnewslocal.jsp?sw="+document.fsxinhuaform.sw.value+"&searchtype=1&sitename="+('四川');return false;	}
	if(document.fsxinhuaform.st.value =="all")	{	   return true;	}
	return false;
}
// -------------------------------------------------------------------