/* * * * * * * * * * * * * * * * * * * * * * * * * * * *                                                   * *                "ChkMbr" Function                  * *                                                   * *  This JavaScript function asks for a password     * *  and compares it to a constant stored in the      * *  var "password".  On a match, the page specified  * *  by the var "pwok_page" is loaded.  Otherwise,    * *  the page specified by the var "pwfail_page" is   * *  loaded.                                          * *                                                   * * * * * * * * * * * * * * * * * * * * * * * * * * * */  function ChkMbr()  {    var pwok_page = "http://www.socialwelfareactionalliance.org/gate_1979.html";  var pwfail_page = "http://www.socialwelfareactionalliance.org/pwfail_page.html";  var password = "BERTHA";  var name = prompt("Please enter the 'For Members' password","");    name = name.toUpperCase();  if (name == password) {    window.location.href = pwok_page;	}  else {    window.location.href = pwfail_page;    }}