function pass_protection(){
var pass_protect = 0
passwords = new Array()
passwords[0] = "samocska"
passwords[1] = "dolylevski"
/*
Edit the above passwords or enter more by adding on a new line, passwords[1 number higher than the last] = "Your password" 
Then the number after the 'while (i <' must be changed to 1 higher than the highest number in passwords[]
N.B. all passwords are ase sensitive i.e. if the password is pAsSwOrD and you enter PaSsWoRd you will be prompted with
the Incorrect Pass alert.
*/
var Pw = document.pass.protect.value
if (Pw=="null")
{pass_protect=0}
else
{
i = 0
while (i < 2)
{
switch(Pw){
case passwords[i] : 
alert("WELCOME!")
window.location="http://www.equityinvest.com/SMC30DowStocks.html" ;
//Change the html file above
pass_protect = 1
//Change the html file above
break ;
}
i = i + 1
}
}
if (pass_protect==0)
{
alert("ACCESS DENIED!")
window.location="http://www.equityinvest.com/SMC30DowStocksPass.html"} 
//Change the html file above
}