jQuery(function( $ ) {
	
	$('#q').focus(function(e) {
		
		if (typeof(this.restore) == 'undefined') {
			this.restore	=	this.value;
			this.value		=	'';
		}
		else if (this.value == this.restore) {
			this.value		=	'';
		}
	});
	
	$('#q').blur(function(e) {
		
		if (this.value == '') {
			this.value	=	this.restore;
		}
	});
});
