function okh(){
 if(infoActionFormh.ckeyword.value==null||infoActionFormh.ckeyword.value=="" ||document.infoActionFormh.ckeyword.value=="请输入关键字"){
       alert("关键字不能空");
       return false;
   }else{
         if(infoActionFormh.carticletitle.value==null||infoActionFormh.carticletitle.value==""){
           alert("关键字类型不能空");
           return false;
        }
   }
infoActionFormh.submit();
}

function clearStr(){
	document.infoActionFormh.ckeyword.value="";
}
document.writeln(" <h1 class=\"index_leftcur1\"><img src=\"\/images\/laworder_30.gif\" \/><\/h1>");
document.writeln("    <div class=\"index_leftcur0\">");
document.writeln("      <p>网上搜索<\/p>");
document.writeln("	   <form name=\"infoActionFormh\" method=\"post\"  action=\"\/searchservlet.go\">");
document.writeln("      <table width=\"240\" border=\"0\"  style=\"margin-top:5px;\">");
document.writeln("        <tr>");
document.writeln("          <td height=\"25\"><select name=\"carticletitle\" style=\"width:125px;margin-left:20px;\">");
document.writeln("            <option>选择关键字类型<\/option>");
document.writeln("            <option value=\"1\">-在标题中搜索-<\/option>");
document.writeln("            <option value=\"2\">-在内容中搜索-<\/option>");
document.writeln("          <\/select><\/td>");
document.writeln("        <\/tr>");
document.writeln("        <tr>");
document.writeln("          <td height=\"25\"><input name=\"ckeyword\" type=\"text\" onfocus=\"javascript:clearStr();\" style=\"width:120px;margin-left:20px;\" value=\"请输入关键字\"\/><\/td>");
document.writeln("        <\/tr>");
document.writeln("        <tr>");
document.writeln("          <td><input type=\"image\" src=\"\/images\/laworder_21.gif\" width=\"68\" height=\"24\" onClick=\"javascript:return okh();\" style=\"margin-left:20px;margin-left:76px;\"\/><\/td>");
document.writeln("        <\/tr>");
document.writeln("      <\/table>");
document.writeln("	  <\/form>");
document.writeln("    <\/div>")