jQuery(function() {

	heightArray = new Array();
	$(".top-info").each(function(i) {
	  theHeight = $(this).height();
	  heightArray[i] = theHeight;
	});

	$(".top-info").hide(); 

	$('.clickable').click(		
		function() {
			$('.top-info', $(this).parent()).css({height: heightArray[$(".top-header").index(this)]});
			$(".top-info").each(function (i) {
				if ( $(this).is(':visible') ) {
					$(this).stop().slideToggle(500, "expoinout");

				}
			});
			$('.top-info', $(this).parent()).stop().slideToggle(500, "expoinout");
	});
		
	$('#Content_button').hover(
		  function () {
			$(this).stop().animate({ "left" : "-5px" }, 250, "backout");
			$('.arrow', this).stop().animate({ "left" : "200px" }, 250, "backout");		
		  }, 
		  function () {
			$(this).stop().animate({ "left" : "0" }, 250, "backout");
			$('.arrow', this).stop().animate({ "left" : "175px" }, 250, "backout");
		  }
	);

});

