Greetings,

I am needing to write/update a javascript that, when a user logs in with invalid credentials, they get redirected to an html page. I have a cardboard cut-out script that was provided to me, but would like to adjust it for my needs. I would like to remove the "alert" portion (see below) and add *something* that will force a redirect to an error.html file located in the same directory.

Please have a look at the portion of the script below... any help at all would be greatly appreciated.

----
else if(args.statusCode == 5){
alert("The User Name and Password combination you have entered is invalid. Please try again.");
document.write('<img src="Alien124.gif">');
}
----

Thank you,

JD