function visit(newURL)  {   
    if (newURL != "") 
  { location.href=newURL  }  
     } 