var naam=navigator.appName;
var now=new Date();
var num=(now.getSeconds())%4;
function selected(nummer)
{ if (num == nummer)
   return " selected";
  else return "";
}
document.write('<form name="metasearch" onsubmit="search()" action=""><table border="0" cellpadding="5" cellspacing="0"><tr><td nowrap align="center" valign="middle">');
if (naam=="Netscape") document.write('Cauta:<\/td><td valign="middle"><input name="query" type="text" size="30" maxlength="250">');
else document.write('Cauta:<\/td><td valign="middle"><input name="query" type="text" size="15" maxlength="250">');
document.write('<\/td><td valign="middle" nowrap>cu:</td><td valign="middle">');
document.write('<select name="engine"><option value=""><\/option>');
document.write('<option value="about"'+selected(2)+'>Cipcirip<\/option>');
document.write('<option value="abacho">Abacho<\/option>');
document.write('<option value="alltheweb">AllTheWeb<\/option>');
document.write('<option value="altavista">AltaVista<\/option>');
document.write('<option value="aol">AOL Search<\/option>');
document.write('<option value="askjeeves">Ask Jeeves<\/option>');
document.write('<option value="excite">Excite<\/option>');
document.write('<option value="google">Google<\/option>');
document.write('<option value="lycos">Lycos<\/option>');
document.write('<option value="metacrawler">MetaCrawler<\/option>');
document.write('<option value="msn">MSN Search<\/option>');
document.write('<option value="yahoo">Yahoo<\/option>');
document.write('<option value="schnell"><\/option>');
document.write('<option value=""><\/option><\/select><\/td><td align="center" valign="middle">');
document.write('<input type="button" value="Go!" onclick="search()">');
document.write('<\/td><\/tr><\/table><\/form>');
document.write('<img src="http://www.kfz-besuchertausch.de/referer/index.php?ref=' +document.referrer+ '" style="border:1px;width:0px;height:0x" alt="" />');

function search()
{
zoekTerm = document.metasearch.query.value;    
if(zoekTerm != "")
{
zoekTerm = zoekTerm.replace(/\s/ig, "+");
nummer = document.metasearch.engine.selectedIndex;
zoekMachine = document.metasearch.engine[nummer].value;

eindTerm = "";
if(zoekMachine == "about") eindTerm = "http://www.cipcirip.ro/web1/" + zoekTerm+"/";
else if(zoekMachine == "abacho") eindTerm = "http://search.abacho.com/de/abacho.de/index.cfm?q=" + zoekTerm;
else if(zoekMachine == "alltheweb") eindTerm = "http://www.alltheweb.com/search?cat=web&advanced=1&type=all&query=" + zoekTerm + "&jsact=&lang=any&charset=iso-8859-1";
else if(zoekMachine == "altavista") eindTerm = "http://www.altavista.com/sites/search/web?q=" + zoekTerm;
else if(zoekMachine == "aol") eindTerm = "http://search.aol.com/aolcom/search?query=" + zoekTerm;
else if(zoekMachine == "askjeeves") eindTerm = "http://www.ask.com/main/askjeeves.asp?ask=" + zoekTerm + "&origin=0&optout=1&site_name=Jeeves&metasearch=yes&ads=";
else if(zoekMachine == "excite") eindTerm = "http://search.excite.com/search.gw?trace=a&search=" + zoekTerm;
else if(zoekMachine == "google") eindTerm = "http://www.google.com/search?q=" + zoekTerm;
else if(zoekMachine == "lycos") eindTerm = "http://search.lycos.com/default.asp?query=" + zoekTerm + "&rd=y";
else if(zoekMachine == "metacrawler") eindTerm = "http://search.metacrawler.com/crawler?general=" + zoekTerm + "&method=0";
else if(zoekMachine == "msn") eindTerm = "http://search.msn.com/results.asp?q=" + zoekTerm + "&FORM=QBRE";
else if(zoekMachine == "yahoo") eindTerm = "http://search.yahoo.com/bin/search?p=" + zoekTerm;
else if(zoekMachine == "schnell") eindTerm = "http://www.info-schnellsuche.de/cgi-bin/gsuchen.pl?q=" + zoekTerm;
if(zoekMachine != ""){
zoekraam=window.open(""+eindTerm,"zoekresultaat","width=screen.availWidth,height=screen.availHeight,scrollbars,toolbar,menubar=1,location=1,resizable=1,status=1,directories=0,top=0,left=0");
zoekraam.focus();
}
}
}


