

<!--    


function validate_form(){

//=========================================================
//Begin Validate First Name Field

	if (claytonform.firstname.value == "")
  {
    alert("Please enter a value for the First Name field.");
    claytonform.firstname.focus();
    return (false);
  }

  
//End Validate First Name Field
//=========================================================


//=========================================================
//Begin Validate Last Name Field

	if (claytonform.surname.value == "")
  {
    alert("Please enter a value for the Surname field.");
    claytonform.surname.focus();
    return (false);
  }
  

//End Validate Last Name Field
//=========================================================


//=========================================================
//Begin Validate Telephone Field

	if (claytonform.telephone.value == "")
  {
    alert("Please enter a value for the Telephone field.");
    claytonform.telephone.focus();
    return (false);
  }  

//End Validate Telephone Field

//=========================================================


//=========================================================
//Begin Validate Enquiry Field

	if (claytonform.enquiry.value == "")
  {
    alert("Please enter an enquiry.");
    claytonform.enquiry.focus();
    return (false);
  }

  
//End Validate Enquiry Field

//=========================================================

  return (true);

  }

//-->

<!--    


function validate_res_form(){

//=========================================================
//Begin Validate First Name Field

	if (claytonresform.firstname.value == "")
  {
    alert("Please enter a value for the First Name field.");
    claytonresform.firstname.focus();
    return (false);
  }

  
//End Validate First Name Field
//=========================================================


//=========================================================
//Begin Validate Last Name Field

	if (claytonresform.surname.value == "")
  {
    alert("Please enter a value for the Surname field.");
    claytonresform.surname.focus();
    return (false);
  }
  

//End Validate Last Name Field
//=========================================================


//=========================================================
//Begin Validate Date From Field

	if (claytonresform.dd.value == "")
  {
    alert("Please enter a value for the Date From field.");
    claytonresform.dd.focus();
    return (false);
  }  

//End Validate Date From Field

//=========================================================

//=========================================================
//Begin Validate Date From Field

	if (claytonresform.mm.value == "")
  {
    alert("Please enter a value for the Date From field.");
    claytonresform.mm.focus();
    return (false);
  }  

//End Validate Date From Field

//=========================================================

//=========================================================
//Begin Validate Date From Field

	if (claytonresform.yy.value == "")
  {
    alert("Please enter a value for the Date From field.");
    claytonresform.yy.focus();
    return (false);
  }  

//End Validate Date From Field

//=========================================================

//=========================================================
//Begin Validate Date To Field

	if (claytonresform.dd2.value == "")
  {
    alert("Please enter a value for the Date To field.");
    claytonresform.dd2.focus();
    return (false);
  }  

//End Validate Date To Field

//=========================================================

//=========================================================
//Begin Validate Date To Field

	if (claytonresform.mm2.value == "")
  {
    alert("Please enter a value for the Date To field.");
    claytonresform.mm2.focus();
    return (false);
  }  

//End Validate Date To Field

//=========================================================

//=========================================================
//Begin Validate Date To Field

	if (claytonresform.yy2.value == "")
  {
    alert("Please enter a value for the Date To field.");
    claytonresform.yy2.focus();
    return (false);
  }  

//End Validate Date To Field

//=========================================================


//=========================================================
//Begin Validate Address Field

	if (claytonresform.address.value == "")
  {
    alert("Please enter an Address.");
    claytonresform.address.focus();
    return (false);
  }

  
//End Validate Address Field

//=========================================================

//=========================================================
//Begin Validate Address Field

	if (claytonresform.city.value == "")
  {
    alert("Please enter a City.");
    claytonresform.city.focus();
    return (false);
  }

  
//End Validate Address Field

//=========================================================

//=========================================================
//Begin Validate Address Field

	if (claytonresform.postcode.value == "")
  {
    alert("Please enter a Postcode.");
    claytonresform.postcode.focus();
    return (false);
  }

  
//End Validate Address Field

//=========================================================

//=========================================================
//Begin Validate Address Field

	if (claytonresform.telnumber.value == "")
  {
    alert("Please enter a Contact Telephone Number.");
    claytonresform.telnumber.focus();
    return (false);
  }

  
//End Validate Address Field

//=========================================================

  return (true);

  }

//-->


<!--     

             aon = new Image();
             aon.src = "images/but1_2.gif";
             aoff = new Image();
             aoff.src = "images/but1_1.gif";     

             bon = new Image();
             bon.src = "images/but2_2.gif";
             boff = new Image();
             boff.src ="images/but2_1.gif";     

             con = new Image();
             con.src = "images/but3_2.gif";
             coff = new Image();
             coff.src = "images/but3_1.gif";     

             don = new Image();
             don.src = "images/but4_2.gif";
             doff = new Image();
             doff.src = "images/but4_1.gif";

             eon = new Image();
             eon.src = "images/but9_2.gif";
             eoff = new Image();
             eoff.src = "images/but9_1.gif";
            
 			 fon = new Image();
             fon.src = "images/but6_2.gif";
             foff = new Image();
             foff.src = "images/but6_1.gif";
			             
 			 gon = new Image();
             gon.src = "images/but7_2.gif";
             goff = new Image();
             goff.src = "images/but7_1.gif";
			             
 			 hon = new Image();
             hon.src = "images/but8_2.gif";
             hoff = new Image();
             hoff.src = "images/but8_1.gif";

             var stag;       
             var tag = 1;
             var rollbuf = "CLEAR";
     

     function rollon(imgName) {
             clearTimeout(stag);
             if ( rollbuf != "CLEAR" ) {
               imgbutton = eval(rollbuf + "off.src");
               document[rollbuf].src = imgbutton;
               rollbuf = "CLEAR";
             }

             imgbutton = eval(imgName + "on.src");
             document[imgName].src = imgbutton;
             tag = 1;

     }

     function rolloff(imgName) {
             if (tag == 1) { 
               rollbuf = imgName;
               BLAH = imgName;
               stag = setTimeout("rolloff(BLAH)",20);
               tag = 0;
             }

             else {
               imgbutton = eval(imgName + "off.src");
               document[imgName].src = imgbutton;
               rollbuf = "CLEAR";
               self.status="Welcome to Clayton Caravan Park.";
               tag = 1;
             }
     }     

//-->

