function checker(theForm)
{
  if (theForm.name.value == "")
  {
    alert("\"Name\" field cannot be left blank.\n\n Please complete the Name field.");
    theForm.name.focus();
    return (false);
  }
  
 
  if (theForm.email.value == "")
  {
    alert("\"Email address\" field cannot be left blank.\n\n Please complete the Email address field.");
    theForm.email.focus();
    return (false);
  }
  
  if (theForm.phone.value == "")
  {
    alert("\"Contact telephone.\" field cannot be left blank.\n\n Please complete the Contact telephone field with your contact phone number.");
    theForm.phone.focus();
    return (false);
  }
  
 if (theForm.message.value == "")
  {
    alert("\"Message.\" field cannot be left blank.\n\n Please complete the Message field with your contact message.");
    theForm.phone.focus();
    return (false);
  }

  return (true);
}
 

function getdate()
{
// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

// Array list of months.
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
today =  days[now.getDay()] + " " +
			date + " " +
              months[now.getMonth()] + " " +
                (fourdigits(now.getYear())) ;

// Print out the data.
document.write("" +today+ "");
}
