// Field Name Scripts Peter Fraterdeus ©2002

function onFieldFocus(myField) {
		
		//document.writeln("myField.value="+myField.value);
		
		if (myField.value.toLowerCase()==myField.title.toLowerCase()) myField.value='';
		// if the user has not entered anything, the value will match and we set the value to ''
		// otherwise, there's user data in the field, so leave it alone

		}
		
		function onFieldBlur(myField) {
				
		 if (myField.value=='') myField.value=myField.title;
		 
		// if the user has entered data, leave it alone, but if the field is blank,
		// restore the default value
		
	
		}
		

		
		function checkEMail(myForm) {
		
		// we check to see if the values of the two email fields are the same.
		// the '!' means 'NOT' as in 
		//		'if NOT(value2 is equal to value2) then....'
		
		//alert(whichClick);
		if (whichClick=='submit') { 
		
			if (!(myForm.email.value == myForm.email_2.value)) { 
			
				alert("Please make sure your email is correct!");
				myForm.email.focus(); // place the cursor back in the eMail field
				return false;  //  do not process the form
			} 
		
			}
			
			return true; // continue to process the form
			
			
		
		}
// -->

