Array.prototype.clone = function(){
	return Array.apply(null,this)
}

function changeMonth(URL){
	var fname=URL;
	if(fname == "" || fname == undefined) $("side_c3_inner2").innerHTML = "Can not read the file name";

	new Ajax.Request(fname, {
		method: "get",
		onSuccess: doCalendar,
		onFailure:function(httpObj){
			$("side_c3_inner2").innerHTML = "Error occurred when the file is opening.";
		}
	});
}

function doCalendar(httpObj){
	var txtData = httpObj.responseText;
	$("side_c3_inner2").innerHTML = txtData;
}


