// Clear input if value is blank. use title attribute

$.fn.clearInput = function() {
	return this.each(function() {
		if( this.value == "" ) {
			var t = $(this).attr('title');
			this.value = t;
		}
	}).focus(function() {
		var t = $(this).attr('title');
			if( this.value == t ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			var t = $(this).attr('title');
			this.value = t;
		}
	});
};

