<html>
<head>
   <script language="javascript" type="text/javascript">
   function password (pass)
   {
     if (pass != '')
     {
       location.href=pass+".html";
     }
   }
   </script>
</head>
...