function frmKMICheck() {
	var kmiFormErrMsg = "";
	var kmiFormOK = true;
	if(document.frmKMI.txtkmiName.value == "") {
		kmiFormErrMsg = kmiFormErrMsg + " - Name\n"
		kmiFormOK = false;
	}
	if(document.frmKMI.txtkmiEmail.value == "") {
		kmiFormErrMsg = kmiFormErrMsg + " - E-mail\n"
		kmiFormOK = false;
	}
	if(kmiFormOK == false) {
		alert("Please be sure to include the following information:\n\n" + kmiFormErrMsg)
		return false;
	}
}
document.write("<table align=\"center\" width=\"236\" cellspacing=\"0\" cellpadding=\"2\" border=\"0\" style=\"font-family: Tahoma, Verdana, Helvetica; font-size: 11px;\">");
document.write("	<tr><form action=\"kmi_thankyou.asp?action=Add\" method=\"post\" name=\"frmKMI\" id=\"frmKMI\" onSubmit=\"return frmKMICheck();\">");
document.write("		<td colspan=\"2\" valign=\"top\" nowrap>");
document.write("		Your name<br>");
document.write("		<input type=\"text\" name=\"txtkmiName\" size=\"11\" maxlength=\"255\" style=\"width: 232px; font-family: Tahoma, Verdana, Helvetica; font-size: 11px;\"></td>");
document.write("	</tr>");
document.write("	<tr>");
document.write("		<td colspan=\"2\" valign=\"top\" nowrap>");
document.write("		Your e-mail<br>");
document.write("		<input type=\"text\" name=\"txtkmiEmail\" size=\"11\" maxlength=\"255\" style=\"width: 232px; font-family: Tahoma, Verdana, Helvetica; font-size: 11px;\"></td>");
document.write("	</tr>");
document.write("	<tr>");
document.write("		<td>");
document.write("		<input type=\"submit\" name=\"btnkmiSubmit\" value=\" Send \" style=\"font-family: Tahoma, Verdana, Helvetica; font-size: 11px;\"></td>");
document.write("		<td align=\"right\" nowrap style=\"font-size: 10px;\">");
document.write("		<strong>&raquo;</strong>&nbsp;<a href=\"javascript:void(0);\" onClick=\"window.open(\'kmi.asp\',\'Dialog\',\'toolbar=no,location=no,scrollbars=auto,resizable=no,left=100,top=100,width=360,height=230\');\" style=\"color: #770000;\" class=\"ulink\">What is this?</a></td>");
document.write("	</tr></form>");
document.write("</table>");
if(document.getElementById) {
	document.getElementById("txtkmiName").style.border = "1px solid Black";
	document.getElementById("txtkmiEmail").style.border = "1px solid Black";
	document.getElementById("btnkmiSubmit").style.border = "1px outset";
}
