
user = "info";
site = "timberlinetreeshear.com";

	function mOvr(myVal) {
      document.getElementById(myVal).style.display='block';
	}

	function mOut(myVal) {
      document.getElementById(myVal).style.display='none';
	}

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;

