
/* ---------------- J A V A S C R I P T ---------------------*/




/* -------- CÓDIGO DE SEGUIMIENTO DE GOOGLE ANALITYCS -----------*/



  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25524405-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 })();
/* ------------------------------------------------------------------ */


/* ------------------ C A B E C E R A ----------------------------*/

/* Aquí están todas las funciones y variables necesarias para el funcionamiento del botón de 
recargar la página, la imagen banner.jpg, el reloj y el botón de idioma*/



recarga1 = new Image;recarga2 = new Image;
recarga1.src = "recarga1.jpg";recarga2.src = "recarga2.jpg";
english_1 = new Image; english_2 = new Image; english_1.src = "bot_eng_1.jpg";english_2.src = "bot_eng_2.jpg";
english_3 = new Image; english_3.src = "bot_eng_3.jpg";


semana= new Array ("domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado");
mes= new Array ("enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre");
fecha= new Date;




function hora(){
 var h = new Date();
 var horas = h.getHours().toString();
 if (horas.length == 1) horas = "0" + horas;
 var mins = h.getMinutes().toString(); 
 if (mins.length == 1) mins = "0" + mins; 
 var segs = h.getSeconds().toString(); 
 if (segs.length == 1) segs = "0" + segs; 

//document.forms[0].hora.value = horas + " : " + mins + " : " + segs;
document.forms[0].hora.value = horas + " : " + mins;

setTimeout("hora()", 500);
}
/* ----------------------------------------------- */

ca1 = '<TABLE border=0 align="center" cellpadding=0 cellspacing=0><TR><TD rowspan=2><A href="index.html" onMouseover="logo1.src=recarga2.src" onMouseout="logo1.src=recarga1.src"><IMG src="recarga1.jpg" width=60 height=60 name="logo1" border=0 alt="bodegasveganzones.com"></A></TD><TD rowspan=2><IMG src="negro.jpg" width=60 height=60></TD><TD rowspan=2 align="center"><IMG src="banner.jpg" height=60 width=388></TD><TD rowspan=2><IMG src="negro.jpg" width=60 height=60></TD><TD class="reloj" align="right" valign="top"><FORM name="reloj">';


ca2 = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT class="reloj" name="hora" type="text" size=5 style="background:#000000;border-style:none"></FORM></TD></TR><TR><TD align="right"><A href="english/index.html" onMouseover="english.src=english_2.src" onMouseout="english.src=english_1.src"><IMG src="bot_eng_1.jpg" width=100 height=25 name="english" border=0 alt="Página en inglés"></A></TD></TR></TABLE>';
