function RollOverById(obj,action)
{
	obj.className = (action == "out") ? obj.id+'_out' : obj.id+'_over';
}

function RollOverByClass(obj,classin)
{
	obj.className = classin;
}


function AddCamera()
{
	var htmlCode = ""; //Conterrà il codice html
	
	var campi = document.createElement("div");
	var n_camera = document.forms['ins_strut'].totcamere.value;
	
	campi.id = "rowcamera"+n_camera; //assegna al div un nome
	document.getElementById("camera").appendChild(campi);
	
	htmlCode += '<table width="700" cellpadding="2" cellspacing="3">';
	htmlCode += ' <tr>';
	htmlCode += '  <td class="field_name">NOME</td>';
	htmlCode += '  <td class="field_value" colspan="3"><input type="text" name="nome_camera'+n_camera+'" value="" size="60"/></td>';
	htmlCode += '  <td rowspan="3" class="field_value"><input type="button" name="elimina'+n_camera+'" value="Elimina" onclick="DelCamera('+n_camera+');" />';	
	htmlCode += ' </tr>';
	htmlCode += ' <tr>';
	//htmlCode += '  <td class="field_name">POSTI DISP x TIPOLOGIA</td>';
	//htmlCode += '  <td class="field_value"><input type="text" name="dispo_camera'+n_camera+'" value="" /></td>';
	htmlCode += '  <td class="field_name">CAPIENZA CAMERA</td>';
	htmlCode += '  <td colspan="3" class="field_value"><input type="text" name="posti_camera'+n_camera+'" value="" /><input type="hidden" name="dispo_camera'+n_camera+'" value="0" /></td>';
	htmlCode += ' </tr>';
	htmlCode += ' <tr>';
	htmlCode += '  <td class="field_name">DESCRIZIONE</td>';
	htmlCode += '  <td colspan="3" class="field_value">';
	htmlCode += '    <textarea name="descrizione_camera'+n_camera+'" cols="60" rows="4"></textarea>';
	htmlCode += '    <input type="hidden" name="note_camera'+n_camera+'" value="" />';
	htmlCode += '  </td>';
	htmlCode += ' </tr>';
	htmlCode += '</table>';
	campi.innerHTML = htmlCode;
	n_camera++;
	document.forms['ins_strut'].totcamere.value = n_camera;
	
}//fine function AddRow()


/*
Questa funzione mi permetterà di cancellare un nodo
*/
function DelCamera(ind)
{	
	var n_camera = document.forms['ins_strut'].totcamere.value;
	try
	{
		var indToDel = "rowcamera"+ind;
		
	
		var d = document.getElementById("camera"); 
		var d_nested = document.getElementById(indToDel); 
		d.removeChild(d_nested);		 
		
		//n_camera--;
		//document.forms['ins_strut'].totcamere.value = n_camera;
	}
	catch(e) {
	}
}//fine function DelRow(ind)

function gestMenu(action)
{
	if(action == "close")
	{

	  document.getElementById('menuExt').style.display = "none";
	  document.getElementById('menuRes').style.display = "block";
	}
	if(action == "open")
	{
	  document.getElementById('menuExt').style.display = "block";
	  document.getElementById('menuRes').style.display = "none";
	}	

}

function gestVoice(obj)
{
	array_menu = new Array("struttura","volo","pacchetto","pdf","immagini","agenzie","geografica","aeroporto","tassa");
	
	section = obj.id.replace("button_","");
	obj_new = document.getElementById('voice_'+section);
	
	for(var i=0; i < array_menu.length; i++)
	{	
		obj_toclose = document.getElementById('voice_'+array_menu[i]);			
		if(array_menu[i] == section && (obj_new.style.display == "none" || obj_new.style.display == ""))		 	
			obj_new.style.display = "block";		
		else
			obj_toclose.style.display = "none";
		
	}
		
	/*if(obj_new.style.display == "none" || obj_new.style.display == "")
		obj_new.style.display = "block";
	else
		obj_new.style.display = "none";*/
}

function gestSectionGeografica(obj)
{
	section = obj.name.replace("show_","");
	if(obj.checked == false)
		document.getElementById('layer_show_'+section).style.display = "none";
	else
		document.getElementById('layer_show_'+section).style.display = "";
}

