Ok. I wrote this script to process the variables of a form to another page. It doesn't seem to work. Will someone take a look at and see if they can ehlp me?

<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function getParams() {
var idx = document.URL.indexOf('?');
var params = new Array();
if (idx != -1) {
var pairs = document.URL.substring(idx+1, document.URL.length).split('&');
for (var i=0; i<pairs.length; i++) {
nameVal = pairs[i].split('=');
params[nameVal[0]] = nameVal[1];
}
}
return params;
}
params = getParams();
// End -->
</script>
</HEAD>
<BODY topmargin="0" leftmargin="0">

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
fname = unescape(params["fname"]);
lname = unescape(params["lname"]);
dentist = unescape(params["dentist"]);
txoffice = unescape(params["txoffice"]);
moname = unescape(params["moname"]);
birthdate = unescape(params["birthdate"]);
model = unescape(params["model"]);
txdoctor = unescape(params["txdoctor"]);
faname = unescape(params["faname"]);
insurance = unescape(params["insurance"]);
formcase = unescape(params["formcase"]);
malert = unescape(params["malert"]);
diagnosis = unescape(params["diagnosis"]);
obs = unescape(params["obs"]);
phase1 = unescape(params["phase1"]);
full = unescape(params["full"]);

document.write("<table width=1016 height=112 border=0 cellpadding=0 cellspacing=0>" .
"<tr>" .
"<td width=316 height=72 rowspan=3><br><br><h1><center><big>&nbsp;" .
"finame = " + fname + "</big></center></h1></td>");
document.write("<td width=167 height=24><font size=1><br></font><font size=2>&nbsp;" .
"flname = " + lname + "</font></td>");
document.write("<td width=84 height=24 colspan=2><font size=1><br></font><font size=2>&nbsp;" .
"dentist = " + dentist + "</font></td>");
document.write("<td width=122 height=24><font size=1><br></font><font size=2>&nbsp;" .
"txoffice = " + txoffice + "</font></td>" .
"</tr><tr>");
document.write("<td width=167 height=24><font size=1><br></font><font size=2>&nbsp;" .
"moname = " + moname + "</font></td>");
document.write("<td width=84 height=24><font size=1><br></font><font size=2>&nbsp;" .
"birthdate = " + birthdate + "</font></td>");
document.write("<td width=72 height=24><font size=1><br></font><font size=2>&nbsp;" .
"model = " + model + "</font></td>");
document.write("<td width=122 height=24<font size=1><br></font><font size=2>&nbsp;" .
"txdoctor = " + txdoctor + "</font></td>" .
"</tr><tr>");
document.write("<td width=167 height=24><font size=1><br></font><font size=2>&nbsp;" .
"faname = " + faname + "</font></td>");
document.write("<td width=84 height=24><font size=1><br></font><font size=2>&nbsp;" .
"insurance = " + insurance + "</font></td>");
document.write("<td width=72 height=24><font size=1><br></font><font size=2>&nbsp;" .
"formcase = " + formcase + "</font></td>");
document.write("<td width=122 height=24><font size=1><br></font><font size=2>&nbsp;" .
"malert = " + malert + "</font></td>" .
"<</tr></table>");
document.write("<table width=1016 height=188 border=0 cellpadding=0 cellspacing=0>" .
"<tr>" .
"<td width=170 height=142 rowspan=3 valign=top><font size=1><br><br><br></font><font size=2>&nbsp; " .
"diagnosis = " + diagnosis + "</font></td>");
document.write("<td width=446 height=18 colspan=3 valign=top>&nbsp;</td>" .
"<td width=144 height=18 colspan=3 valign=top>&nbsp;</td>" .
"</tr><tr>");
document.write("<td width=86 height=14 valign=top>&nbsp;</td>" .
"<td width=182 height=14 valign=top>&nbsp;</td>" .
"<td width=182 height=14 valign=top>&nbsp;</td>" .
"<td width=50 height=27 valign=top>&nbsp;</td>" .
"<td width=50 height=27 valign=top>&nbsp;</td>" .
"<td width=50 height=27 valign=top>&nbsp;</td>" .
"</tr><tr>");
document.write("<td width=86 height=108 valign=top><font size=1></font><font size=2>&nbsp;" .
"obs = " + obs + "</font></td>");
document.write("<td width=182 height=108 valign=top><font size=1></font><font size=2>&nbsp;" .
"phase1 = " + phase1 + "</font></td>");
document.write("<td width=182 height=108 valign=top><font size=1></font><font size=2>&nbsp;" .
"full = " + full + "</font></td>");
document.write("<td width=50 height=108 valign=top></td>" .
"<td width=50 height=108 valign=top></td>" .
"<td width=50 height=108 valign=top></td>" .
"</tr></table>");

// End -->
</script>