var lista_prod = new Array(
"coralcare",              /* 0 en uso */
"caricol",                /* 1 en uso  */
"algasafa",               /* 2 en uso  */
"medidorph",              /* 3 en uso  */
"cartimercapsulas",       /* 4 */
"frascopepitaspomelo",    /* 5  en uso */
"krill",                  /* 6 en uso */
"alkymer",                /* 7 */
"memops",                 /* 8 */
"visiomer",               /* 9 */
"Macandina",              /* 10  en uso */
"coralcareslim",          /* 11 */
"jojoba",                 /* 12  en uso */
"probioticpearls",        /* 13 en uso */
"nutrisgs",               /* 14 en uso */
"gelpepitaspomelo",       /* 15 */
"tibetanas",              /* 16 en uso */
"Dietxan",                /*17 en uso */
"nutrimk7",               /*18 en uso */
"coralnatural90",         /*19 en uso*/
"taza",                   /*20 en uso*/
"essentials",             /*21 en uso*/
"antiestres",             /*22 en uso*/
"superoxyd",              /*23 en uso*/
"purival",                /*24 en uso*/
"teavital",               /*25 en uso*/
"pomelo",                 /*26 en uso*/
"probiotic"               /*27 en uso*/

);
var lista_text_prod = new Array(
/* 00 coralnatural90 */ "Bote con 90 cápsulas.<br><br>CORALNATURAL® está compuesto exclusivamente de coral marino puro, variedad Sango, y con el certificado ECOSAFE. Contiene, de forma natural, calcio y otros 73 minerales orgánicos e iónicos, en proporciones casi idénticas a las del cuerpo humano.",
/* 01 coralnatural30 */ "Caja de 30 sobres.<br><br>CORALNATURAL® está compuesto exclusivamente de coral marino puro, variedad Sango, y con el certificado ECOSAFE. Contiene, de forma natural, calcio y otros 73 minerales orgánicos e iónicos, en proporciones casi idénticas a las del cuerpo humano.",
/* 02 caricolbio */ "Caja de 20 sobres de 20ml.<br><br>BIO CARICOL® es un producto natural preparado con frutas frescas de papaya, procesadas cuidadosamente siguiendo la receta exacta de producción originada en el Monasterio del Loto en Hawai.",
/* 03 algasafa */ "Blister de 150 comprimidos.<br><br>Algas Afa es un energético y suplemento vitamínico-mineral. Contiene 23 minerales, 14 vitaminas, 22 aminoácidos, entre ellos todos los esenciales, 70% de proteína fácilmente asimilable y un altísimo porcentaje de clorofila.",
/* 04 medidorph */ "Envase dispensador de 6 m de tira reactiva.<br><br>Tiras reactivas para medir el PH: la prueba de la saliva ha sido desarrollada por el Dr. Reich. En tan sólo 12 segundos podrá medir su nivel de pH, que secundariamente le indica la acidosis acumulada.",
/* 05 aceitekrill */ "Bote de 90 perlas.<br><br>El aceite del Krill (NKO®) contiene cantidades significativas de tres poderosos nutrientes: ácidos grasos omega-3, fosfolípidos, y potentes antioxidantes.",
/* 06 macandina */ "Bote de 340gr. / Caja con 30 sobres.<br><br>Macandina Plus es un producto en forma de polvo soluble compuesto de Maca enriquecida con 2 supercereales andinos: Quinoa y Amaranto que potencian sus extraordinarios beneficios y aumenta su poder vigorizante.",
/* 07 nutrisgs */ "Caja de 30 cápsulas.<br><br>NUTRI SGS es un nuevo producto de 100% Natural. Se trata de un Complemento Alimenticio que ayuda al organismo a fortalecer sus defensas y a protegerse de los agentes externos.",
/* 08 aceitejojoba */ "Envase de 100 ml. (PET).<br><br>Aceite de Jojoba, para el tratamiento de la piel, pelo y uñas.",
/* 09 aceitejojobamosqueta */ "Envase de 100 ml. (PET).<br><br>Aceite de Jojoba con rosa mosqueta, para el tratamiento de la piel, pelo y uñas.",
/* 10 probioticpearls */ "Caja de 30 perlas.<br><br>Los probióticos nos ayudan a mantener nuestra flora intestinal saludable, repoblándola y reforzándola. Potencian nuestro sistema inmunológico y colaboran para que tengamos una buena salud intestinal.",
/* 11 dietxan */ "Caja de 90 perlas de 1 g.<br><br>Dietxan es un complemento alimenticio que, junto con una dieta equilibrada y ejercicio moderado, puede ayudar a reducir el exceso de grasa corporal de una forma sana.",
/* 12 nutrimk7 */ "Caja de 60 perlas.<br><br>NutriMK7® es un complemento alimenticio, elaborado con vitamina K2 natural, en forma de menaquinona 7, y vitamina D.",
/* 13 bayasgoji */ "Se presentan en un paquete de 250 gr.<br><br>Su extraordinaria composición las convierte en un suplemento imprescindible para aquellos que desean reforzar su sistema inmune, mejorar la vista, regular el apetito y el sueño, cuidar el hígado y los riñones, retrasar la pérdida del cabello y en general mejorar la salud y el bienestar.",
/* 14 biopomelo50 */ "Botella con dosificador de goteo de 50 ml.<br><br>Extracto de semillas de pomelo es un potente germicida de origen natural, sin efectos secundarios y con un alto espectro de propiedades.",
/* 15 biopomelo100 */ "Botella con dosificador de goteo de 100 ml.<br><br>Extracto de semillas de pomelo es un potente germicida de origen natural, sin efectos secundarios y con un alto espectro de propiedades.",
/* 16 teavitals */ "Envase de 125gr.<br><br>TeaVital es un té verde orgánico de alta calidad, procesado y empaquetado con exclusión de oxígeno para conservar al máximo los antioxidantes naturales del té.",
/* 17 teavitald */ "Envase de 125gr.<br><br>TeaVital es un té verde orgánico de alta calidad, procesado y empaquetado con exclusión de oxígeno para conservar al máximo los antioxidantes naturales del té.",
/* 18 femal */ "Caja de 60 comprimidos.<br><br>Femal es un complemento alimenticio, estandarizado de polen y de pistilo de polen (P182-GC Fem) combinado con vitamina E. Femal ayuda a reducir los molestos síntomas del Síndrome Premenstrual y de la menopausia.",
/*19 taza*/ "Taza de te con base y tapa, en cerámica.",
/*20 essentials */ "100%Essentials&reg; 60 comprimidos.<br><br>Es un complemento alimenticio especialmente equilibrado, compuesto de vitaminas y minerales. Es un producto ideal para fomentar una buena salud.",
/*21 antiestres */ "AntiEstrés Natural&reg; 60 cápsulas.<br><br>Es una fórmula completa a base de plantas con efecto tónico. Es un producto relajante que puede ayudar a proteger el cuerpo contra el estrés en casos de presión y esfuerzo mental, y a incrementar la resistencia del organismo.",
/*22 superoxyd */ "SuperOxyD &reg; 60 cápsulas.<br><br>Es una extensa formula antioxidante con atención especial a la SOD (Superóxido-Dismutasa), la principal enzima antioxidante de las células, así como diversos tipos de flavonoides del té verde, arándanos, cítricos y uvas.",
/*23 purival */ "PuriVal &reg; botella de 200ml.<br><br>Es un sirope a base de plantas que aporta una ayuda efectiva para la depuraci&oacute;n fisiol&oacute;gica del organismo.",
/*24 purival */ "PuriVal &reg; botella de 200ml.<br><br>Es un sirope a base de plantas que aporta una ayuda efectiva para la depuraci&oacute;n fisiol&oacute;gica del organismo.",
/*25 teavital */ "TeaVital &reg; es un té verde orgánico de alta calidad, procesado y empaquetado con exclusión de oxígeno para conservar al máximo los antioxidantes naturales del té.",
/*26 pomelo */ "Es un potente germicida de origen natural, sin efectos secundarios y con un alto espectro de propiedades. Su poder de acción abarca hongos y bacterias, virus y parásitos tanto visibles como microscópicos..",
/*27 probiotics */ "Los probióticos nos ayudan a mantener nuestra flora intestinal saludable, repoblándola y reforzándola. Potencian nuestro sistema inmunológico y colaboran para que tengamos una buena salud intestinal."
);

