JS Onload Code:

<script LANGUAGE="JavaScript">
function giveFocus()
{
        document.pass.pword.focus();
}
</script>

ASP Code:

<%

if Request.Form("pword") <> "pets" then
	Response.AddHeader "401.1 Unauthorized: ", "401.1"
	Response.Write "<H2>HTTP Error 401</H2><P><STRONG>401.1 Unauthorized: Logon Failed</STRONG></P><P>This error indicates that the credentials passed to the server do not match the credentials required to log on to the server.</P>"
	Response.Write "<center><a href='index.html'>Back to Home Page</a></center>"
	Response.End
else
	Response.Redirect "faqs-small-animals.html" 
End if

%>