function searData()
{
var content=document.searForm.content.value;
if(content=="")
{
alert("请输入搜索的内容！");
document.searForm.content.focus();
return false;
}
sTypeFlag=searForm.sTypeFlag.value;
if (sTypeFlag=="1")
	searForm.action="../news/Search.asp";
if (sTypeFlag=="3")
	searForm.action="../creation/groupSearch.asp";
if (sTypeFlag=="2")
	{window.location.href="../creation/Search_list.asp?f=title&w="+escape(content);return false;}
if (sTypeFlag=="4")
	{window.location.href="../creation/Search_list.asp?f=id&w="+escape(content);return false;}
if (sTypeFlag=="5")
	{window.location.href="../creation/Search_list.asp?f=author&w="+escape(content);return false;}	
//searForm.submit();
}
document.writeln('      <table width="180" height="35" border="0" align="center" cellpadding="0" cellspacing="0" background="../images/lbar_bg.gif" style="margin-top:8px">');
document.writeln('        <tr>');
document.writeln('          <td valign="bottom"><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" >');
document.writeln('              <tr>');
document.writeln('                <td height="30"><span class="white14b">全站搜索</span></td>');
document.writeln('              </tr>');
document.writeln('          </table></td>');
document.writeln('        </tr>');
document.writeln('      </table>');
document.writeln('      <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px">');
document.writeln('        <tr>');
document.writeln('          <td width="25%" bgcolor="#B03500"><img src="../images/ems3_79.jpg" width="5" height="5" /></td>');
document.writeln('          <td width="71%" align="right" bgcolor="#B03500"><img src="../images/ems3_82.jpg" width="5" height="5" /></td>');
document.writeln('        </tr>');
document.writeln('        <tr>');
document.writeln('          <td colspan="2" bgcolor="#B03500"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="2">');
document.writeln('              <tr><form name=searForm method=post onSubmit="return searData()">');
document.writeln('                <td><label>');
document.writeln('                  <input type="text" name="content" value="" />');
document.writeln('                </label></td>');
document.writeln('              </tr>');
document.writeln('              <tr>');
document.writeln('              <INPUT TYPE="hidden" name="selectorder" value="title">');
document.writeln('                <td><label>');
document.writeln('                  <select name="sTypeFlag">');
document.writeln('                  <option  value="2">参赛作品标题</option>');
document.writeln('                  <option  value="4">参赛作品编号</option>');
document.writeln('                  <option  value="5">参赛作品作者</option>');
document.writeln('                  <option  value="1">大赛焦点</option>');
document.writeln('                  <option  value="3">社团搜索</option>');
document.writeln('                  </select>');
document.writeln('                </label></td>');
document.writeln('              </tr>');
document.writeln('              <tr>');
document.writeln('                <td><input type=image src="../images/button_search.jpg" width="102" height="32" /></td>');
document.writeln('              </tr></form>');
document.writeln('          </table></td>');
document.writeln('        </tr>');
document.writeln('        <tr>');
document.writeln('          <td bgcolor="#B03500"><img src="../images/ems3_90.jpg" width="5" height="5" /></td>');
document.writeln('          <td align="right" bgcolor="#B03500"><img src="../images/ems3_92.jpg" width="5" height="5" /></td>');
document.writeln('        </tr>');
document.writeln('      </table>');
