 $(document).ready(function() {
	$('#toggle').toggle(function() {
		  $('.headwrapper #header').animate({
			  height: '200px',
			  backgroundPosition: '65px 250px'
		  }, 1000); //slide the header up -- need to add cookie variable checks / storing

		  $('.headwrapper #toggle').animate({
			 backgroundPosition: '-36px 0px'
		 }, 400); // display show graphic
		 
	}, function() {
		 $('.headwrapper #header').animate({
			 height: '454px',
			 backgroundPosition: '65px 65px'
		 }, 1000);//slide the header down -- need to add cookie variable checks / storing

		 $('.headwrapper #toggle').animate({
			 backgroundPosition: '0px 0px'
		 }, 400); // display hide graphic
	});
	
	//slide down the header on load -- need to add check if cookie is set so it stays up or down depending on preference.
	 $('.headwrapper #header').animate({
			 height: '454px',
			 backgroundPosition: '65px 65px'
		 }, 1000);//slide the header down

		 $('#video').flash({
			swf: 'http://'+ window.location.hostname +'/flash/ask_junebug_video.swf',
			width: 273,
			height: 191
		});
		
	(function($){
	$.fn.clearDefault = function(){
		return this.each(function(){
			var default_value = $(this).val();
			$(this).focus(function(){
				if ($(this).val() == default_value) $(this).val("");
			});
			$(this).blur(function(){
				if ($(this).val() == "") $(this).val(default_value);
			});
		});
	};
})(jQuery);

	$('#keywords .input input').clearDefault();

 });
