/* (c) Scientec Internet Applications + Media GmbH - www.scientec.de */

window.onerror=function(){ return true;}
document.writeln('<style type="text/css">.suche{display:block}</style>');
if(document.title.indexOf("*")!=-1){
  document.writeln('<style type="text/css">');
  document.writeln('#links{display:none}');
  document.writeln('.rect{display:none}');
  document.writeln('</style>');
}
function findeWort(){
  eingabe=document.suchformular.suchbegriff.value;
  if(eingabe.indexOf(" ")!=-1){
    eingabe=eingabe.split(" ")[0]
  }
  eingabe=eingabe.toLowerCase();
  eingabe=eingabe.replace(/ü/g,"ue");
  eingabe=eingabe.replace(/ä/g,"ae");
  eingabe=eingabe.replace(/ö/g,"oe");
  eingabe=eingabe.replace(/ß/g,"ss");
  if(document.title.indexOf("Assoziator")!=-1)
  {
    document.location.href="http://www.wortwolke.de/assoziator/"+eingabe+".html";
  }
  else
  {    
    document.location.href="http://www.wortwolke.de/"+eingabe.charAt(0)+"/"+eingabe+".html";
  }
}
