function fechaYhora(){
	Stamp = new Date();
	year = Stamp.getYear();
	if (year< 2000) year = 1900 + year;
	document.write(Stamp.getDate()+ "/"+ (Stamp.getMonth() + 1) + "/"+ year + '&nbsp;&nbsp;');
	var Hours;
	var Mins;
	var Time;
	Hours = Stamp.getHours();
	if (Hours >= 12) { Time = " PM"; } else { Time = " AM"; }
	if (Hours >12) { Hours -= 12; } if (Hours == 0) { Hours = 12; }
	Mins = Stamp.getMinutes();
	if (Mins< 10) { Mins = "0" + Mins; }
	document.write(Hours + ":" + Mins + Time);
}

function validar_formulario(){

var errores_formu=""
var retorn=true

/********************NOMBRE****************************/
nomb=document.formu.nombre

	if(!isNaN(nomb.value) || nomb.value.length< 3){
		
		errores_formu+="- Introduzca un nombre\n"
		
		retorn=false
		
	}
/******************************************************************/
/////////////////////////E_MAIL////////////////////////////////////////

	email=document.getElementById("idemail").value
	arroba=email.indexOf("@")
	punto=email.lastIndexOf(".")
	e=document.formu.e_mail

		
		if(email.length==0){

		errores_formu+="- Ingrese e-mail\n"
		retorn=false
		
			}else{
					
				if(arroba<3 || punto<(arroba+2)){

						errores_formu+="- E-mail mal ingresado\n"
						retorn=false
				}
		}
	
/********************************************************************************************/
///////////////////////////COMENTARIOS////////////////////////////////////////////////
coment=document.formu.comentario

	if(coment.value.length<=0){

		errores_formu+="- Deve introducir un mensaje\n"
		retorn=false
	}
	
/*************************************************************************************************/	
///////////////////////////TEL////////////////////////////////////////////////
tele=document.formu.tel

	if(isNaN(tele.value)){
		
		errores_formu+="- Introduzca un numero de telefono\n"
		
		retorn=false
		
	}
	
/*************************************************************************************************/			
				if(retorn==false){
					
					alert('Datos Requeridos:\n\n'+errores_formu)
				
				}

	return retorn
}