/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: CodeLifter.com | http://www.codelifter.com */
//var good;
//function checkEmailAddress(field) {
// the following expression must be all on one line...
//var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
  //if (goodEmail) {
   // good = true;
  //} else {
    //alert('Please enter a valid e-mail address.');
    //field.focus();
    //field.select();
    //good = false;
  //}
//}

u = window.location;
m = "Solicitud asistencia personal al automovilista";
a = "mvg@conae.gob.mx";
co = "asistencia_transporte@conae.gob.mx";
donde = " , de la empresa ";
dir = " , con dirección en ";
lugar = " , de ";
preg = " , hace la siguiente pregunta: ";

function mailThisUrl() {
  //good = false
  //checkEmailAddress(document.eMailer.address);
  //if (good) {
    // the following expression must be all on one line...
	{
    //window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
	window.location = "mailto:"+a+"?cc="+co+"&subject="+m+"&body="+document.eMailer.nombre.value+donde+document.eMailer.empresa.value+dir+document.eMailer.direccion.value+lugar+document.eMailer.pais.value+preg+document.eMailer.pregunta.value+" ";
       //<a href="mailto:direccion@correo.com ?cc=otradir@correo.es &subject=Manual
  
  }
}

