/*
 * Placeholder plugin:
 * Swaps input field text with placeholder on blur/focus
 *
 * Edited by pfdemp 3/22/10 to only clear field for default text "Search"
 */
(function($){
	$.fn.placeholder = function()
	{
		// Remove default text on focus
		$(this).focus(function()
		{
		  if($(this).val() == 'Search')
		  {
		  	$(this).val('');
		  }
		}).blur(function()
		{
			if($(this).val() == '')
			{
				$(this).val($(this).attr('defaultValue'));
			}
		});
	}
})(jQuery);
