$.fn.searchBox = function() {
	return this.focus(function() {
		if ($(this).hasClass("default"))
			$(this).removeClass("default");
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
		else {
			this.select();
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
			$(this).addClass("default");
		}
	});
};