$(document).ready(function() {
/*
	$("li#menu_left_arrow a").click(function(event) {
		event.preventDefault();
		var href = $(this).attr("href");

//	        $("#menu").load("/ajax/menu.php?href="+href);
	        $("#menu").slideUp("slow", function(){ $(this).load("/ajax/menu.php"+href); })
		.slideDown("slow");

$('#myElement').before('replacement').remove();
*/
/*


		var date = $(this).attr("href");

		jQuery.ajax({
			method: "get", url:"/ajax/menu.php", data:"date="+date,
			beforeSend: function() {
				$("#menu_list").innerhtml("apa bepa");
			},
			complete: function() {
				$("#menu_list").slideDown(1500);
			},
			success: function(html){ //so, if data is retrieved, store it in html
				$("#menu_list").slideDown(1500); //animation
				$("#menu_list").html(html); //show the html inside .content div
			}
		});
	});
*/
});


function menu_arrow_click(start_date) {
        $("#menu_list").fadeOut(500, function(){ $(this).load("/ajax/menu.php?start="+start_date); })
	.fadeIn("slow");
}

