jQuery(function() {

	/* Assanka change: set the value of the search form input field to 
	  a hint on page load, which disappears the first time the field is 
	  clicked. */

	var title = jQuery("#s").attr("title");
	jQuery("#s[value=]").val(title);
	jQuery("#s").not(".processed").bind("click", function() {
		jQuery(this).val("").unbind("click").addClass("processed");
	})
	jQuery("#searchsubmit").click(function() {
		jQuery("#s[value=Search]").not(".processed").val("");
	});
	/* End Assanka change */
        // Assanka change: show various buttons
        jQuery("body.homepage .buttons, #steps").show();
        // End Assanka change


});
