Put the following in the head section of the web page (after the <head> and
before the </head> tag
<script language = "javascript">
/*
*/
function validate(text1,text2,text3,text4)
{
if ((text1="1111")
&& (text2=="1111")
&& (text3=="dummy")
&& (text4 =="dummy"))
load('Latrobe.mdb');
else
{
load('failure.htm');
}
}
function load(url)
{
location.href=url;
}
</script>
The form portion goes into the body section of the web page.
between <body>
and
</body>