var _1="fotos1.html"; 
function check(p) { 
if ( p.pass.value != "peņaloba" ) 
{ p.sub.value = "Ver las fotos!" 
alert("La contraseņa no es correcta!") 
} else { 
p.sub.value = "Ver las fotos!" 
document.location=_1;
} } 