

/******************************************************************************
 *                          NetResearch @ Tamos.com                           *
 *                                                                            *
 *                         J A V A      S C R I P T S                         *
 *                                                                            *
 *                                                    (c) 2000 TamoSoft, Inc. *
 ******************************************************************************/

function SearchWeb(form)
{
   var URL = "";
   
   if (form.s1.selectedIndex == 0)
      URL += "http://www.altavista.com/cgi-bin/query?pg=q&sc=on&hl=on&kl=XX&stype=stext&q=";
      
   else if (form.s1.selectedIndex == 1)
      URL += "http://www.google.com/search?q=";
      
   else if (form.s1.selectedIndex == 2)
      URL += "http://search.dogpile.com/texis/search?geo=no&fs=web&q=";
      
   else if (form.s1.selectedIndex == 3)
      URL += "http://search.yahoo.com/bin/search?p=";

   else if (form.s1.selectedIndex == 4)
      URL += "http://www.yandex.ru/yandsearch?text=";

   else if (form.s1.selectedIndex == 5)
      URL += "http://search.rambler.ru/cgi-bin/rambler_search?words=";

   else
      return false;
   
   URL += (form.p1.value).replace(/ +/g, "+");

   if (form.c1.checked)
      window.open(URL);
   else
      top.location = URL;

   return false;
}


function SearchUsenet(form)
{
   var URL = "";
   
   if (form.s2.selectedIndex == 0)
      URL += "http://www.deja.com/qs.xp?OP=dnquery.xp&ST=MS&DBS=2&QRY=";
      
   else if (form.s2.selectedIndex == 1)
      URL += "http://www.altavista.com/cgi-bin/query?pg=q&stype=utext&un=m&q=";
      
   else
      return false;
   
   URL += (form.p2.value).replace(/ +/g, "+");

   if (form.c2.checked)
      window.open(URL);
   else
      top.location = URL;

   return false;
}


function NewWin3(form, cbox)
{
   if (cbox.checked)
      form.target = "_blank";
   else
      form.target = "_self";
}


function NewWin4(form)
{
   if (document.f4.c4.checked)
      form.target = "_blank";
   else
      form.target = "_self";
}

function NewWinFTP(form)
{
   if (form.c3.checked)
      form.target = "_blank";
   else
      form.target = "_self";
}

function AnonSurf(form)
{
   var URL = "";
   
   if (form.s4.selectedIndex == 0)
      URL += "http://anon.free.anonymizer.com/";
      
   else if (form.s4.selectedIndex == 1)
      URL += "http://www.rewebber.com/surf_encoded/";
      
   else if (form.s4.selectedIndex == 2)
      URL += "http://www.private-server.com/cgi-bin/nph-a.cgi/";
      
   else if (form.s4.selectedIndex == 3)
      URL += "http://www822.s-w1.webdesign-net.de/cgi-bin/anonymouse/anon-www.cgi/";

   else if (form.s4.selectedIndex == 4)
      URL += "http://proxy.spaceproxy.com:80/";

   else
      return false;
   
   URL += (form.p4.value).replace(/ +/g, "+");

   if (form.c4.checked)
      window.open(URL);
   else
      top.location = URL;

   return false;
}
