d=document;
p='toolbar=1,location=1,resizable=1,status=1,scrollbars=1,menubar=1';
san=new Array('Google &nbsp; &nbsp; &nbsp; ','Fireball','Altavista','Abacho','Lycos','MSN','Excite');
saq=new Array(
"www.google.com/search?lr=lang_de&q=",
"suche.fireball.de/fcgi/query.fcg?action=query&pg=express&what=german_web&q=",
"de.altavista.com/q?pg=q&kl=XX&what=de&q=",
"suchen.abacho.de/index.cfm?country=de&Input=Go&q=",
"search.lycos.com/default.asp??loc=searchbox&tab=&query=",
"search.msn.de/results.asp?FORM=MSNH&v=1&RS=CHECKED&CY=de&cp=1252&q=",
"search-dyn.excite.de/search.php?offset=0&external=1&language=de&maxCount=&excitetype=web&key="
);
function w(a){d.writeln(a)};
function doSearch(){
sw=d.searchfor.query.value;
sitems="";
for (t=1;t<=sw.length;t++){
if (sw.substring(t-1,t)==" "){sitems+="+"}
else {if(sw.substring(t-1,t)=="+"){sitems+="%2B"}
else {sitems+=sw.substring(t-1,t);}}}
index=d.searchfor.service.selectedIndex;
site=d.searchfor.service.options[index].value;
site+=sitems;
if(sitems==""||sitems==null){
alert("\nDamit Sie etwas finden können, müssen Sie ein Suchwort eingeben...");
d.searchfor.query.focus();}
else { nd = new Date(); window.open(site,nd.getTime(),"width=740,height=470 "+p);}
}

w('<FORM NAME=searchfor ACTION="javascript:doSearch();void(0)// METHOD=GET">');
w('<div class="klein">Suchworte :</div>');
w('<INPUT NAME="query" VALUE="" SIZE="25" class="quicknavi"><br>');
w('<div class="klein">Suchmaschine:</div><SELECT NAME="service" class="quicknavi">');
w('<OPTION SELECTED VALUE="http://'+saq[0]+'">'+san[0]);
for(i=1;i<7;i++)
w('<OPTION VALUE="http://'+saq[i]+'">'+san[i]);
w('</SELECT> <INPUT TYPE="button" VALUE="Go!" onClick="doSearch()"></FORM>');


