BA Login Area

<script>// <![CDATA[
function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password',' ');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "beeambassador") {
alert('You Got it Right!');
window.open('wholesale-order-form', '_parent');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return " ";
}
// ]]></script>
<center>
<form><input type="button" value="Enter Protected Area" onclick="passWord()" /></form>
</center>