function AddImmagini(form_name)
{
	var htmlCode = ""; //Conterrà il codice html
	
	var campi = document.createElement("div");
	var n_immagine = document.forms[form_name].totimmagini.value;
	
	campi.id = "rowimmagini"+n_immagine; //assegna al div un nome
	document.getElementById("immagine").appendChild(campi);
	
	htmlCode += '<table width="700" cellpadding="2" cellspacing="3">';
	htmlCode += ' <tr>';
	htmlCode += '  <td class="field_name">FILE</td>';
	htmlCode += '  <td class="field_value"><input type="file" name="image'+n_immagine+'" value="" /></td>';
	htmlCode += '  <td rowspan="2" align="center" class="field_value"><input type="button" name="elimina'+n_immagine+'" value="Elimina" onclick="DelImmagine('+n_immagine+',\''+form_name+'\');" /></td>';
	htmlCode += ' </tr>';
	htmlCode += ' <tr>';	
	htmlCode += '  <td class="field_name">ALT (BREVE DESCRIZIONE)</td>';
	htmlCode += '  <td class="field_value"><input type="text" name="alt'+n_immagine+'" value="" size="40" /></td>';
	htmlCode += ' </tr>';
	htmlCode += '</table>';

	campi.innerHTML = htmlCode;
	n_immagine++;
	document.forms[form_name].totimmagini.value = n_immagine;
	
}//fine function AddRow()


/*
Questa funzione mi permetterà di cancellare un nodo
*/
function DelImmagine(ind,form_name)
{	
	var n_immagini = document.forms[form_name].totimmagini.value;
	try
	{
		var indToDel = "rowimmagini"+ind;
	
		var d = document.getElementById("immagine"); 
		var d_nested = document.getElementById(indToDel); 
		d.removeChild(d_nested);		 
		
		//n_camera--;
		//document.forms['ins_strut'].totcamere.value = n_camera;
	}
	catch(e) { alert(e);
	}
}//fine function DelRow(ind)


/*********************** PHOTOGALLERY *****************************/

var tempX = 0;
var tempY = 0;

function getMouseXY(e,name_image,ind) {
  var IE = document.all?true:false;
  if (!IE)
    document.captureEvents(Event.MOUSEMOVE)	
  if (IE) { // grab the x-y pos.s if browser is IE
    tempX = event.clientX + document.body.scrollLeft
    tempY = event.clientY + document.body.scrollTop
  } else {  // grab the x-y pos.s if browser is NS
    tempX = e.pageX
    tempY = e.pageY
  }  
  // catch possible negative values in NS4
  if (tempX < 0){tempX = 0}
  if (tempY < 0){tempY = 0}  
  /*
   document.Show.MouseX.value = tempX
  document.Show.MouseY.value = tempY
  */
  CreateContentImage(tempX,tempY,name_image,ind);
  //return true
}

function CreateContentImage(tempX,tempY,name_image,ind)
{
	div = document.createElement("div");
	div.style.position = "absolute";
	div.style.top = tempY+"px";
	div.style.left = (tempX-120)+"px";
	div.id = "view_image_"+ind;
	
	path = "http://www.criand.it/image/"+name_image;
	//alert(path);
	//path = "http://criand.coresis.com/image/"+name_image;
	div.innerHTML = '<img src="'+path+'" onclick="closeContentImage(\'view_image_'+ind+'\');" border="1" alt="clicca per chiudere" title="clicca per chiudere" />';

	document.getElementById('content').appendChild(div);

}

function closeContentImage(id)
{
	obj = document.getElementById(id);
	document.getElementById('content').removeChild(obj);	
}


section_geograph_photo = "";
function RequestGeograph(type,id)
{
	if(type == "area")
		document.forms['ins_image'].IDnazione.style.display = "none";
	if(type == "area" || type == "nazione")		
		document.forms['ins_image'].IDlocalita.style.display = "none";
	if(type == "area" || type == "nazione" || type == "localita")		
		document.forms['ins_image'].IDstruttura.style.display = "none";

	
	eval("obj = document.forms['ins_image'].ID"+type+";");
	for(i=0; i<obj.length; i++)
		obj.options[i] = null;
		
	opt = new Option(" - Caricamento - ","");
	obj.options[0] = opt;			
	
	section_geograph_photo = type;
	x_SearchGeog(type,id,WriteSelectGeograph);
}

