/*
Here are the search engine URLs you can use for this script
Please do not change any of the URLs and copy them exactly as they are written
 
 Yahoo		 "http://search.yahoo.com/bin/search?p=" + document.search.search2.value + ""
 Go.com  	 "http://www.go.com/Titles?col=WW&qt=" + document.search.search2.value + "&svx=home_searchbox&sv=IS&lk=noframes"
 Netscape	 "http://search.netscape.com/cgi-bin/search?search=" + document.search.search2.value + ""
 AltaVista	 "http://www.altavista.com/cgi-bin/query?pg=q&sc=on&q=" + document.search.search2.value + "&kl=XX&stype=stext&search.x=23&search.y=11"
 Excite		 "http://search.excite.com/search.gw?search=" + document.search.search2.value + ""
 Lycos		 "http://www.lycos.com/srch/?lpv=1&loc=searchhp&query=" + document.search.search2.value + "&x=23&y=12"
 Ask Jeeves	 "http://www.ask.com/main/askjeeves.asp?ask=" + document.search.search2.value + "&origin=&site_name=Jeeves&metasearch=yes"
 HotBot		 "http://hotbot.lycos.com/?MT=" + document.search.search2.value + "&SM=MC&DV=0&LG=any&DC=10&DE=2&BT=H&Search.x=30&Search.y=7"
 Snap		 "http://www.snap.com/search/directory/results/1,61,-0,00.html?tag=st.v2.fdsb.1&keyword=" + document.search.search2.value + ""
 Northern Light	 "http://www.northernlight.com/nlquery.fcg?cb=0&qr=" + document.search.search2.value + "&orl=&search.x=24&search.y=10"
 Magellan	 "http://magellan.excite.com/search.gw?search=" + document.search.search2.value + "&look=magellan&x=20&y=12"
 Direct Hit	 "http://www.directhit.com/fcgi-bin/DirectHitWeb.fcg?service=web&type=srch&fmt=html&template=search&qry=" + document.search.search2.value + "&submit.x=42&submit.y=4"
 GoTo		 "http://www.goto.com/d/search/;$sessionid$DQ524IYAACAVJQFIEFNAPUQ?type=home&Keywords=" + document.search.search2.value + "&Find+It%21.x=23&Find+It%21.y=23"
 SavvySearch	 "http://www.savvysearch.com/search?q=" + document.search.search2.value + "&op=a&cat="
 MetaCrawler	 "http://search.metacrawler.com/crawler?general=" + document.search.search2.value + "&method=0&target=&region=0&timeout=0&sort=0&refer=mc-go2net&swizzled=1"
 WebCrawler	 "http://www.webcrawler.com/cgi-bin/WebQuery?searchText=" + document.search.search2.value + ""
 Google		 "http://www.google.com/search?q=" + document.search.search2.value + ""
 MSN		 "http://search.msn.com/results.asp?co=20&RS=CHECKED&FORM=MSNH&ba=0&v=1&q=" + document.search.search2.value + ""
*/

function searchengine() {
  if (document.search.search1[0].selected) {
    window.parent.location.href = ""
  }
  if (document.search.search1[1].selected) {
    window.parent.location.href = "http://www.google.com/search?q=" + document.search.search2.value + "";
  }
  if (document.search.search1[2].selected) {
    window.parent.location.href = "http://www.altavista.com/cgi-bin/query?pg=q&sc=on&q=" + document.search.search2.value + "&kl=XX&stype=stext&search.x=23&search.y="
  }
  if (document.search.search1[3].selected) {
    window.parent.location.href = "http://www.lycos.com/srch/?lpv=1&loc=searchhp&query=" + document.search.search2.value  + "&x=23&y=12"
  }
  if (document.search.search1[4].selected) {
    window.parent.location.href = "http://search.excite.com/search.gw?search=" + document.search.search2.value + ""
  }
  if (document.search.search1[5].selected) {
    window.parent.location.href = "http://search.yahoo.com/bin/search?p=" + document.search.search2.value + ""
  }
  if (document.search.search1[6].selected) {
    window.parent.location.href = "http://www.northernlight.com/nlquery.fcg?cb=0&qr=" + document.search.search2.value +  "&orl=&search.x=24&search.y=10"
  }
  if (document.search.search1[7].selected) {
    window.parent.location.href = "http://hotbot.lycos.com/?MT=" + document.search.search2.value + "&SM=MC&DV=0&LG=any&DC=10&DE=2&BT=H&Search.x=30&Search.y=7"
  }
  if (document.search.search1[8].selected) {
    window.parent.location.href = "http://www.ask.com/main/askjeeves.asp?ask=" + document.search.search2.value + "&origin=&site_name=Jeeves&metasearch=yes"
  }
}