

<!--     

             aon = new Image();
             aon.src = "but1_2.gif";
             aoff = new Image();
             aoff.src = "but1_1.gif";     

             bon = new Image();
             bon.src = "but2_2.gif";
             boff = new Image();
             boff.src ="but2_1.gif";     

             con = new Image();
             con.src = "but3_2.gif";
             coff = new Image();
             coff.src = "but3_1.gif";     

             don = new Image();
             don.src = "but4_2.gif";
             doff = new Image();
             doff.src = "but4_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="NGM Photography";
               tag = 1;
             }
     }     

//-->


function validate_form(){

//=========================================================
//Begin Validate First Name Field

	if (ngmform.firstname.value == "")
  {
    alert("Please enter a value for the First Name field.");
    ngmform.firstname.focus();
    return (false);
  }

  
//End Validate First Name Field
//=========================================================


//=========================================================
//Begin Validate Last Name Field

	if (ngmform.surname.value == "")
  {
    alert("Please enter a value for the Surname field.");
    ngmform.surname.focus();
    return (false);
  }
  

//End Validate Last Name Field
//=========================================================


//=========================================================
//Begin Validate Telephone Field

	if (ngmform.telephone.value == "")
  {
    alert("Please enter a value for the Telephone field.");
    ngmform.telephone.focus();
    return (false);
  }  

//End Validate Telephone Field

//=========================================================


//=========================================================
//Begin Validate Enquiry Field

	if (ngmform.enquiry.value == "")
  {
    alert("Please enter an enquiry.");
    ngmform.enquiry.focus();
    return (false);
  }

  
//End Validate Enquiry Field

//=========================================================

  return (true);

  }
