// JavaScript Document
	function getCalendar(date) {
		  toolTip();
		  var xmlhttp = new XMLHttpRequest();
			  if (xmlhttp){
				  url="../calendar/calendarMonth.asp?date="+encodeMyHtml(date);
				  xmlhttp.open("GET",url,true);
				  xmlhttp.onreadystatechange=function() {
				  if (xmlhttp.readyState==4) {
					hideObject('loadingCalendar');
					document.getElementById('calendarMonth').innerHTML = xmlhttp.responseText; 			
					showObject('calendarMonth');				   
				  }
			  }
			 xmlhttp.setRequestHeader('Accept','message/x-jl-formresult')
			 xmlhttp.send()
			 return false
		   }
	 }
	function prevMonth(){
		var date = document.forms.prevMonth.date.value;
		getCalendar(date);
	}
	function nextMonth(){
		var date = document.forms.nextMonth.date.value;
		getCalendar(date);
	}
	function currMonth(){
		var date = document.forms.currMonth.date.value;
		getCalendar(date);
	}
	function selectDate(date){
		var oForm = document.forms.frmDate;
		oForm.date.value = date;
		oForm.action = '../ordinedeimedici/eventiList.asp';
		oForm.submit();
	}