function WriteSelectGeograph(ris)
{
	temp = ris.split(";");

	eval("obj = document.forms['ins_image'].ID"+section_geograph_photo+";");
	obj.style.display = "inline";
	for(i=0; i<obj.length; i++)
		obj.options[i] = null;	
	
	
	opt = new Option(" - Seleziona - ","");
	obj.options[0] = opt;		
	
	for(y=0; y<(temp.length-1); i++,y++)
	{
		temp2 = temp[y].split("|");
		if(temp2[1] != "")
		{
			opt = new Option(temp2[1],temp2[0]);
			obj.options[i] = opt;
		}
	}
	
}



/*********************** PHOTOGALLERY *****************************/


/***************************** SEZIONE DOVE PRENOTARE *************************/
function MostraProvincia(regione)
{
	//alert(regione);
	x_ShowProvince(regione,MostraProvince);
}//fine function MostraProvincia(regione)

//In questa funzione, tornerò con sajax le province associate alla regione cercata
function MostraProvince(response)
{
	//alert('fdsdfsdfsdfsdf'+response);
	
	document.getElementById('provincia').disabled = false;
	
	if(type_select == "" || type_select != "area_pren")
		document.getElementById('citta').disabled = true;
	
	if(response.indexOf('|' != -1))
        {
           //Elimina		   
		   	for(i=0; i<document.getElementById('provincia').length;i++) 
		   		document.getElementById('provincia').options[i] = null;		   		
        	
		   		
		   	prov = new Option("-- Seleziona --","");
			document.getElementById('provincia').options[0] = prov;	
			
		    temp = response.split("|");	
		    
		    //alert(temp.length);		    
		    var j=0;	
        	for(i=0; i<(temp.length-1); i++)
        	{        		
        		temp2 = temp[i].split("#");	 
        		if(temp2[1] != "" && temp2[0] != "")
        		{
					prov_menu = new Option(temp2[1],temp2[0]);		
	
					j = i+1;			
					document.getElementById('provincia').options[j] = prov_menu;
        		}	
        	}//fine for(i=0; i<(temp.length-1); i++)		    
        }//fine if(response.indexOf('|' != -1))
}//fine function MostraProvince(response)



function MostraCitta(provincia)
{
	//eval("obj = document.forms['dove_prenotare'].citta;");
    //for(i=obj.length; i>=0; i--)
		//obj.options[i] = null;
	x_ShowCitta(provincia,ShowCitiesFRomProv);
}//fine function MostraProvincia(regione)


//In questa funzione, tornerò con sajax le province associate alla regione cercata
function ShowCitiesFRomProv(response)
{		
	document.getElementById('citta').disabled = false;
	if(response.indexOf('|' != -1))
        {
           //Elimina		   
           eval("obj = document.forms['dove_prenotare'].citta;");
		   for(i=obj.length; i>=0; i--)
				obj.options[i] = null;
           
           
		   	//for(i=0; i<document.getElementById('citta').length;i++) 
		   		//document.getElementById('citta').options[i] = null;		   		
        	
		   		
		   	citta = new Option("-- Seleziona --","");
			document.getElementById('citta').options[0] = citta;	
			
		    temp = response.split("|");	
		    		   
		    var j=0;
        	for(i=0; i<(temp.length-1); i++)
        	{        		
				citta_menu = new Option(temp[i],temp[i]);	
				j = i+1;							
				document.getElementById('citta').options[j] = citta_menu;				
        	}//fine for(i=0; i<temp.length; i++)
        		      
        }//fine if(response.indexOf('|' != -1))
}//fine function MostraCitta(response)



/***************************** SEZIONE AGENZIA *************************/

function MostraAgenzie(citta)
{	
	x_ShowAgenzie(citta,ShowAgency);
}//fine function MostraAgenzie(citta)


function ShowAgency(html)
{	
	if(html != "")
	{			
		document.getElementById('listAgenzie').innerHTML = html;					
		//document.getElementById('LayerSearch').style.display = "block";
	}
	else
	{	
		document.getElementById('listAgenzie').innerHTML = "";
		document.getElementById('errorMessage').style.display = "block";
	}
}//fine function ShowAgency(html)


/*********************************************** PARTE PUBBLICA ***********************************************/
/*********************************************** RICERCA ***********************************************/
var type_select = "";

