var submitcount=0;

function checkSubmit()
{
	if (submitcount == 0)
	{
		submitcount++;
		return true;
	}
	else
	{
		alert("You have already submitted email.  Thanks!");
		return false;
	}
}

function doRequest()
{

document.writeln('<form method="POST" action="/cgi-bin/email/okEmail.pl"  ');
document.writeln('	onSubmit="return checkSubmit()"> ');
document.writeln(' ');
document.writeln('<table border="2" cellpadding="8" cellspacing="0" width="450"  ');
document.writeln('	bgcolor="#3366C9"> ');
document.writeln('<tr align="left" valign="top"> ');
document.writeln('<td width="450"> ');
document.writeln(' ');
document.writeln('<table border="0" cellspacing="0" cellpadding="0" width=450"> ');
document.writeln('<tr><td>&nbsp;</td></tr> ');
document.writeln(' ');
document.writeln('<tr> ');
document.writeln('<td><font size="-1" face="Verdana, Arial" color="#E5D6A5"> ');
document.writeln('	Your Name:</font></td> ');
document.writeln('<td> ');
document.writeln('<input type="TEXT" name="Name" maxlength="60" size="40"> ');
document.writeln('</td> ');
document.writeln('</tr> ');
document.writeln(' ');
document.writeln('<tr> ');
document.writeln('<td>&nbsp;</td> ');
document.writeln('<td>&nbsp;</td> ');
document.writeln('</tr> ');
document.writeln(' ');
document.writeln('<tr> ');
document.writeln('<td><font size="-1" face="Verdana, Helvetica, Arial" color="#E5D6A5"> ');
document.writeln('	Telephone:</font></td> ');
document.writeln('<td> ');
document.writeln('<input type="TEXT" size="6" maxlength="3" name="AreaCode">&nbsp; ');
document.writeln('<input type="TEXT" name="Phone" size="30" maxlength="10"> ');
document.writeln('</td> ');
document.writeln('</tr> ');
document.writeln(' ');
document.writeln('<tr> ');
document.writeln('<td><font size="-1" face="Verdana, Helvetica, Arial" color="#E5D6A5"> ');
document.writeln('	Email Address</font></td> ');
document.writeln('<td><input type="TEXT" name="Email" maxlength="50" size="42"></td> ');
document.writeln('</tr> ');
document.writeln('</table> ');
document.writeln(' ');
document.writeln('<br> ');
document.writeln('<font SIZE="-1" FACE="Verdana, Helvetica, Arial" COLOR="#E5D6A5"> ');
document.writeln('	Please enter any questions or comments that you have in the ');
document.writeln('	space provided below.  You can enter as much text as you want.   ');
document.writeln('	</font><p> ');
document.writeln(' ');
document.writeln('<table border="0" cellspacing="0" cellpadding="0" width="400"> ');
document.writeln('<tr align="LEFT" valign="TOP"> ');
document.writeln(' ');
document.writeln('<td><font size="-1" face="Verdana, Helvetica, Arial" COLOR="#E5D6A5"> ');
document.writeln('	Questions&nbsp;&nbsp;</font></td> ');
document.writeln('<td><textarea name="Message" rows="4" cols="40" wrap=virtual></textarea></td> ');
document.writeln('</tr> ');
document.writeln('</table> ');
document.writeln(' ');
document.writeln('<p> ');
document.writeln('<hr> ');
document.writeln('<p> ');
document.writeln('<center> ');
document.writeln('<input type="SUBMIT" value="Send Inquiry"> ');
document.writeln('</center> ');
document.writeln(' ');
document.writeln('</form> ');
}
