	function highlightCalendarCell(element) {
		$(element).style.border = '1px solid #000000';
	}

	function resetCalendarCell(element) {
		$(element).style.border = '1px solid #AAA';
	}
	
	function startCalendar(month, year) {
		new Ajax.Updater('calendarInternal', 'inc/calendar.php', {method: 'post', postBody: 'action=startCalendar&month='+month+'&year='+year+'&idlangue='});
	}
	
	function highlightEvent(day) {
		Element.hide('addEventForm');
		$('calendarDay_'+day+'').style.background = '#ffaf03';
	}
	
	function showLoginBox() {
		Element.show('loginBox');
	}
	
	function showCP() {
		Element.show('cpBox');
	}
	
    
    function refresh(){
        myMonth = $F('evtMonth');
        myYear = $F('evtYear');
        startCalendar(myMonth,myYear);
    }

	function showEvent(url){
		document.location.href = url;
	}
