function regionsSearch(val, upd) {
	var el = $(upd);
//	alert(upd);
	var myHTMLRequest = new Request.HTML({
//   	url: 'geo_service.php', // l'url da contattare
		update: upd, // l'elemento che verrà aggiornato al completamento della richiesta
		evalScripts: false, // gli script contenuti nel responso non verranno azionati
		onRequest: function(){
		},
		onComplete: function(tree, elements, html, js){
		},
		onFailure: function(){
			el.set('html', '<option>The Request has failed...</option>');
		}
	}).post("lib/php/geo/geo_service.php?op=naz&val="+val);
}

function provincesSearch(val, upd) {
	var el = $(upd);
	var myHTMLRequest = new Request.HTML({
//   	url: 'geo_service.php', // l'url da contattare
		update: upd, // l'elemento che verrà aggiornato al completamento della richiesta
		evalScripts: false, // gli script contenuti nel responso non verranno azionati
		onRequest: function(){
		},
		onComplete: function(tree, elements, html, js){
		},
		onFailure: function(){
			el.set('html', '<option>The Request has failed...</option>');
		}
	}).post("lib/php/geo/geo_service.php?op=reg&val="+val);
}

function locationsSearch(val, upd) {
	var el = $(upd);
	var myHTMLRequest = new Request.HTML({
//   	url: 'geo_service.php', // l'url da contattare
		update: upd, // l'elemento che verrà aggiornato al completamento della richiesta
		evalScripts: false, // gli script contenuti nel responso non verranno azionati
		onRequest: function(){
		},
		onComplete: function(tree, elements, html, js){
		},
		onFailure: function(){
			el.set('html', '<option>The Request has failed...</option>');
		}
	}).post("lib/php/geo/geo_service.php?op=pro&val="+val);
}

function capsSearch(val, upd) {
	var el = $(upd);
	var myHTMLRequest = new Request.HTML({
//   	url: 'geo_service.php', // l'url da contattare
		update: upd, // l'elemento che verrà aggiornato al completamento della richiesta
		evalScripts: false, // gli script contenuti nel responso non verranno azionati
		onRequest: function(){
		},
		onComplete: function(tree, elements, html, js){
		},
		onFailure: function(){
			el.set('html', '<option>The Request has failed...</option>');
		}
	}).post("lib/php/geo/geo_service.php?op=loc&val="+val);
}

