function pass_protection(){
var pass_protect = 0
passwords = new Array()
passwords[0] = "agr0tex"
passwords[1] = "deereagrotex"

var Pw = document.pass.protect.value
if (Pw=="null")
{pass_protect=0}
else
{
i = 0
while (i < 2)
{
switch(Pw){
case passwords[i] : 
alert("Bienvenido")
window.location="desktop.htm" ;
//Change the html file above
pass_protect = 1
//Change the html file above
break ;
}
i = i + 1
}
}
if (pass_protect==0)
{
alert("Contraseņa incorrecta")
window.location="../home.html"} 
//Change the html file above
}