document.observe("dom:loaded", function() {
	// for toggling the search field
	$('top_search').observe('focus', function() {
		if (this.value == 'Search') {
			this.value = '';
			this.addClassName('focused');
		}
	});
	$('top_search').observe('blur', function() {
		if (this.value == '') {
			this.value = 'Search';
			this.removeClassName('focused');
		}
	});
});