/*
 * Jquery autoclear & refill plugin 
 * @copyright Chris Newton <cnewton@barrettnewton.com>
 *
*/
(function ($) {
	$.fn.autoclear = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};
})(jQuery);