document.write('<script language="JavaScript" type="text/JavaScript">');
document.write('function checkKeys()');
document.write('{');
	document.write('if (document.newsService.keysword.value == "" ) ');
	document.write('{');
		document.write('alert("Error, please input the keys.");');
		document.write('document.newsService.keysword.focus();');
		document.write('return false;');
	document.write('}');
	document.write('document.newsService.action = "/news/searchResult.asp?articleKeys=" + document.newsService.keysword.value;');
	document.write('document.newsService.submit();');
document.write('}');
document.write('function checkEmailAddress()');
document.write('{');
	document.write('if (document.newsService.emailAddress.value == "" ) ');
	document.write('{');
		document.write('alert("Error, please input your Email Address.");');
		document.write('document.newsService.emailAddress.focus();');
		document.write('return false;');
	document.write('}');
	document.write('document.newsService.action = "/user/bookNews.asp?emailAddress=" + document.newsService.emailAddress.value;');
	document.write('document.newsService.submit();');
document.write('}');
document.write('</script>');
document.write('<form name="newsService" id="form2" method="post" action="">');
document.write(' <table width="200" border="0" cellpadding="2" cellspacing="2">');
  document.write(' <tr>');
    document.write(' <td width="50" height="30" align="right">Keywords</td>');
    document.write(' <td height="30"><input name="keysword" type="text" id="keysword" size="16" /></td>');
   document.write('</tr>');
   document.write('<tr>');
   document.write(' <td height="30"align="right">&nbsp;</td>');
   document.write('  <td height="30"> <input type="button" name="Submit" value="Search News" onclick="return checkKeys()" class="button"/></td>');
   document.write(' </tr>');
  document.write(' <tr>');
   document.write('  <td height="30"align="right">Email</td>');
    document.write(' <td height="30"><input name="emailAddress" type="text" size="16" /></td>');
  document.write(' </tr>');
   document.write('<tr>');
    document.write(' <td height="30"align="right">&nbsp;</td>');
   document.write('  <td height="30"><input type="button" name="Submit" value="Book News" onclick="return checkEmailAddress()"  class="button"/></td>');
  document.write(' </tr>');
 document.write('</table>');
document.write('</form>');
