function eventEffects() {
	$(".centre > section").each(function(){
		/*-- hover --*/
		$(this).find("h2").hover(
			function(){
				if($(this).next("article").is(":hidden")){
					$(this).stop().animate({"marginBottom":"5px"},300);
				}
			},
			function(){
				$(this).stop().animate({"marginBottom":"0px"},150);
			}
		);

		/*-- click --*/
		$(this).find("h2").children("a").click(function(){
			//## All close ##
			$(".centre > section > article").slideUp(500);
			
			//## show ##
			$(this).parents("h2").animate({"marginBottom":"0px"},150);
			$(this).parents("section").children("article").slideDown();
			return false;
		});
	});

}

function initialEffect() {
	$(".centre > section > h2").css({"opacity":"0"});

	var length = $(".centre > section > h2").size();
	var start = $(".centre > section > h2:eq(0)");
	var i=0;

	showTitle = function(obj) {
		$(obj).animate({"opacity": 0.75},750,function(){
			i++;
			var next = $(".centre > section > h2:eq("+i+")");
			if(i<length) {
				showTitle(next);
			}else{
				eventEffects();
			}
		});
	}

	showTitle(start);
}

$(function(){
	initialEffect();
});
