function ValidarDatosatencionsocios (Form)
{TodoOk = true;
	if ((Form.email.value=="") || (Form.email.value=="Introduce tu e-mail"))
		{alert ("Debe introducir su e-mail")
		TodoOk=false}
	if ((Form.nombre.value=="") || (Form.nombre.value=="Introduce tu nombre"))
		{alert ("Debe introducir su nombre")
		TodoOk=false}
	if ((Form.apellidos.value=="") || (Form.apellidos.value=="Introduce tus apellidos"))
		{alert ("Debe introducir sus apellidos")
		TodoOk=false}
	if ((Form.telefono.value=="") || (Form.telefono.value=="Tlfno."))
		{alert ("Debe introducir un teléfono de contacto")
		TodoOk=false}
	if (TodoOk==true &&  !(FormatoEmail(Form.email.value)))
		{alert ("El formato del e-mail no es el correcto")
		TodoOk=false}
	if ((TodoOk==true) && (Form.mensaje.value==""))
		{alert ("Debes introducir la sugerencia a realizar")
		TodoOk=false}
	if (TodoOk==true) return true;
	else return false;}

function FormatoEmail (Texto)
	{var Simbol1 = 0
	 var Simbol2 = 0
	 for (i=0;i<Texto.length;i++)
		{if (Texto.substring(i,i+1)=="@") Simbol1++
		 if (Texto.substring(i,i+1)==".") Simbol2++}
	if ((Simbol1==1) && (Simbol2>0)) return(true)
	else return(false)}

function doClear(theText)
{if (theText.value == theText.defaultValue) theText.value = ""}

function Borrar()
	{document.Formulario.reset()}



	


