function verifSelection() {

    if (document.mail_form.champ1.value == "") {
        alert("Se debe introducir el nombre de su empresa.")
        return false
    } 

    if (document.mail_form.champ2.value == "") {
        alert("Debe introducir un nombre de contacto.")
        return false
    } 

    if (document.mail_form.zone_email1.value == "") {
        alert("Por favor, llenar una dirección de email válida")
        return false
    }

    invalidChars = " /:,;'"

    for (i=0; i < invalidChars.length; i++) {	// does it contain any invalid characters?
        badChar = invalidChars.charAt(i)
        
        if (document.mail_form.zone_email1.value.indexOf(badChar,0) > -1) {
            alert("Su e-mail contiene caracteres no válidos. Comprobar.")
            document.mail_form.zone_email1.focus()
            return false
        }
    }

    atPos = document.mail_form.zone_email1.value.indexOf("@",1)			// there must be one "@" symbol
    if (atPos == -1) {
        alert('Su e-mail no contiene el signo "@". Comprobar.')
        document.mail_form.zone_email1.focus()
        return false
    }

    if (document.mail_form.zone_email1.value.indexOf("@",atPos+1) != -1) {	// and only one "@" symbol
        alert('No debe ser solo un signo "@". Comprobar.')
        document.mail_form.zone_email1.focus()
        return false
    }

    periodPos = document.mail_form.zone_email1.value.indexOf(".",atPos)

    if (periodPos == -1) {					// and at least one "." after the "@"
        alert('Se le olvidó el punto "." después el signo "@". Comprobar.')
        document.mail_form.zone_email1.focus()
        return false
    }

    if (periodPos+3 > document.mail_form.zone_email1.value.length)	{		// must be at least 2 characters after the 
        alert('Debe haber al menos dos caracteres después del signo ".". Comprobar.')
        document.mail_form.zone_email1.focus()
        return false
    }

}

