function FormSubmit() {
	var name = document.postForm.name.value;
	var email = document.postForm.email.value;
	var comments = document.postForm.comments.value;
	if (name == "") {
		alert("\nThe NAME field is blank.\n\nPlease enter your name.");
		document.postForm.name.focus();
		return false;
	}
	var pattern = /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-])+/;
	if (!pattern.test(email)) {
		alert("\nPlease enter a valid email.");
		document.postForm.email.focus();
		return false;
	}  
	if (comments == "") {
		alert("\nThe COMMENTS field is blank.\n\nPlease enter your comments.");
		document.postForm.comments.focus();
		return false;
	}
	return window.open ('', 'mailWindow', 'height=322,width=440,toolbar=no,status=no,scrollbars=no,resizable=no');
}

document.write('<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#FFE9D1">');
document.write('<tr><td><b>Post Your Comments</b></td></tr>');
document.write('<form name="postForm" action="http://app.chinabroadcast.cn/mailsender/mail2.php" method="POST" target="mailWindow" onsubmit="return FormSubmit()">');
document.write('<tr><td bgcolor="#FFFFFF">');
document.write('<p><b>Your Name:<br></b>');
document.write('<input name="name" type="text" size="24" maxlength="48"><br>');
document.write('<b>E-mail:</b><br><input name="email" type="text" size="24" maxlength="48">');
document.write('<br><b>Comments:</b><br><textarea name="comments" cols="60" rows="5"></textarea>');
document.write('</p>');
document.write('<p align="center">');
document.write('<input type="submit" name="Submit" value="Submit">');
document.write('<input type="reset" name="Reset" value="Reset">'); 
document.write('<input type="hidden" name="subject" value="ÍøÕ¾·´À¡">');
document.write('<input type="hidden" name="title" value="' + document.title + '">');
document.write('<input type="hidden" name="url" value="' + window.location.href + '">');
document.write('</p></td></tr>');
document.write('</form>');
document.write('</table>');