function precargaimg() {

  // parece que a la precarga no le hace ni caso, probaremos a pintar las imagenes ocultas

  document.writeln('<img style="display:none;" src="iconos/menu_00_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_02_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_03_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_04_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_05_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_06_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_07_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_08_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_09_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_10_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_11_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_12_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_13_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_14_on.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_00_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_02_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_03_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_04_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_05_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_06_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_07_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_08_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_09_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_10_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_11_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_12_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_13_off.jpg" width=204 height=14>');

  document.writeln('<img style="display:none;" src="iconos/menu_14_off.jpg" width=204 height=14>');

}



function pinta_menu() {

  //  document.write('<img src="img/menu.gif" width=224 height=357 alt="menú" title="menú">');

    

  document.write('<table width="224" height="100%" border="0" cellspacing="0" cellpadding="0">');

  document.writeln('<tr bgcolor="6B96C0" align="center" valign="middle"> ');

  document.writeln('  <td> ');

  document.writeln('    <div align="center">');

  document.writeln('      <table width="204" border="0" cellspacing="0" cellpadding="0" align="center">');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_home.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image2','','iconos/menu_00_on.jpg',1)" + 

	'"><img name="Image2" border="0" src="iconos/menu_00_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_productos.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="productos.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image5','','iconos/menu_02_on.jpg',1)" +

	'"><img name="Image5" border="0" src="iconos/menu_02_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="donde_comprar.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image6','','iconos/menu_03_on.jpg',1)" +

	'"><img name="Image6" border="0" src="iconos/menu_03_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="pedidos.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image8','','iconos/menu_05_on.jpg',1)" + 

	'"><img name="Image8" border="0" src="iconos/menu_05_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_libreria.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="recetas.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image9','','iconos/menu_06_on.jpg',1)" + 

	'"><img name="Image9" border="0" src="iconos/menu_06_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="publicaciones.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image11','','iconos/menu_07_on.jpg',1)" +

	'"><img name="Image11" border="0" src="iconos/menu_07_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

