
 // Below is for recommend form data checking
function validateNewsTitle(form) 
{
  //alert('Checking form...');
  var errorMsg = '';
  
  // Test that all the required fields are filled out ok
  	
  if (form.headline.value == "" )
    errorMsg += 'A Title is required\n';
  	
	
   if (errorMsg) 
	alert('Required form fields:\n'+errorMsg);
  document.returnValue = (errorMsg == '');
}