function pass() {
 var p = document.fm.word.value;
 if(p == "camitan") {
   location.href = "sub.html"; 
 }
 else {
  alert("パスワードが違います");
 }
}