function ResetMenu(name)
{
	array_name = new Array('IDarea','IDnazione','IDlocalita','IDaeroporto_andata_origine','data_partenza','data_ritorno','IDstruttura','IDcamera');
	
	
	start_reset = false;
	for(y=0; y<array_name.length; y++)
	{
		if(start_reset == true && array_name[y] != "IDaeroporto_andata_origine")
			DelSelect(array_name[y]);
		
		if(start_reset == true && array_name[y] == "IDaeroporto_andata_origine")
			document.forms['search_offerta'].IDaeroporto_andata_origine.options[0].selected = true;
			
		
		if(array_name[y] == name)
		{
		  start_reset = true;
		  if(name == "IDaeroporto_andata_origine")
		  	y++;
		  
		 // if(y < 3)
		  	//document.forms['search_offerta'].IDaeroporto_andata_origine.options[0].selected = true;
		}
	}
	
	document.getElementById('response').style.display = "none";
	document.getElementById('sendpren').style.display = "none";
	document.getElementById('verifdisp').style.display = "inline";
	
}

function DelSelect(name)
{
	eval("obj = document.forms['search_offerta']."+name+";");

	for(i=obj.length; i>0; i--)
		obj.options[i] = null;	
	
	obj.options[0] = new Option("Seleziona","");				

}

function SendRequestGeog(id,type)
{		
	type_select = "ID"+type;
	if(id == "")
	{
		if(type == "localita" || type == "nazione")			
			DelSelect('IDlocalita');

		if(type == "nazione")
			DelSelect('IDnazione');
	}
	else
	{
		x_RequestDestinationLocality(type,id,writeSelect);		
	}
}

function writeSelect(ris)
{
	//temp = "";
	//temp2 = "";
	//if(type_select == "data_ritorno" || type_select == "data_partenza")
	//alert(type_select);
	//alert(ris);
	//document.getElementById('prova').innerHTML = ris;
	eval("obj = document.forms['search_offerta']."+type_select);
	
	
	//alert(document.forms['search_offerta'].data_partenza.length)
	//svuota	
	for(i=0; i<obj.length;i++) 
		obj.options[i] = null;

	DelSelect(type_select);	
		
	obj.options[0] = new Option("Seleziona","");	
	temp = ris.split(";");		
	
	//alert(temp.length)
	for(i=0; i<(temp.length-1); i++)
	{		
		temp2 = temp[i].split("|");        		        		
		camera = new Option(temp2[0],temp2[1]);					
		
		j = i+1;		
		obj.options[j] = camera;				
	}
}

function SendRequestDataAirport(IDaeroporto,data_partenza,tipo_data)
{
	IDlocalita = document.forms['search_offerta'].IDlocalita.value;
	
	if(IDlocalita == "" || IDaeroporto == "")
	{
		DelSelect('data_partenza');
		DelSelect('data_ritorno');		
		return;
	}
	
	//tipo_offerta = pacc | tras
	for(i=0; i<document.forms['search_offerta'].tipo.length; i++)
		if(document.forms['search_offerta'].tipo[i].checked == true)
			tipo = document.forms['search_offerta'].tipo[i].value;
			
	//tipo_volo = a_r | a | r
	for(i=0; i<document.forms['search_offerta'].tipo_volo.length; i++)
		if(document.forms['search_offerta'].tipo_volo[i].checked == true)
			tipo_volo = document.forms['search_offerta'].tipo_volo[i].value;
			
			
	if(tipo == "pacc")
		tipo_volo = "a_r";
	
	
	if(data_partenza == "" && tipo_data == "ritorno")
	{
		DelSelect('data_ritorno');
		return;
	}

	//volo andata e ritorno (o pacchetto)
	if(tipo_volo == "a_r")
	{
		type_select = "data_"+tipo_data;
		x_ShowDataByAeroporto(IDaeroporto,'andata_origine',tipo_data,data_partenza,IDlocalita,tipo,tipo_volo,writeSelect);
	}
	//volo sola andata
	if(tipo_volo == "a" && tipo_data != "ritorno")
	{
		type_select = "data_partenza";
		x_ShowDataByAeroporto(IDaeroporto,'andata_origine','partenza',data_partenza,IDlocalita,tipo,tipo_volo,writeSelect);
	}

	//volo solo ritorno
	/*
	if(tipo_volo == "r")
	{
		type_select = "data_ritorno";
		x_ShowDataByAeroporto(IDaeroporto,'ritorno_origine','ritorno',data_partenza,IDlocalita,tipo,tipo_volo,writeSelect);			
	}
	*/
}

