var naam=navigator.appName;
document.write('<form name="metasearch" onsubmit="search()" action=""><table cellspacing=0 cellpadding=0 border=0 width="170"><tbody><tr><td align="center" bgcolor="#003366" height="30"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">');
if (naam=="Netscape") document.write('SUCHEN NACH:<\/font><\/b><\/td><\/tr><tr><td align="center" bordercolor="#FFFFFF" bgcolor="#003366" height="25"><input name="query" type="text" size="8" maxlength="100"><\/td><\/tr>');
else document.write('SUCHEN NACH:<\/font><\/b><\/td><\/tr><tr><td align="center" bgcolor="#003366" height="25"><input name="query" type="text" size="15" maxlength="100" value =""><\/td><\/tr>');
document.write('<tr><td align="center" bgcolor="#003366" height="35">');
document.write('<select name="engine"><option value="">Bitte Quelle waehlen ...<\/option>');
document.write('<option value="netdoktor">Netdoktor<\/option>');
document.write('<option value="medicineworldwide">Medicine WorldWide<\/option>');
document.write('<option value="aponet">ApoNet<\/option>');
document.write('<option value="mediwarp">Mediwarp.de<\/option>');
document.write('<option value="gesundheitspilot">Gesundheits-Pilot<\/option>');
document.write('<option value="medizinforum">Medizin-Forum.de<\/option>');
document.write('<option value="aerztezeitung">Aerztezeitung.de<\/option>');
document.write('<option value="aerzteblatt">Aerzteblatt.de<\/option>');
document.write('<option value="healthnetservices">Healthnet-Services<\/option>');
document.write('<option value="medknowledge">Medknowledge.de<\/option>');
document.write('<option value="med1">Med1.de<\/option>');
document.write('<option value="qualimedic">QualiMedic.de<\/option>');
document.write('<option value="orfonsience">ORF ON Sience<\/option>');
document.write('<option value="gnetz">G-Netz<\/option>');
document.write('<option value="drantonius">Dr. Antonius<\/option>');
document.write('<option value="diabetesWorld">Diabetes-World<\/option>');
document.write('<option value="krebskompass">Krebs Kompass<\/option>');
document.write('<option value="yahoogesund">Yahoo Gesundheit<\/option>');
document.write('<option value="google">Google<\/option>');
document.write('<\/select><\/td><\/tr>');
document.write('<tr><td align="center" bgcolor="#003366" height="25"><input type="button" value="- Suche starten -" onclick="search()"><\/td><\/tr><\/tbody><\/table>');
document.write('<\/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 == "netdoktor") eindTerm = "http://search.netdoktor.com/query.html?col=depuball&pw=650&la=de&nh=10&qt=" + zoekTerm + "&x=0&y=0";
else if(zoekMachine == "medicineworldwide") eindTerm = "http://www.m-ww.de/suche/index.html?suche=" + zoekTerm;
else if(zoekMachine == "yahoogesund") eindTerm = "http://de.search.yahoo.com/search/dir_de?h=c&fr=op&va="  + zoekTerm + "&vp=&vo=&ve=&r=Gesundheit&g=0&n=20&brfd=Suche+starten";
else if(zoekMachine == "krebskompass") eindTerm = "http://www.krebs-kompass.de/suchmaschine/search.pl?nocpp=1&match=1&Realm=All&Terms=" + zoekTerm;
else if(zoekMachine == "gnetz") eindTerm = "http://www.google.de/custom?hl=de&ie=ISO-8859-1&cof=&domains=http%3A%2F%2Fwww.g-netz.de&q=" + zoekTerm + "&btnG=Google-Suche&sitesearch=http%3A%2F%2Fwww.g-netz.de&meta=";
else if(zoekMachine == "aponet") eindTerm = "http://www.aponet.de/cgi-bin/htsearch?words=" + zoekTerm + "&method=and&sort=score&config=www.aponet.de&exclude=";
else if(zoekMachine == "drantonius") eindTerm = "http://www.dr-antonius.de/cgi-bin/nph-mgwcgi?KENNUNG=ANTONIUS&SUCHTEXT=" + zoekTerm;
else if(zoekMachine == "gesundheitspilot") eindTerm = "http://www.gesundheitspilot.de/cgi-bin/odis.exe?file=%27%7Berweitert.x%3Alayout%5CSuche.htm%7D%2Csuche_ergebnis.htm%27&schlagwort=" + zoekTerm + "&rebuild";
else if(zoekMachine == "qualimedic") eindTerm = "http://qualimedic.de/qmSucheNeu.php?words=" + zoekTerm;
else if(zoekMachine == "diabetesWorld") eindTerm = "http://www.diabetes-world.net/sixcms/list.php?page=d5p_suchergebnis&sv[status]=online&sv[alte_struktur]=off&sv[detail_flag]=off&sm[vt]=fulltext_all&sv[vt]=" + zoekTerm + "&sv[id]=!&sort=,show_in_nav_sort,sr,seq,vt&order=asc&context_id=704368&kw_anz=0";
else if(zoekMachine == "medizinforum") eindTerm = "http://www.medizin-forum.de/index.php3?suche_starten=1&menue=Suche&linkkat_id=&linkkat=&suchwort=" + zoekTerm + "&suchen=suchen";
else if(zoekMachine == "aerzteblatt") eindTerm = "http://www.aerzteblatt.de/v4/archiv/treffer.asp?archivVolltext=" + zoekTerm;
else if(zoekMachine == "aerztezeitung") eindTerm = "http://www.aerztezeitung.de/suchen/default.asp?boolean=und&qs=" + zoekTerm + "&x=18&y=8";
else if(zoekMachine == "healthnetservices") eindTerm = "http://www.healthnet-services.de/search.php?query=" + zoekTerm;
else if(zoekMachine == "mediwarp") eindTerm = "http://www.mediwarp.de/cgi-bin/medbroker.cgi?LANG=de&DB=de&QS=" + zoekTerm;
else if(zoekMachine == "medknowledge") eindTerm = "http://www.google.de/custom?domains=www.medknowledge.de&q=" + zoekTerm + "&sa=Suche&sitesearch=www.medknowledge.de&client=pub-8644258688801594&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A000000%3BLC%3A000000%3BT%3A0000FF%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BLH%3A50%3BLW%3A199%3BL%3Ahttp%3A%2F%2Fwww.medknowledge.de%2Fimages%2Fmedknowledge-4KB-50-px-ariel.jpg%3BS%3Ahttp%3A%2F%2F%3BFORID%3A1%3B&hl=de";
else if(zoekMachine == "orfonsience") eindTerm = "http://science.orf.at/science/search?keyword=" + zoekTerm + "&tmp=17575";
else if(zoekMachine == "med1") eindTerm = "http://search.atomz.com/search/?sp-a=sp100119e8&sp-q=" + zoekTerm;
else if(zoekMachine == "google") eindTerm = "http://www.google.de/search?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();
}
}
}

