//Combo mundo



if(null==mundo_textos) var mundo_textos = new Array();



if(null==mundo_valores) var mundo_valores = new Array();







//Combo grupo



if(null==es_textos) var es_textos = new Array();



es_textos[es_textos.length] = "Elija una opción...";



es_textos[es_textos.length] = "Realizar búsqueda de productos";



es_textos[es_textos.length] = "Realizar un pedido Calzuro";



es_textos[es_textos.length] = "Ir a la sección de descarga";



es_textos[es_textos.length] = "Ver el mapa del sitio";











if(null==es_valores) var es_valores = new Array();



es_valores[es_valores.length] = ".";



es_valores[es_valores.length] = "productos.html";



es_valores[es_valores.length] = "productos/bihos/pedido.html";



es_valores[es_valores.length] = "downloads.html";



es_valores[es_valores.length] = "mapa.html";







//Funciones para combo grupo y mundo



function carga_grupo() {	



	for (i=0; i<es_textos.length; i++)



    { opt(es_valores[i],es_textos[i]); }



}







function carga_mundo() {	



    for (i=0; i<mundo_textos.length; i++)



    { opt(mundo_valores[i],mundo_textos[i]); }



}



 



function opt(href,text) {



   	document.write('<OPTION VALUE="',href,'">',text,'<\/OPTION>');



}







function cambio1(object)



{



	var current = object.grupo.selectedIndex;



	//object.grupo.options[current].text;



	if ((object.grupo.options[current].value.indexOf("terra.html")>0) ||



	 (object.grupo.options[current].value.indexOf("viadigital.html")>0))



	enlaza_vf(object.grupo.options[current].value,'','');



	else 



	{



	object.grupo.options[current].value;



	location.href = object.grupo.options[current].value;



	}



}







function cambio2(object)



{



	var current = object.mundo.selectedIndex;



	object.mundo.options[current].value;



	//object.mundo.options[current].text;



	location.href = object.mundo.options[current].value;



}
