$(document).ready(function(){

	// The relative URL of the submit.php script.
	// You will probably have to change	it.
	var submitURL = 'submit.php';

	// Caching the feedback object:	
	var feedback = $('#blog');

	$('#blog').hover(function(){

		// We are storing the values of the animated
		// properties in a separate object:
				
		var anim	= {		
			mb : 0,			// Margin Bottom
			pt : 0			// Padding Top
		};
		
		var el = $(this).find('.arrow');
		
		if(el.hasClass('down')){
			anim = {
				mb : -30,
				pt : 0
			};
		}

		// The first animation moves the form up or down, and the second one 
		// moves the "Feedback heading" so it fits in the minimized version
		
		feedback.stop().animate({marginBottom: anim.mb});
		
		feedback.find('.sectionblog').stop().animate({paddingTop:anim.pt},function(){
			el.toggleClass('down up');
		});
	});
		return false;
	});

