function valida()
{
if ( (document.formulario.C6.value != '') && (document.formulario.C6.value < 5) ) {    
	alert('Alloggiamento minimo 5 notti');
	document.formulario.C6.focus; // posicionas el puntero en ese campo
	return false; //le dices q no envie nada}
   }
return surf();
}
function surf(){
dias = document.getElementById('D24');
personas = document.getElementById('C24');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di persone per le lezioni di surf');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Indicare il numero di giorni per le lezioni di surf');
return false;
}
return surfaris();
}
function surfaris(){
dias = document.getElementById('D78');
personas = document.getElementById('C78');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di persone per le lezioni di surfari');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Indicare il numero di giorni per le lezioni di surfari');
return false;
}
return kitesurf();
}
function kitesurf(){
dias = document.getElementById('D41');
personas = document.getElementById('C41');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di persone per le lezioni di kitesurf');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Indicare il numero di giorni per le lezioni di kitesurf');
return false;
}
return windsurf();
}
function windsurf(){
dias = document.getElementById('D42');
personas = document.getElementById('C42');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di persone per le lezioni di windsurf');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Indicare il numero di giorni per le lezioni di windsurf');
return false;
}
return alsurf();
}
function alsurf(){
dias = document.getElementById('D49');
personas = document.getElementById('C49');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di tavole da surf  che si vogliono noleggiare');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Debes indicar el numero de dias para alquilar las tablas de surf');
return false;
}
return alkite();
}
function alkite(){
dias = document.getElementById('D57');
personas = document.getElementById('C57');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di tavole da kitesurf  che si vogliono noleggiare.');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Debes indicar el numero de dias para alquilar las tablas de kitesurf');
return false;
}
return albici();
}
function albici(){
dias = document.getElementById('D64');
personas = document.getElementById('C64');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare il numero di biciclette che si vogliono noleggiare');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Indicare in numero di giorni che si vogliono noleggiare le biciclette.');
return false;
}
return senderismo();
}
function senderismo(){
dias = document.getElementById('B87');
personas = document.getElementById('C87');
if(dias.value !='noSelec' && personas.value == 'noSelec'){
alert('Indicare in numero di persone che aderiscono al trekking');
return false;
}
if(personas.value !='noSelec' && dias.value == 'noSelec'){
alert('Scegliere un posto per il trekking');
return false;
}
return fecha();
return true;
}
function fecha(){
fecha = document.getElementById('C7');
if(fecha.value == ""){
alert('Mettere una data approssimativa d’arrivo.');
return false;
}
}
