

<!--- Hide from non-JavaScript browsers
   var Now=new Date();
   var ThisDay=Now.getDate();
   var ThisMonth=Now.getMonth()+1;
   var ThisYear=Now.getFullYear();    
   var Hrs=Now.getHours();
   var Mins=Now.getMinutes();
   var MonthName=MonthTxt(ThisMonth);
   var AmPm;

function MonthTxt (MonthNumber) {
   var Month=new Array();
   Month[1]="January";
   Month[2]="February";
   Month[3]="March";
   Month[4]="April";
   Month[5]="May";
   Month[6]="June";
   Month[7]="July";
   Month[8]="August";
   Month[9]="September";
   Month[10]="October";
   Month[11]="November";
   Month[12]="December";
return Month[MonthNumber];
}

if(Hrs >= 12) {
    AmPm = " P.M. ";
} else {
    AmPm = " A.M. ";
}
if (Hrs > 12) {
    Hrs -= 12;
}
if (Hrs == 0) {
    Hrs = 12;
}
if (Mins < 10) {
    Mins = "0" + Mins;
}

function checkMandatory()
{
	var error_string = "";
        
	    
	//Check to see if a name is in the First Name field
    
	  if (window.document.My_Form.firstname.value == "")
	{
          error_string += "Please Provide your First Name.\n";
    	}
	
	
	//Check to see if a name is in the Last name field

	  if (window.document.My_Form.lastname.value == "")
    	{
          error_string += "Please Provide your Last Name.\n";
    	}

	if (window.document.My_Form.company.value == "")
	{
          error_string += "Please Provide your Company Name.\n";
    	}	
	
	if (window.document.My_Form.mailfrom.value == "")
    	{
          error_string += "Please Provide your Email Address.\n";
    	}
       
        if (window.document.My_Form.phone.value == "")
    	{
          error_string += "Please Provide your Phone Number.\n";
    	} 

     	  if (error_string == "")
    	{
          return true;
    	} else {
          
	  error_string = "We found the following ommisions in your form: \n" + error_string;
          alert(error_string);
	  return false;
	  
    	} 
}


// end hide -->


