// Validar Formulario
function checkcontacto(){
	var nombre = "Ingrese su nombre.";
    var email= "Ingrese su e-mail.";
    var ciudad = "Ingrese su ciudad.";
    var pais = "Ingrese su país.";
    var comentarios = "Ingrese un comentario.";
    
    if(document.forms["Datos"].nombre.value == ""){
	    alert(nombre);
	    document.forms["Datos"].nombre.focus();
	    return false;
	}
	else if(document.forms["Datos"].email.value == ""){
		alert(email);
		document.forms["Datos"].email.focus();
        return false;
	}
	else if(document.forms["Datos"].ciudad.value == ""){
		alert(ciudad);
		document.forms["Datos"].ciudad.focus();
        return false;
	}
	else if(document.forms["Datos"].pais.value == ""){
		alert(pais);
		document.forms["Datos"].pais.focus();
        return false;
	}
	else if(document.forms["Datos"].comentarios.value == ""){
		alert(comentarios);
		document.forms["Datos"].comentarios.focus();
		return false;
	}
	else{
	    return true;
	}
}

////

function contacto(){
	var msg = "Click Ok and we'll send you a TRIAL ISSUE of Macworld and start your trial subscription. ";
	
	if (checkcontacto()){
	    return true;
	}
	else{
		return false;
	}
}

function abrirVentana(theURL,winName,features) { //v2.0
  		window.open(theURL,winName,features);}