/**
 * search_bar.js
 * 
 * @author jscott
 * @requires jQuery
 * @created 8/19/2009
 * @modified 8/20/2009
 * @copyright 2009 Red Door Interactive
 * 
 * This script controls actions for the search bar.
 * Event binding occurs on page load ready.
 **/

jQuery(function(){
	var search_bar = jQuery('#search-for');
	//var default_text = (search_bar.val() == '') ? 'search mycricket.com' : search_bar.val();
	
	// Remove default value from search input.
	search_bar.focus(function(){
		jQuery(this).val('');
	});

	// Replace default value into search input.
	/*search_bar.blur(function(){
		jQuery(this).val(default_text);
	});*/
});
