function doSearch(form) {
               if (form.service.selectedIndex == 0) {
                document.searchForm0.search.value = form.query.value;
                document.searchForm0.submit();
        }
              
        else if (form.service.selectedIndex == 1) {
                document.searchForm1.search.value = form.query.value;
                document.searchForm1.submit();
        }

        else if (form.service.selectedIndex == 2) {
                document.searchForm2.search.value = form.query.value;
                document.searchForm2.submit();
        }

        else if (form.service.selectedIndex == 3) {
                document.searchForm3.p.value = form.query.value;
                document.searchForm3.submit();
        }


        else if (form.service.selectedIndex == 4) {
                document.searchForm4.p.value = form.query.value;
                document.searchForm4.submit();

       }
        else if (form.service.selectedIndex == 5) {
                document.searchForm5.q.value = form.query.value;
                document.searchForm5.submit();
        }        

        return false;
}

www_tagin_net="<table cellpadding=0 cellspacing=0 width=100% background=../img/bg_search.gif height=52> <tr>" + 
"           <TD align=right width=138 height=49> " + 
"                                    <P align=center><span style=font-size:12pt;>ÅÂ±×ÀÎ³Ý</span><b><font color=#999999><span style=font-size:12pt;> </span></font><span style=font-size:12pt;><font color=#3EA2C1>°Ë»ö</font></span></b></P></TD>" + 
"                                         <TD vAlign=center align=right width=603 height=49>" + 
"<DIV align=left>" + 
"                                                   <TABLE style=FONT-FAMILY: ±¼¸² cellSpacing=0 cellPadding=0 width= border=0 font-size:9pt;> " + 
"                                                    <TBODY>" + 
"                                                        <TR>" + 
"                                                          <TD  style=PADDING-LEFT: 3px width=100 height=20>" + 
"                                                  " + 
"												  " + 
"												   <P><form method=get onSubmit='return doSearch(this);'>" + 
"    <select name=service>" + 
"        <option value=0>ÀÚ¹Ù½ºÅ©¸³Æ®</option>" + 
"        <option value=1 selected>µ¿¿µ»ó ÆíÁý</option>" + 
"        <option value=2>°èÁ¤ DB °ü¸®</option>" + 
"    </select></P></TD> " + 
"                                                           <TD style=PADDING-LEFT: 4px width= bgColor=#f7f7f7 height=20 valign=top> " + 
"" + 
"                                                              <P align=left> &nbsp;<input type=text name=query size= maxlength=30 border=0 style=width=150; value=> <input type=submit SRC=http://id.emimg.com/imgdir/00/00/00/23/04/00230418_2.jpg width=42  alt= border=0 height=19 value=' °Ë»ö '>	 <td  height=20 valign=middle><a href=http://blog.paran.com/taginnet/4632845 target=new><font  size=2> &nbsp;¾Ç¼ºÄÚµå ¹«·áÄ¡·á ´Ù¿î·Îµå</font></a></td>	  " + 
"															  " + 
"															  </TR></TBODY></form>" + 
"															  " + 
"															  " + 
"															  " + 
"	<form name=searchForm0 method=get action=http://tagin.net/bbs/ssearch.php>" + 
"   <INPUT TYPE=hidden NAME=ss value=1>" + 
"<input type=hidden name=sno value=1>" + 
"<input type=hidden name=siche value=search>" + 
"<input type=hidden name=page value=1>" + 
"<input type=hidden name=oga value=and>" + 
"<input type=hidden name=sn value=>" + 
"<input type=hidden name=ss value=1>" + 
"<input type=hidden name=sm value=>" + 
"		        <INPUT TYPE=hidden NAME=search>" + 
"      </form>" + 
"       " + 
"	<form name=searchForm1 method=get action=http://tagin.net/bbs/ssearch.php>" + 
"   <INPUT TYPE=hidden NAME=ss value=1>" + 
"<input type=hidden name=sno value=4>" + 
"<input type=hidden name=siche value=search>" + 
"<input type=hidden name=page value=1>" + 
"<input type=hidden name=oga value=and>" + 
"<input type=hidden name=sn value=>" + 
"<input type=hidden name=ss value=1>" + 
"<input type=hidden name=sm value=1>" + 
"		        <INPUT TYPE=hidden NAME=search>" + 
"      </form>" + 
"" + 
"	<form name=searchForm2 method=get action=http://tagin.net/bbs/ssearch.php>" + 
"   <INPUT TYPE=hidden NAME=ss value=1>" + 
"<input type=hidden name=sno value=5>" + 
"<input type=hidden name=siche value=search>" + 
"<input type=hidden name=page value=1>" + 
"<input type=hidden name=oga value=and>" + 
"<input type=hidden name=sn value=>" + 
"<input type=hidden name=ss value=1>" + 
"<input type=hidden name=sm value=1>" + 
"		        <INPUT TYPE=hidden NAME=search>" + 
"      </form>									</TABLE></DIV></TD> " + 
"                           </tr> " + 
"                </table>"

document.write(www_tagin_net)