//Questa funzione popolerà il menu degli aeroporti quando si selezionerà la localita in fase
//di prenotazione, perchè altrimenti vengono visualizzati tutti gli aeroporti
function SendRequestAirport(IDlocalita)
{
	type_select = "IDaeroporto_andata_origine";
	//alert(IDlocalita)	
	x_ShowAirportFromLocality(IDlocalita,writeSelect);
}//fine function SendRequestAirport(IDlocalita)

function SendRequestStruttura(type,IDstruttura)
{
	
	data_partenza = document.forms['search_offerta'].data_partenza.value;
	data_ritorno = document.forms['search_offerta'].data_ritorno.value;
	IDlocalita = document.forms['search_offerta'].IDlocalita.value;
	IDaeroporto_andata_origine = document.forms['search_offerta'].IDaeroporto_andata_origine.value;
	
	if(data_partenza == "" || data_ritorno == "" || IDlocalita == "" || IDaeroporto_andata_origine == "")
		return false;

	type_select = "ID"+type;
	/*
	if(type == "struttura")
	{
		DelSelect('IDstruttura');
		DelSelect('IDcamera');
	}
	if(type == "struttura" || type == "camera")	
		DelSelect('IDcamera');

	*/
	x_ShowStrutturaDisp(data_partenza,data_ritorno,IDlocalita,IDaeroporto_andata_origine,IDstruttura,writeSelect);
}

function ChangeTypeOffers(type)
{
	if(type == "tras")
	{
		document.getElementById('tras_content').style.display = "block";
		document.getElementById('tras_content2').style.display = "block";
		document.getElementById('pacc_content').style.display = "none";
	}
	if(type == "pacc")
	{
		document.getElementById('tras_content').style.display = "none";
		document.getElementById('tras_content2').style.display = "none";
		document.getElementById('pacc_content').style.display = "block";
	}	
}

function AddCameraSearch()
{
	n_camera = document.forms['search_offerta'].n_camera.value;
	if(n_camera < 6)
	{
		html = '<select name="IDcamera'+n_camera+'">';
		for(i=0; i<document.forms['search_offerta'].IDcamera.length; i++)
			html += '<option value="'+document.forms['search_offerta'].IDcamera.options[i].value+'">'+document.forms['search_offerta'].IDcamera.options[i].text+'</option>';
		html += '</select>';
		
		//content = document.getElementById('camera_content');
	
		document.getElementById('camera_content').innerHTML += '<div id="camera'+n_camera+'" style="margin-bottom:3px;">'+html+'</div>';
		n_camera++;
		document.forms['search_offerta'].n_camera.value = n_camera;
	}
}

function DelCameraSearch()
{
	n_camera = document.forms['search_offerta'].n_camera.value;
	if(n_camera > 1)
	{
		try
		{
			content = document.getElementById('camera_content');			
			var d_nested = document.getElementById("camera"+(n_camera-1)); 
			content.removeChild(d_nested);		 
			
			n_camera--;
			document.forms['search_offerta'].n_camera.value = n_camera;
		}
		catch(e) {}	
	}
}

