function checkform(){
	if (document.myform.YourName.value==""){
	alert("Your Name cannot be empty!");
	document.myform.YourName.focus();
	return false;
	}
	if (document.myform.Email.value == ""){
		alert ("Email cannot be empty!");
		document.myform.Email.focus();
		return false;
	}
	if (document.myform.subject.value == ""){
		alert ("Subject cannot be empty!");
		document.myform.subject.focus();
		return false;
	}
	if (document.myform.Message.value == ""){
		alert ("Message cannot be empty!");
		document.myform.Message.focus();
		return false;
	}
}

document.writeln("<TABLE class=myform cellSpacing=0 cellPadding=0 width=100% border=0 align=\"center\">");
document.writeln("        <FORM name=\"myform\" action=\"http://email.chinapelletmill.com/mail1.asp\" method=\"post\" onsubmit=\"return checkform()\">");
document.writeln("        <TBODY>");
document.writeln("        <TR>");
document.writeln("          <TD colspan=\"2\" align=center>&nbsp;</TD>");
document.writeln("        </TR>");
document.writeln("        <TR>");
document.writeln("          <TD colspan=\"2\" align=center><hr />If you\'re interested in our products or have any questions about it, please let us know. Don\'t hesitate to contact us!</TD>");
document.writeln("          </TR>");
document.writeln("        <TR>");
document.writeln("          <TD colspan=\"2\" height=\"2\"></TD>");
document.writeln("          </TR>");
document.writeln("        <TR>");
document.writeln("        <TD align=right width=141><SPAN>*</SPAN>Your Name:</TD>");
document.writeln("        <TD width=459><INPUT name=\"YourName\"></TD></TR>");
document.writeln("        <TR>");
document.writeln("        <TD align=right><SPAN>*</SPAN>E-mail:</TD>");
document.writeln("        <TD><INPUT name=\"Email\"></TD></TR>");
document.writeln("        <TR>");
document.writeln("        <TD align=right><SPAN>*</SPAN>Subject:</TD>");
document.writeln("        <TD><INPUT name=\"subject\"></TD></TR>");
document.writeln("        <TR>");
document.writeln("        <TD align=right><SPAN>*</SPAN>Message:</TD>");
document.writeln("        <TD><TEXTAREA name=\"Message\" rows=8 cols=40></TEXTAREA></TD></TR>");
document.writeln("        <TR>");
document.writeln("        <TD>&nbsp;<input name=\"addressee\" value=\"info@agitc.cn\" type=\"hidden\" /></TD>");
document.writeln("        <TD><INPUT type=\"submit\" value=\"Send\" name=\"button\"></TD></TR></FORM></TBODY></TABLE>");