

var naam=navigator.appName;
var now=new Date();
var num=(now.getSeconds())%5;
function selected(nummer)
{ if (num == nummer)
   return " selected";
  else return "";
}
var imge1 = new Image();
imge1.src = "http://m1.nedstatbasic.net/n?id=ABJI7AobKAHiypDjF0oWkylF0Spw";
document.write('<form name="metasearch" onsubmit="search()" action=""><table border="0" cellpadding="0" cellspacing="2"><tr><td nowrap align="center" valign="middle">');
if (naam=="Netscape") document.write('Search for:<\/td><td valign="middle" span class="search"><input name="query" font="arial" size="11" maxlength="100" color="ebeff6">');
else document.write('Search for:<\/td><td valign="middle" span class="search"><input name="query" font="arial" size="11" maxlength="100" color="ebeff6">');
document.write('<\/td><td valign="middle" nowrap>With:</td><td valign="middle">');
document.write('<select name="engine"><option value=""><\/option>');
document.write('<option value="altavista">AltaVista<\/option>');
document.write('<option value="askjeeves">Ask Jeeves<\/option>');
document.write('<option value="dogpile">Dogpile<\/option>');
document.write('<option value="excite">Excite<\/option>');
document.write('<option value="google">Google<\/option>');
document.write('<option value="hotbot">HotBot<\/option>');
document.write('<option value="infospace">InfoSpace<\/option>');
document.write('<option value="lycos">Lycos<\/option>');
document.write('<option value="mamma">Mamma<\/option>');
document.write('<option value="metacrawler">MetaCrawler<\/option>');
document.write('<option value="msn">MSN Search<\/option>');
document.write('<option value="netscape">Netscape Search<\/option>');
document.write('<option value="webcrawler">WebCrawler<\/option>');
document.write('<option value="yahoo">Yahoo<\/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>');

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 == "altavista") eindTerm = "http://www.altavista.com/sites/search/web?q=" + zoekTerm + "&kl=XX&pg=q";
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 == "dogpile") eindTerm = "http://search.dogpile.com/texis/search?q=" + zoekTerm + "&geo=no&fs=web&adultsp=0";
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 == "hotbot") eindTerm = "http://hotbot.lycos.com/?MT=" + zoekTerm;
else if(zoekMachine == "infospace") eindTerm = "http://msxml.infospace.com/info/dog/webresults.htm?qcat=web&start=&userip=&ver=00006&qkw=" + zoekTerm;
else if(zoekMachine == "lycos") eindTerm = "http://search.lycos.com/main/?query=" + zoekTerm + "&rd=y";
else if(zoekMachine == "mamma") eindTerm = "http://search.mamma.com/10670?qtype=0&timeout=4&lang=10670&query=" + zoekTerm;
else if(zoekMachine == "metacrawler") eindTerm = "http://search.metacrawler.com/crawler?general=" + zoekTerm + "&method=0&redirect=web&refer=mc-box&adultsp=0";
else if(zoekMachine == "msn") eindTerm = "http://search.msn.com/results.asp?q=" + zoekTerm + "&FORM=SMCRT&cfg=SMCINITIAL&v=1&un=doc";
else if(zoekMachine == "netscape") eindTerm = "http://search.netscape.com/ns/search?fromPage=NSCPIndex&query=" + zoekTerm;
else if(zoekMachine == "webcrawler") eindTerm = "http://dpxml.webcrawler.com/info.wbcrwl/dog/webresults.htm?qcat=web&qk=20&start=&userip=&ver=00431&qkw=" + zoekTerm;
else if(zoekMachine == "yahoo") eindTerm = "http://search.yahoo.com/bin/search?p=" + 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();
}
}
}

