function zoeken(){

    words=document.searchforit.query.value;

    searchitems ="";

    for(var t=1;t<=words.length;t++)

    {if(words.substring(t-1,t)==" ")searchitems+="+";

    else{if(words.substring(t-1,t)=="+")searchitems+="%2B";

        else searchitems+=words.substring(t-1,t);}}

   index=document.searchforit.service.selectedIndex;

   site=document.searchforit.service.options[index].value;

   site+=escape(searchitems);

   if(searchitems==""||searchitems==null) 

   {alert("Vul een zoekwoord in...");

   document.searchforit.query.focus();}

   else window.location.href = site;

}   

function notEmpty(word){

   if (word == "" || word == null) 

   {

      self.status="Vul een zoekwoord in";

      alert("\nVul een zoekwoord in..."); 

      document.searchforit.query.focus();  

      return false;

   }

   else 

   {

   self.status = "SEARCHING FOR:  " + word;

   return true;

   }

}

function go(url)
{
    if (url == '') return false;
    location.href=url;
    return true;
}


function setfocus() 
{
    document.searchforit.query.focus();
}





