jQuery(document).ready(function(){	
	//uses the color.js jquery plugin for the colour fading	

	$(".form-field, .text-input").focus(function (){
		$(this).animate({backgroundColor:"#f2ede4"},  500);
		i = $(this).val(); 
		this.select();	
		
	});
	
	$(".form-field, .text-input").blur(function (){
		 if($(this).val() == ''){ 
			$(this).val(i);
		 }
		 $(this).animate({backgroundColor:"#fff"},  500);
	});  
	
});