/* por ahora no quieren que se vean articulos y estudios

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="articulos.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image12','','iconos/menu_08_on.jpg',1)" +

	'"><img name="Image12" border="0" src="iconos/menu_08_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="estudios.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' +

    "'Image13','','iconos/menu_09_on.jpg',1)" +

	'"><img name="Image13" border="0" src="iconos/menu_09_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

*/

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="boletin.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image14','','iconos/menu_10_on.jpg',1)" +

	'"><img name="Image14" border="0" src="iconos/menu_10_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_empresa.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="quienes_somos.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image16','','iconos/menu_11_on.jpg',1)" + 

	'"><img name="Image16" border="0" src="iconos/menu_11_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="contactar.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image17','','iconos/menu_12_on.jpg',1)" +

	'"><img name="Image17" border="0" src="iconos/menu_12_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="trabaja.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image18','','iconos/menu_13_on.jpg',1)" +

	'"><img name="Image18" border="0" src="iconos/menu_13_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_profesionales.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="profesionales.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image7','','iconos/menu_04_on.jpg',1)" +

	'"><img name="Image7" border="0" src="iconos/menu_04_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_enlaces.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="enlaces.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image20','','iconos/menu_14_on.jpg',1)" + 

	'"><img name="Image20" border="0" ');

  document.writeln(' src="iconos/menu_14_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_goji2.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="goji.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image21','','iconos/menu_16_on.jpg',1)" + 

	'"><img name="Image21" border="0" ');

  document.writeln(' src="iconos/menu_16_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="goji.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image22','','iconos/menu_17_on.jpg',1)" + 

	'"><img name="Image22" border="0" ');

  document.writeln(' src="iconos/menu_17_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="goji.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image23','','iconos/menu_18_on.jpg',1)" + 

	'"><img name="Image23" border="0" ');

  document.writeln(' src="iconos/menu_18_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><img src="iconos/menu_goji.jpg" width="204" height="21" vspace="4"></td>');

  document.writeln('      </tr>');

  document.writeln('      <tr> ');

  document.writeln('        <td><a href="recetas_goji.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(' + 

    "'Image24','','iconos/menu_15_on.jpg',1)" + 

	'"><img name="Image24" border="0" ');

  document.writeln(' src="iconos/menu_15_off.jpg" width="204" height="14"></a></td>');

  document.writeln('      </tr>');

  document.writeln('      </table>');

  document.writeln('    </div>');

  document.writeln('  </td>');

  document.writeln('</tr>');

  document.write('</table>');

}



function aleatorio(inferior,superior){ 

    numPosibilidades = superior - inferior 

    aleat = Math.random() * numPosibilidades 

    aleat = Math.round(aleat) 

    return parseInt(inferior) + aleat 

} 



var pintabanda1 = -1;

var pintabanda2 = -1;

function pinta_bandas(cual) {

  if (cual == 1) {

    pintabanda1 = aleatorio(1,11);

	if (pintabanda1 < 10) {

      document.write('<img src="img/banda_1_0' + pintabanda1 + '.gif" width=224 height=70>');

    } else {

      document.write('<img src="img/banda_1_' + pintabanda1 + '.gif" width=224 height=70>');

	}

    pintabanda2 = pintabanda1;

  } else {

    while (pintabanda1 == pintabanda2) {

      pintabanda2 = aleatorio(1,11);

    }

	if (pintabanda2 < 10) {

      document.write('<img src="img/banda_2_0' + pintabanda2 + '.gif" width=224 height=73>');

    } else {

      document.write('<img src="img/banda_2_' + pintabanda2 + '.gif" width=224 height=73>');

	}

  }

}



// ----------------------------------------------------------------------------

function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr;
  for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v3.0

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



// ----------------------------------------------------------------------------

MM_preloadImages('iconos/menu_00_on.jpg','iconos/menu_02_on.jpg',

  'iconos/menu_03_on.jpg','iconos/menu_04_on.jpg','iconos/menu_05_on.jpg','iconos/menu_06_on.jpg',

  'iconos/menu_07_on.jpg','iconos/menu_08_on.jpg','iconos/menu_09_on.jpg','iconos/menu_10_on.jpg',

  'iconos/menu_11_on.jpg','iconos/menu_12_on.jpg','iconos/menu_13_on.jpg','iconos/menu_14_on.jpg');

  

precargaimg();

// ----------------------------------------------------------------------------