	<!-- Hide script from old browsers
	scrWide = 600;
	scrLong = 450;

//    This function opens newUrl in a new navigable window
	function newSite(newUrl){

	if (screen) {
		scrWide = screen.width-180;
		scrLong = screen.height-180;
		}
	newWindow = window.open(newUrl, 'newWin', 'width='+scrWide+',height='+scrLong+',left=145,top=10,toolbar=yes,location=yes,scrollbars=yes,resizable=yes,status=yes,menubar=yes');
	newWindow.focus();
	}

//     This function allows close button in child windows - else BACK
	function closeWindow() {
		if (window.name == "newScr") {
			window.close()
		}
		else {
			history.back()
		}
	}

// this works in explorer - not in Netscape... changes colors in the menu table as mouse rolls over selection
	function onColor1(blah)
	{
		blah.style.backgroundColor='#b0b8c4';
	}

	function offColor1(blah)
	{
		blah.style.backgroundColor='#d0d8e4';
	}

	function setReason(blah)
	{
		if (document.form1.event.selectedIndex != 0) {
			document.form1.reason.selectedIndex = 0;
			return false;
			}
	}

// once entering validation field, check entry before releasing
      function valiDate(testForm) {
		lsVerify = testForm.verify.value.toUpperCase();
		testForm.verify.value = lsVerify;
		if (lsVerify != "P3F9E") {
			alert("Incorrect Validation Entry - please revalidate.");
			testForm.verify.focus();
			return false;
			}
		}
		
// Check form completion before sending data
      function processing(testForm) {
		if (testForm.realname.value == "") {
			alert("Please enter your name in the 'Name' field.");
			testForm.realname.focus();
			return false;
			}

		if (testForm.email.value == "") {
			alert("Please enter your e-mail address in the 'E-mail' field.");
			testForm.email.focus();
			return false;
			}
// the script below will do a preliminary check if the name is email
		else {
			var lcMail = testForm.email.value
			var lnAt = lcMail.split("@")
			if (lnAt.length < 2) {
				alert("Please enter a valid address for the 'E-mail' field.");
				testForm.email.focus();
				return false;
				}
			var lnAt1 = lnAt[1].split(".")
			if (lnAt1.length < 2) {
				alert("Please enter a valid address for the 'E-mail' field.");
				testForm.email.focus();
				return false;
				}
			}

		if ((testForm.Phone.value == "") && (testForm.Mobile.value == "")) {
			alert("Please enter either a phone or mobile contact number.");
			testForm.Phone.focus();
			return false;
			}
		if ((testForm.Phone.value != "") && (testForm.Phone.value.slice(0,1) != "0")) {
			alert("Please enter the area code with your phone number.");
			testForm.Phone.focus();
			return false;
			}
		if (testForm.Comment.value == "") {
			alert("You did not enter any comment or question for us.");
			testForm.Comment.focus();
			return false;
			}

		if (testForm.verify.value.toUpperCase() != "P3F9E") {
			alert("Incorrect Validation Entry - please revalidate.");
			testForm.verify.focus();
			return false;
			}

         testForm.submitButton.value = 'Thank you.  Sending information...'
         }
	

	function checkLen(formInput,lenInput) {
		var lnInput = formInput.value.length
		if (lnInput > lenInput) {
			alert("Length of input has exceeded the limit of " + lenInput + " characters.");
			formInput.value = formInput.value.slice(0,lenInput);
			formInput.focus();
	  		}
		}
	
	// End hiding script from old browsers -->

