$(document).ready(function(){
	
		// sets the initial value for search phrase field, then removes text on focus
		var sDefaultPhrase = 'Search';
	  
		$("#sSearchPhrase").val(sDefaultPhrase).focus(function () {
			if ($(this).val() == sDefaultPhrase) {
				$(this).val('');
			};
		}).blur(function(){
			if ($(this).val() == '') {
				$(this).val(sDefaultPhrase);
			};
		});
		
		$('#emailThis').hide();
		
		jQuery.fn.fadeToggle = function(speed, easing, callback) {
			return this.animate({opacity: 'toggle'}, speed, easing, callback);
		}; 
			
		$('.emailArticle a').click(function(){
			$('#emailThis').fadeToggle();
			return false;
		})

});


