
	function mOvr(myVal) {
      document.getElementById('forkslinks').style.display='none';
      document.getElementById('bucketslinks').style.display='none';
      document.getElementById('grappleslinks').style.display='none';
      document.getElementById('boomslinks').style.display='none';
      document.getElementById('trailerspotterslinks').style.display='none';
      document.getElementById('partslinks').style.display='none';
      document.getElementById('compactlinks').style.display='none';
      document.getElementById('carriagelinks').style.display='none';
      document.getElementById('aboutlinks').style.display='none';
      document.getElementById('threepointlinks').style.display='none';
      document.getElementById(myVal).style.display='block';
	}

	function mOut(myVal) {
      document.getElementById(myVal).style.display='none';
	}

   function PartCart( ) {
      window.open( "./pricing/", "displayWindow", "resizable=yes,toolbar=yes,scrollbars=yes,width=700,height=600,left=20,top=20");
   }

function validate_form() {

      if (document.theForm.Contact_Name.value == "") {
        alert ( "Please fill in the 'Your Name' box." );
        theForm.Contact_Name.focus(); 
        theForm.Contact_Name.select();
        return false;
        }
      if ((document.theForm.Contact_Phone.value == "") && (document.theForm.Contact_Email.value == "")) {
        alert ( 'Please fill in either the \'Telephone\'\nor \'Email Address\' box so we can get\nback to you. Thank you...');
        theForm.Contact_Phone.focus(); 
        theForm.Contact_Phone.select();
        return false;
        }        
    }


function stopRKey(evt) {
	var evt  = (evt) ? evt : ((event) ? event : null);
	var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
	if ((evt.keyCode == 13) && (node.type=="text")) { return false; }
}

document.onkeypress = stopRKey;






  /* function validateform() {
      x=true;
      y=0;
	   isADate = /^[0-9][0-9]\/[0-9][0-9]\/[0-9][0-9][0-9][0-9]$/;
      if (document.mainform.approved_by.value == "") {
         x=false;
         y=y+1;
      }
      dtsigned = document.mainform.date_signed.value;
      if (dtsigned == "" || isADate.test(dtsigned)== false) {
         x=false;
         y=y+2;
      }
      if (y==1) {
         alert('Approved by name is required. Please try again.');
      }
      if (y==2) {
         alert('Please enter a date in format mm/dd/yyyy.');
      }
      if (y==3) {
         alert('Approved by name and date are required. Please try again.');
      }
      return x;
   } */
