/* <![CDATA[ */
	// default text to go in the form field.
	var firstname = 'First Name';
	var lastname = 'Last Name';
	var email = 'E-mail';
	var telephone = 'Telephone';

	// when the DOM is ready to be manipulated do some voodoo.
	$(document).ready( function(){
		// set the text in the email field to our default text
		document.quickcontact.First_Name.value=firstname;
		document.quickcontact.Last_Name.value=lastname;

		// when someone focuses on the field, if it is filled with the default text clear it out.
		// otherwise leave it there so we don't delete what someone has already entered.
		$('input#First_Name').focus( function(){
			if(document.quickcontact.First_Name.value==firstname){
				document.quickcontact.First_Name.value='';
			}
		});
		
		$('input#Last_Name').focus( function(){
			if(document.quickcontact.Last_Name.value==lastname){
				document.quickcontact.Last_Name.value='';
			}
		});
		
		$('input#E_mail').focus( function(){
			if(document.quickcontact.E_mail.value==email){
				document.quickcontact.E_mail.value='';
			}
		});
		
		$('input#Telephone').focus( function(){
			if(document.quickcontact.Telephone.value==telephone){
				document.quickcontact.Telephone.value='';
			}
		});

		// when someone leaves the email field check if it's empty. if it is put the default text
		// back into it.
		$('input#First_Name').blur( function(){
			if(document.quickcontact.First_Name.value==''){
				document.quickcontact.First_Name.value=firstname;
			}
		});
		
		$('input#Last_Name').blur( function(){
			if(document.quickcontact.Last_Name.value==''){
				document.quickcontact.Last_Name.value=lastname;
			}
		});
		
		$('input#E_mail').blur( function(){
			if(document.quickcontact.E_mail.value==''){
				document.quickcontact.E_mail.value=email;
			}
		});
		
		$('input#Telephone').blur( function(){
			if(document.quickcontact.Telephone.value==''){
				document.quickcontact.Telephone.value=telephone;
			}
		});
		// this is just for this page to keep the form from submitting
		$('form#quickcontact').submit( function(){
			// you could replace this return statement with a form validation script call if you wanted to.
			return false;
		});
	});
/* ]]> */