jQuery(document).ready(function($) {
$('input').focus(function() {
        if (this.value == this.defaultValue){
        	this.value = '';
    	}
        if(this.value != this.defaultValue){
	    	this.select();
        }
    });

    $('input').blur(function() {	    	
        if (this.value == '' || this.value == this.defaultValue ){this.value = this.defaultValue;
    	}
    });
});
