yeh i had the same problem when i was editing the code of the .js file. and me not being a JS person took a while to figure it out. i did eventually find out how to do it.
eg. say you have the login.htm in folder "welcome" and you want to redirect to a folder under "welcome" named "me". open your .js and it should say
auth = true;
redirect = "******.htm";
all you need to do is in the redirect part type
auth = true;
redirect = "me/******.htm";
------Heres an example site structure---------------
____________WELCOME_________
---------------||||||-------------//////:dont mind the "......"
||..........................................||
.js file...................................."me"
login.htm.................................||
.........................................******.htm
when you enter the username and password, login.htm will goto the .js file and look at the { redirect = "me/******.htm"; } when you added the "me/" into the redirect, it will then goto the folder named "me" in the same 'level' and will then look for the page you want to goto.
NOTE: i think the login and .js file has to be in a higher level than the page you want to redirect to.
hopefully i made sence for you.
cheers
AnniHilatE
PS. see the script in action.
http://gamingexperts.cjb.net
goto members login and use { User=member, Pass=12345 }