/**
 * This is where the magical bits of jQuery go.
 */
jQuery(document).ready(function($) {
	/Clears form inputs on focus/
		jQuery('input[type="text"]').focus(function() {
	        if (this.value == this.defaultValue){
	        	this.value = '';
	    	}
	        if(this.value != this.defaultValue){
		    	this.select();
	        }
	    });

		/Resets form inputs on blur/
		$('input[type="text"]').blur(function() {
		    if ($.trim(this.value) == ''){
		    	this.value = (this.defaultValue ? this.defaultValue : '');
		    }
		});
		

});