document.writeln("<script language='javascript' src='/inc/js/general.js'></script>");
document.writeln("<form name=\"form1\" method=\"post\" action= \"question_mail.php\" onSubmit=\"return CheckFormField();\">");
document.writeln("<table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("              <tr>");
document.writeln("                <td width=\"35%\"><p class=\"left-table-txt1\"><font class=\"black\"><span class=\"style2\">*</span>Name</font></p></td>");
document.writeln("                <td width=\"65%\"><input name=\"name\" type=\"text\" id=\"name\" size=\"17\"></td>");
document.writeln("              </tr>");
document.writeln("              <tr>");
document.writeln("                <td width=\"35%\"><p class=\"left-table-txt1\"><font class=\"black\"><font class=\"black\"><span class=\"style2\">*</span></font>Email</font></p></td>");
document.writeln("                <td width=\"65%\"><input name=\"email\" type=\"text\" id=\"email\" size=\"17\"></td>");
document.writeln("              </tr>");
document.writeln("              <tr>");
document.writeln("                <td><p class=\"left-table-txt1\"><font class=\"black\">Phone # </font></p></td>");
document.writeln("                <td><input name=\"phone\" type=\"text\" id=\"phone\" size=\"17\"></td>");
document.writeln("              </tr>");
document.writeln("              <tr>");
document.writeln("                <td width=\"35%\" valign=\"top\"><p class=\"left-table-txt1\"><font class=\"black\"><font class=\"black\"><span class=\"style2\">*</span></font>Question</font></p></td>");
document.writeln("                <td width=\"65%\"><textarea name=\"question\" cols=\"19\" rows=\"3\" id=\"question\"></textarea></td>");
document.writeln("              </tr>");
document.writeln("              <tr>");
document.writeln("                <td width=\"35%\">&nbsp;</td>");
document.writeln("                <td width=\"65%\" height=\"30\"><input class=\"checkbox\" type=\"image\" src=\"images/bt_submit1.gif\" alt=\"Submit\" width=\"62\" height=\"18\" border=\"0\"></a></td>");
document.writeln("              </tr>");
document.writeln("            </table>");
document.writeln("</form>");

function CheckFormField()
{
	if(!IsBlank(document.form1.name, "Please Enter Name.")) return false;
	if(!IsEmail(document.form1.email.value, document.form1.email, "Please enter proper Email Address."))
	return false;
	if(!IsBlank(document.form1.question, "Please Enter your Question.")) return false;
	return true;
}

