function gotoit(){

  if (document.loginarea.logincode.value == "")
  {
    alert("Please enter your log in password or enter the site through the visitor gate");
    document.loginarea.logincode.focus();
    return (false);
  }

 var searchfor = document.loginarea.logincode.value;    
{                                
 var ididit = searchfor + ".html";
location.href = ididit;
}}
