document.observe("dom:loaded", function() {
	// our search form defaults to having the "Search..." label within the keywords input field.  thus, when we 
	// focus it, if that label is within it, then we'll blank it out.  but, if on blur it's empty, then we'll put
	// our label back into it.
										
	$("keywords")
		.observe("focus", function() { if(this.value == "Search...") this.value = ""; })
		.observe("blur",  function() { if(this.value == "") this.value = "Search..."; });
		
	$("menu").observe("click", function(event) {
		if(event.target.tagName == "A") $(event.target).addClassName("on").up().siblings().invoke("down").invoke("removeClassName", "on");
	});			
});
