Event.observe(window, 'load', function() {
	var fields = $$("input");
	for (var i = 0; i < fields.length; i++) {
		fields[i].onfocus = function() {
			this.className += ' focused';
			if(this.value == 'search...' && this.id == 's') this.value = '';
		}
		fields[i].onblur = function() {
			this.className = this.className.replace('focused', '');
			if(this.value == '' && this.id == 's') this.value = 'search...';
		}
	}
});

