/*
 * Copyright 2002
 * SVFnet Desarrollos Digitales Multimedia
 * Author: Julio Varela
 * Date: Noviembre 20, 2002
 */
<!--

function init() {
  if (!document.getElementById) return
  var imgOriginSrc;
  var imgTemp = new Array();
  var imgarr = document.getElementsByTagName('img');
  for (var i = 0; i < imgarr.length; i++) {
    if (imgarr[i].getAttribute('hsrc')) {
        imgTemp[i] = new Image();
        imgTemp[i].src = imgarr[i].getAttribute('hsrc');
        imgarr[i].onmouseover = function() {
            imgOriginSrc = this.getAttribute('src');
            this.setAttribute('src',this.getAttribute('hsrc'))
        }
        imgarr[i].onmouseout = function() {
            this.setAttribute('src',imgOriginSrc)
        }
    }
  }
}
onload=init;

function Form1_Validator(theForm)
{
  if (theForm.nombre.value == "")
  {
    alert("Debe indicarnos su \"Nombre, por favor\".");
    theForm.nombre.focus();
    return (false);
  }

  if (theForm.apellido.value == "")
  {
    alert("Debe indicarnos su \"Apellido, por favor\".");
    theForm.apellido.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Escriba por favor su dirección de \"email\".");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 8)
  {
    alert("Escriba por lo menos 8 caracteres en la dirección de \"email\".");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length > 40)
  {
    alert("Escriba como máximo 40 caracteres en ladirección de \"email\".");
    theForm.email.focus();
    return (false);
  }

  return (true);
}

function Form2_Validator(theForm)
{
  if (theForm.nombre.value == "")
  {
    alert("Please enter your Name.");
    theForm.nombre.focus();
    return (false);
  }

  if (theForm.apellido.value == "")
  {
    alert("Please enter your Surname");
    theForm.apellido.focus();
    return (false);
  }

  if (theForm.email.value == "")
  {
    alert("Please enter your E-mail");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length < 8)
  {
    alert("Your e-mail address is invalid. Please try again");
    theForm.email.focus();
    return (false);
  }

  if (theForm.email.value.length > 40)
  {
    alert("Your e-mail address is invalid. Please try again");
    theForm.email.focus();
    return (false);
  }

  return (true);
}

  var hoy = new Date();
  var anio = hoy.getYear();
  var mName = hoy.getMonth() + 1;
  var dName = hoy.getDay() + 1;
  var diaNr = ((hoy.getDate()<10) ? "" : "") + hoy.getDate();
  if(dName==1) Dia = "Domingo";
  if(dName==2) Dia = "Lunes" ;
  if(dName==3) Dia = "Martes";
  if(dName==4) Dia = "Miércoles";
  if(dName==5) Dia = "Jueves";
  if(dName==6) Dia = "Viernes";
  if(dName==7) Dia = "Sábado";
  if(mName==1) Mes = "Enero" ;
  if(mName==2) Mes = "Febrero";
  if(mName==3) Mes = "Marzo" ;
  if(mName==4) Mes = "Abril" ;
  if(mName==5) Mes = "Mayo" ;
  if(mName==6) Mes = "Junio" ;
  if(mName==7) Mes = "Julio" ;
  if(mName==8) Mes = "Agosto";
  if(mName==9) Mes = "Septiembre";
  if(mName==10) Mes = "Octubre";
  if(mName==11) Mes = "Noviembre";
  if(mName==12) Mes = "Diciembre";
  window.defaultStatus = "PURIFICADORES DE AIRE GAMA - AIR PURIFIER GAMA - " + Dia + " " + diaNr + " de " + Mes + " de " + anio

function click(){
if(event.button==2){
alert("© GAMA \n PURIFICADORES DE AIRE");
}
}
document.onmousedown=click


//-->
