function validateQF(){     

    if (sideform.name.value=='') {
    alert("Please, insert your full name.");
    sideform.name.focus();
    return false;
  }   
    if (sideform.phone.value=='') {
    alert("Please, insert your telephone number without words or simbols, just numbers.");
    sideform.phone.focus();
    return false;
  }   
    if (sideform.email.value=='') {
    alert("Please, insert a valid email address.");
    sideform.email.focus();
    return false;
  }
    return true;
  }

function validarQF(){     

    if (sideform.name.value=='') {
    alert("Por favor, inserte su nombre completo.");
    sideform.name.focus();
    return false;
  }   
    if (sideform.phone.value=='') {
    alert("Por favor, inserte su numero de telefono sin letras ni simbolos, solo numeros.");
    sideform.phone.focus();
    return false;
  }   
    if (sideform.email.value=='') {
    alert("Por favor, inserte una direccion de correo electronico valida.");
    sideform.email.focus();
    return false;
  }
    return true;
  }

function validateMF(){     

    if (mainform.name.value=='') {
    alert("Please, insert your full name.");
    mainform.name.focus();
    return false;
  }   
    if (mainform.phone.value=='') {
    alert("Please, insert your telephone number without words or simbols, just numbers.");
    mainform.phone.focus();
    return false;
  }   
    if (mainform.email.value=='') {
    alert("Please, insert a valid email address.");
    mainform.email.focus();
    return false;
  }
    return true;
  }

function validarMF(){     

    if (mainform.name.value=='') {
    alert("Por favor, inserte su nombre completo.");
    mainform.name.focus();
    return false;
  }   
    if (mainform.phone.value=='') {
    alert("Por favor, inserte su numero de telefono sin letras ni simbolos, solo numeros.");
    mainform.phone.focus();
    return false;
  }   
    if (mainform.email.value=='') {
    alert("Por favor, inserte una direccion de correo electronico valida.");
    mainform.email.focus();
    return false;
  }
    return true;
  }

function Item(){
this.length = Item.arguments.length 
for (var i = 0; i < this.length; i++)
  this[i] = Item.arguments[i]
}

function TodaysDate() {
var nmes = new Item('January','February','March','April','May','June','July','August','September','October','November','December')
var ahora
var fecha = new Date()
var ano = fecha.getYear()
var mes = fecha.getMonth()
var dia = fecha.getDay()
var aux = "" + fecha

if (ano<10) {
 ano2 = "200" + eval(ano)
}
else if (ano<80) {
 ano2 = "20" + ano
} 
else if (ano<=99) {
 ano2 = "19" + ano
}
else if (ano<1000) {
 ano2 = eval(ano) + eval(1900)
}
else {
 ano2 = ano
}

ahora = eval(aux.substring(7, 10)) + " " + nmes[mes] + " " + ano2
return ahora
}

function FechadeHoy() {
var nmes = new Item('Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre')
var ahora
var fecha = new Date()
var ano = fecha.getYear()
var mes = fecha.getMonth()
var dia = fecha.getDay()
var aux = "" + fecha

if (ano<10) {
 ano2 = "200" + eval(ano)
}
else if (ano<80) {
 ano2 = "20" + ano
} 
else if (ano<=99) {
 ano2 = "19" + ano
}
else if (ano<1000) {
 ano2 = eval(ano) + eval(1900)
}
else {
 ano2 = ano
}

ahora = eval(aux.substring(7, 10)) + " de " + nmes[mes] + " de " + ano2
return ahora
}

function ShowMail() {
	var sb_domain = "milainversiones.com"
	var sb_user = "info"
	var sb_recipient = sb_user + "@" + sb_domain
	var sb_url = "mailto:" + sb_recipient
	var sb_entire = "<a href=\"" + sb_url + "\" class=\"bottom\">" + sb_recipient + "<\/a>"
	return sb_entire;
}