User:Ferreiraza/scripts.js

$(function {

var password; var pass1="teste";

password=prompt('Please Enter The Password',' ');

if (password==pass1) { alert('Password Correct. Click OK to enter.'); } else { window.location="http://www.wikispaces.com/"; } });