<!-- HEAD START HERE --> <script language="JavaScript"> function startSearch(){ searchString = document.searchForm.searchText.value; if(searchString != ""){ searchEngine = document.searchForm.whichEngine.selectedIndex + 1; finalSearchString = ""; if(searchEngine == 1){ finalSearchString = "http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q=" + searchString; } if(searchEngine == 2){ finalSearchString = "http://av.yahoo.com/bin/query?p=" + searchString + "&hc=0&hs=0"; } if(searchEngine == 3){ finalSearchString = "http://www.excite.com/search.gw?trace=a&search=" + searchString; } if(searchEngine == 4){ finalSearchString = "http://www.hotbot.com/?SW=web&SM=MC&MT=" + searchString + "&DC=10&DE=2&RG=NA&_v=2&act.search.x=89&act.search.y=7"; } if(searchEngine == 5){ finalSearchString = "http://www.infoseek.com/Titles?qt=" + searchString + "&col=WW&sv=IS&lk=noframes&nh=10"; } if(searchEngine == 6){ finalSearchString = "http://www.lycos.com/cgi-bin/pursuit?adv=%26adv%3B&cat=lycos&matchmode=and&query=" + searchString + "&x=45&y=11"; } if(searchEngine == 7){ finalSearchString = "http://netfind.aol.com/search.gw?search=" + searchString + "&c=web&lk=excite_netfind_us&src=1"; } location.href = finalSearchString; } } //--></script> <!-- HEAD END HERE --> </head> <body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0"> <center> <!-- BODY START HERE --> <form name="searchForm"> <div align="center"> <center> <table border="1" cellpadding="5" bordercolor="white" cellspacing="0"> <tr> <td width="250"> <p align="center"><font size=3 face=verdana><b>Что искать:</b></font></p> <p align="center"><input style="background: yellow" name="searchText" type="text" size="30"></p> </td> </tr> <tr align="center"> <td width="250"> <p align="center"><font size="3" face="verdana">Где искать:</font></p> <p align="center"><select style="background: yellow" name="whichEngine" size="1"> <option selected>Altavista</option> <option>Yahoo!</option> <option>Excite</option> <option>Hotbot</option> <option>Infoseek</option> <option>Lycos</option> <option>AOL Netfind</option> </select></p> </td> </tr> <tr align="center"> <td width="250"> <p align="center"> <input type="button" value="Искать" onclick="startSearch()"> </p> </td> </tr> </table> </center> </div> </form> <!-- BODY END HERE -->
|