$().ready(
	function(){
	$(".LayerNext").css({"display":"none"});
	$(".LayerA").click(function(){
		 var index = $(".LayerA").index(this);
		 closeMenu(index);	
		 //回傳目前按下的按鈕位置
		$(this).next(".LayerNext").slideToggle('slow');	
		//return false;
	});
	
	function closeMenu(e){
		$('.LayerA').each(function(index) {
			if(index!=e){
				$(this).next(".LayerNext").hide('slow');	
			}
		  });
	}	
});

