
if (Prototype.Version) {
	document.observe('dom:loaded', function() {
		$$('#search input[type=text]').each(function(e) {
			e.wvInitValue = e.value;
			e.observe('focus', function(event) {
				if (this.wvInitValue && this.value == this.wvInitValue) this.value = '';
			})
			e.observe('blur', function(event) {
				if (this.wvInitValue && this.value == '') this.value = this.wvInitValue;
			})
		});		
	});
}