function s1Func(){ s1Prompt = prompt("Please Password"); if (s1Prompt == String.fromCharCode(64,114,105,115,101)){ alert("Yes"); location.href = "http://" + String.fromCharCode(97,114,105,115,101) + ".work"; }else{ alert("No"); } }