<!--//　↓メイン記事フォームへのパスワード//--><!--//　ans=="test"がパスワードです//--><!--//　location.href="write.html"もファイル名に合わせて修正してください//-->function Start(){ans=prompt("パスワードを入力してください","");if(ans=="test"){location.href="write.html"}else if(ans==null){Start();}else{location.href="apeboard_plus.cgi"}}<!--//　↓子記事フォームへのパスワード//--><!--//　myPassword == "test"がパスワードです　//-->function myEnter() {myPassword = prompt("パスワードを入力してください。","");if (myPassword == "test")location.href = "res_file.html";else alert("パスワードが違います。");}