Here is some of the surrounding code: This basically is one page with non-stop php code. (about 1400 lines):
echo "</td><td><input type=text name=s size=25 maxlength=30 value=\"" . htmlspecialchars($n) . "\" style=\"" . $Prefs["formStyle"] . "\"></td><td>";
ipad(4,1);
echo "</td><td>";
imagetag("g","f","");
echo "</td></tr></form></table></td></tr></table>";
bars($Prefs["bodyFgDiv"]);
*/
echo "<table cellspacing=0 cellpadding=4 border=0 width=\"" . $Prefs["siteWidth"] . "\" bgcolor=\"" . $Prefs["bodyFgColor"] . "\"><tr><td align=right><table cellspacing=0 cellpadding=0 border=0><form action=\"form.dll\" method=post target=info><input type=hidden name=P value=info><tr><td align=right><font face=\"helvetica,arial\" size=\"1\"";
<< I WANT THE JAVASCRIPT TO GO RIGHT HERE >>
if ($Prefs["disableHTMLheaders"]) {echo " color=" . $Prefs["bodyTextColor"];}
echo ">" . "Get information at" . " info.com</font></td><td>";
ipad(4,1);
echo "</td><td><select name=opt1 style=\"" . $Prefs["formStyle"] . "\"><option value=1>" . text(21) . "<option value=2";
if ($a) {echo " selected";}
echo ">" . text(22) . "<option value=3>" . text(23) . "<option value=5>" . text(24) . "<option value=4>" . text(25) . "</select></td><td>";
ipad(4,1);
echo "</td><td><input type=textfield name=sql size=25 maxlength=30 value=\"" . htmlspecialchars($n) . "\" style=\"" . $Prefs["formStyle"] . "\"></td><td>";
ipad(4,1);
echo "</td><td>";
imagetag("g","f","");
echo "</td></tr></form></table></td></tr></table>";
colorbars($Prefs["bodyFgDiv"]);
}
}