<!--
function show_element(element_id) {
	var i = 0;
	do {
		i++;
		var div_element = document.getElementById("Origins_elements_" + i);
		if (div_element) {
			title_element = document.getElementById("title_Origins_elements_" + i);
			if (element_id == i) {
				  $("div#Origins_elements_" + element_id).show("slow");
				//div_element.style.display = 'block';
				//if (title_element) title_element.style.textDecoration = "underline";
				if (title_element) title_element.className = "menu_selected";
				
			}
			else {
				div_element.style.display = 'none';
				if (title_element) title_element.className = "";
				//if (title_element) title_element.style.textDecoration = "none";
			}
		}
	}
	while (div_element); 
}

function loadEventsCalendar(month, year, root) {
	$("#calendario").load(root+"eventi/nuovocalendario/mese-"+month+"/anno-"+year+"/");
}

function checkFlightType() {
	if($('input:radio[name=tipovolo]:checked').val() == 'undefined' || $('input:radio[name=tipovolo]:checked').val() != 'ar')
		$('#voliritorno').hide();
	else
		$('#voliritorno').show();
}

-->

