
Hello.
This time I need a help about Password Prompt Script.
<SCRIPT>
var getin = prompt("password?","")
if (getin=="peppermint")
{
alert('You got it! In you go...')
location.href='http://www.yaplog.com/xxxxxx'
}
else
{
if (getin=="null")
{location.href='nope2.,html'}
else
if (getin!="peppermint")
{location.href='nope.html'}
}
</SCRIPT>
above is the script. of course, my password isn't peppermint. thats beside the point

when i type the correct password, it directs me to my page 'http://www.yaplog.com/xxxxxx' but when the page reloads, it asks for the password again. and when i type in the password, the same thing happens; the page would reload and it would ask for my password again.
could someone help to figure this out? having too many people reading my personal blog i really don't like it.
thankkkkkkks!