//##################################################################
//
//	Filename:	ValidateForm.js
//	Author:		Emil Bakalinov
//	Date Created:	
//
//	Description:	Checks Form fields if empty
//			
//			
//
//##################################################################

function ValidateForm(form) {

   if((form.title.value)=="") 
   { 
      alert('You have not entered a title!') ;
      form.title.focus(); 
      return false; 
   } 
   if((form.author.value)=="") 
   { 
      alert('You have not entered an author!') ;
      form.author.focus(); 
      return false; 
   } 

   if((form.date.value)=="") 
   { 
      alert('You have not entered a date!') ;
      form.date.focus(); 
      return false; 
   } 
return true;
 }