function RequestDispo()
{
	n_camera = document.forms['search_offerta'].n_camera.value;
	data_partenza = document.forms['search_offerta'].data_partenza.value;
	data_ritorno = document.forms['search_offerta'].data_ritorno.value;
	IDlocalita = document.forms['search_offerta'].IDlocalita.value;
	IDcamere = document.forms['search_offerta'].IDcamera.value;
	
	//tipo_volo = a_r | a | r
	for(i=0; i<document.forms['search_offerta'].tipo_volo.length; i++)
		if(document.forms['search_offerta'].tipo_volo[i].checked == true)
			tipo_volo = document.forms['search_offerta'].tipo_volo[i].value;
	
	IDaeroporto_andata_origine = document.forms['search_offerta'].IDaeroporto_andata_origine.value;	
	//tipo_offerta = pacc | tras
	for(i=0; i<document.forms['search_offerta'].tipo.length; i++)
		if(document.forms['search_offerta'].tipo[i].checked == true)
			tipo = document.forms['search_offerta'].tipo[i].value;

			
	if(tipo == "pacc")
	{
		pax_adulti = document.forms['search_offerta'].adults_pacc.value;	
		pax_bambini = document.forms['search_offerta'].children_pacc.value;	
		tipo_volo = "a_r";
	}
	else
	{
		pax_adulti = document.forms['search_offerta'].adults_tras.value;	
		pax_bambini = document.forms['search_offerta'].children_tras.value;	
	}
		
	var tmp = "";
	for(i=1; i< n_camera; i++)
	{
		eval("obj = document.forms['search_offerta'].IDcamera"+i+";");
		tmp += "-"+obj.value; 
	}
	IDcamere += tmp;
	
	if(pax_adulti == 0 && pax_bambini == 0)
	{
		document.getElementById('response').style.display = "inline";
		document.getElementById('response').innerHTML = "<div class='message'>Inserire i passeggeri</div>";
		return;
	}
	
	var compile_all_field = true;
	//controllo campi volo andata e ritorno (o pacchetto)
	if(tipo_volo == "a_r" && (data_partenza == "" || data_ritorno == "" || IDaeroporto_andata_origine == "" || IDlocalita == ""))
		compile_all_field = false;
		
	//controllo campi volo sola andata
	if(tipo_volo == "a" && (data_partenza == "" || IDaeroporto_andata_origine == "" || IDlocalita == ""))
		compile_all_field = false;
		
	//controllo campi volo solo ritorno
	/*
	if(tipo_volo == "r" && (data_ritorno == "" || IDaeroporto_andata_origine == "" || IDlocalita == ""))
		compile_all_field = false;			
	*/
	if(compile_all_field == false)
	{
		document.getElementById('response').style.display = "inline";
		document.getElementById('response').innerHTML = "<div class='message'>Compilare tutti i campi</div>";
		return;
	}	
	
	
	x_CheckDispoOffert(IDcamere,data_partenza,data_ritorno,IDaeroporto_andata_origine,IDlocalita,pax_adulti,pax_bambini,tipo_volo,ResponseDispo);
	//x_CheckDispoOffert(IDcamere,data_partenza,data_ritorno,IDaeroporto_andata_origine,IDlocalita,pax_adulti,pax_bambini,ResponseDispo);
}

function ResponseDispo(ris)
{
	//test(ris);
	tmp1 = ris.split(";");
	html = "";
	flag_error = false;
	flag_request = false;
	for(i=0; i<(tmp1.length-1); i++)
	{
		tmp2 = tmp1[i].split("|");
		html += '<div>'+tmp2[0]+'</div>';
		if(tmp2[1] == "0")
		{
			if(tmp2[0].indexOf("impegnativa") > 0)
				flag_request = true;
			flag_error = true;
		}
	}
	if(flag_error == false)
	{
		tmp2 = tmp1[(tmp1.length-1)].split("|");
		document.getElementById('sendpren').style.display = "inline";
		document.getElementById('sendpren').innerHTML = '<div class="btn9"><em><span><input type="hidden" name="IDofferta" value="'+tmp2[1]+'" /><input type="submit" name="prenota" value="VISUALIZZA LE QUOTE" /></span></em></div>';
	}
	
	if(flag_request == true)
	{
		tmp2 = tmp1[(tmp1.length-1)].split("|");
		document.getElementById('sendpren').style.display = "inline";
		document.getElementById('sendpren').innerHTML = '<div class="btn9"><em><span><input type="hidden" name="impegnativa" value="1" /><input type="hidden" name="IDofferta" value="'+tmp2[1]+'" /><input type="submit" name="prenota" value="VISUALIZZA QUOTE" /></span></em></div>';
	}
	
	document.getElementById('response').style.display = "inline";
	document.getElementById('response').innerHTML = html;
	//document.getElementById('verifdisp').style.display = "none";

}


function test(ris)
{
	document.getElementById('prova').innerHTML = ris;

}


function ShowProvinceFromRegione(regione)
{	
	//if(regione == "Valle d'Aosta")
	 //regione = "Valle d#Aosta";
	 
	alert(regione);
	type_select = "area_pren";
	
	x_ShowProvinceFromRegione(regione,MostraProvince)
}//fine function ShowProvinceFromRegione(regione)

/*********************************************** RICERCA ***********************************************/
