
function LoadCalendarDetail(calendar_id) {	
	var now_date = new Date()
	$.ajax({
		type: "POST",
		url: "calendar_detail.aspx",
		data: "cal_id=" + calendar_id + "&t=" + now_date.getTime() + Math.random(),
		success: function(msg){
			if (msg.length > 1){
				document.getElementById("calendar_detail_area").innerHTML = msg;
				var start_index = msg.indexOf("<!-- <DATE>") + 11;
				var stop_index = msg.indexOf("</DATE> -->");
				var len = stop_index - start_index;
				// alert(start_index + "," + stop_index);
				document.getElementById("detail_date_title").innerHTML = msg.substring(start_index,stop_index);
			}
		}
	});
}