// Funcion generica para navegacion
function A_ProcesaClave(strClave)
{
	try
	  {
	    document.getElementById("contAdiAhe").style.display = "none";
		document.getElementById("contSellMa").style.display = "none";
		document.getElementById("contSellTra").style.display = "none";
		document.getElementById("contRedG").style.display = "none";

		document.getElementById("contIntCle").style.display = "none";
		document.getElementById("contLimSeT").style.display = "none";
		document.getElementById("contAcSuL").style.display = "none";
		document.getElementById("contASPr").style.display = "none";
		document.getElementById("contNaNoLi").style.display = "none";
		document.getElementById("contFXEflo").style.display = "none";
	    document.getElementById("contAcPro").style.display = "none";
	    document.getElementById("contLeLatPr").style.display = "none";
	    document.getElementById("contAuNES").style.display = "none";
	    document.getElementById("contAuNRS").style.display = "none";
	    document.getElementById("contAdhBoq").style.display = "none";
	    document.getElementById("contBoPre").style.display = "none";
	    document.getElementById("contEaMat").style.display = "none";
	  	document.getElementById("contAhesivoPSP").style.display = "none";
		document.getElementById("contAhesivoPSPImg").style.display = "none";
	  	document.getElementById("contAhesivoPieNaImg").style.display = "none";
		document.getElementById("contAhesivoGrP").style.display = "none";
		document.getElementById("contAhesivoGris").style.display = "none";
		document.getElementById("contAhesivoGrisImg").style.display = "none";
		document.getElementById("contAhesivoPorc").style.display = "none";
		document.getElementById("contAhesivoPorcImg").style.display = "none";
		document.getElementById("contAhesivoBlPre").style.display = "none";
		document.getElementById("contAhesivoBlPreImg").style.display = "none";
		document.getElementById("contAhesivoPieNa").style.display = "none";
		document.getElementById("contAhesivoPieNaImg").style.display = "none";
		document.getElementById("contAhesivoGrP").style.display = "none";
		document.getElementById("contAhesivoGrPImg").style.display = "none";
		document.getElementById("contAhesivoGrR").style.display = "none";
		document.getElementById("contAhesivoGrRImg").style.display = "none";
		document.getElementById("contAhesivoBlVImg").style.display = "none";
		document.getElementById("contAhesivoPeg").style.display = "none";
		document.getElementById("contAhesivoPegImg").style.display = "none";
		document.getElementById("contAhesEpoxi").style.display = "none";
		document.getElementById("contAhesEpoxiImg").style.display = "none";
		document.getElementById("contBoqEpox").style.display = "none";
		document.getElementById("contBoqEpoxImg").style.display = "none";
		document.getElementById("contBoSAr").style.display = "none";
		document.getElementById("contCBSAr").style.display = "none";
		document.getElementById("contBoCS").style.display = "none";
		document.getElementById("contCBCSell").style.display = "none";

	  }
	catch(err){ }


	switch (strClave)
	{
/* MENU SUPERIOR */
		case "INI": strLiga = strRutaBase + "paises.asp";  location.href = strLiga; break;
		case "INICIO-MEX": strLiga = strRutaBase + "sitio/MEX.xhtml";  location.href = strLiga; break;
		case "INICIO": strLiga = strRutaBase + "inicioUSA.asp?strPais=USA";  location.href = strLiga; break;
		case "GREEN":  strLiga = strRutaBase + "contMEX/igreen.asp"; location.href = strLiga; break;
		case "PISOS":  strLiga = strRutaBase + "sitio/MEX/pisos.xhtml";  location.href = strLiga; break;
		case "PYA_GALE": strLiga = strRutaBase + "sitio/MEX/pisos/galeria.xhtml"; location.href = strLiga; break;
		case "PYA_ESTI": strLiga = strRutaBase + "sitio/MEX/pisos/estilos.xhtml"; location.href = strLiga; break;
		case "PYA_COLE": strLiga = strRutaBase + "sitio/MEX/pisos/colecciones.xhtml"; location.href = strLiga; break;
		case "PYA_NUEV": strLiga = strRutaBase + "sitio/MEX/pisos/nuevo.xhtml"; location.href = strLiga; break;
		case "PYA_PORC": strLiga = strRutaBase + "sitio/MEX/pisos/porcelanicos.xhtml"; location.href = strLiga; break;
		case "PYA_CATA": strLiga = strRutaBase + "sitio/MEX/pisos/catalogo.xhtml"; location.href = strLiga; break;
		case "PYA_BUSQ": strLiga = strRutaBase + "sitio/MEX/pisos/busqueda.xhtml"; location.href = strLiga; break;
		case "PYA_INTE": strLiga = strRutaBase + "InformacionTecnica/MEX/Inicio.xhtml"; location.href = strLiga; break;
		/* INFORMACION TECNICA */
		case "INFT_COMOFAB": strLiga = strRutaBase + "InformacionTecnica/MEX/ComoseFabrica.xhtml"; location.href = strLiga; break;
		case "INFT_TIPOTRA": strLiga = strRutaBase + "InformacionTecnica/MEX/TiposdeTrafico.xhtml"; location.href = strLiga; break;
		case "INFT_ESPECTR": strLiga = strRutaBase + "InformacionTecnica/MEX/EspectrodeTonoyTextura.xhtml"; location.href = strLiga; break;
		case "INFT_CUIYMAN": strLiga = strRutaBase + "InformacionTecnica/MEX/CuidadoyMantenimiento.xhtml"; location.href = strLiga; break;
		case "INFT_METINST": strLiga = strRutaBase + "InformacionTecnica/MEX/MetodosdeInstalacion.xhtml"; location.href = strLiga; break;
		case "INFT_ESTANDA": strLiga = strRutaBase + "InformacionTecnica/MEX/Estandares.xhtml"; location.href = strLiga; break;
		case "INFT_TONYCAL": strLiga = strRutaBase + "InformacionTecnica/MEX/TonosyCalibres.xhtml"; location.href = strLiga; break;
		case "INFT_GLOSARI": strLiga = strRutaBase + "InformacionTecnica/MEX/GlosariodeTerminos.xhtml"; location.href = strLiga; break;

		case "TIEND":  strLiga = strRutaBase + "Tiendas/MEX/Inicio.xhtml";     location.href = strLiga; break;
		case "DECOR":  strLiga = strRutaBase + "Decoradores/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "DEC_VIRT1": strLiga = strRutaBase + "Decoradores/MEX/Virtual1.xhtml"; location.href = strLiga; break;
		case "DEC_VIRT2": strLiga = strRutaBase + "Decoradores/MEX/Virtual2.xhtml"; location.href = strLiga; break;
		case "DEC_DIGIT": strLiga = strRutaBase + "Decoradores/MEX/Digital.xhtml"; location.href = strLiga; break;
		case "USACUST":  strLiga =  "http://www2.interceramic.com/us/Cusco/default.cfm";  location.href = strLiga; break;
		case "PUB_REVI":  strLiga = strRutaBase + "Publicidad/MEX/Revistas.xhtml";  location.href = strLiga; break;
		case "PUB_SPOT":  strLiga = strRutaBase + "Publicidad/MEX/SpotsTV.xhtml";  location.href = strLiga; break;
		case "PUB_CAMP":  strLiga = strRutaBase + "Publicidad/MEX/Campana.xhtml";  location.href = strLiga; break;
		case "REGIS":  strLiga = strRutaBase + "Registro/MEX/Inicio.xhtml";    location.href = strLiga; break;
		case "REG_CLIEN":  strLiga = strRutaBase + "Registro/MEX/Clientes.xhtml";    location.href = strLiga; break;
		case "REG_JOYAS":  strLiga = strRutaBase + "Registro/MEX/Joyas.xhtml";    location.href = strLiga; break;
		case "FAVOR":  strLiga = strRutaBase + "Favoritos/MEX/Inicio.xhtml";   location.href = strLiga; break;

/* MENU INFERIOR */
		/* EMPRESA */
		case "EMPR": strLiga = strRutaBase + "empresa/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "EMPR_HISTOR": strLiga = strRutaBase + "empresa/MEX/NuestraHistoria.xhtml"; location.href = strLiga; break;
		case "EMPR_VISION": strLiga = strRutaBase + "empresa/MEX/Vision-Mision.xhtml"; location.href = strLiga; break;
		case "EMPR_NGENTE": strLiga = strRutaBase + "empresa/MEX/NuestraGente.xhtml"; location.href = strLiga; break;
		case "EMPR_EMSORE": strLiga = strRutaBase + "empresa/MEX/EmpresaSocialmenteResponsable.xhtml"; location.href = strLiga; break;
		case "EMPR_VIDDIG": strLiga = strRutaBase + "empresa/MEX/VidaDigna.xhtml"; location.href = strLiga; break;
		case "EMPR_TECNOL": strLiga = strRutaBase + "empresa/MEX/Tecnologia.xhtml"; location.href = strLiga; break;
		case "EMPR_EDSUCE": strLiga = strRutaBase + "empresa/MEX/EducacionSuperiorEnCeramica.xhtml"; location.href = strLiga; break;
		case "EMPR_SISDIS": strLiga = strRutaBase + "empresa/MEX/SistemaDeDistribucion.xhtml"; location.href = strLiga; break;
		case "EMPR_CCTPAT": strLiga = strRutaBase + "empresa/MEX/CertificacionC-TPAT.xhtml"; location.href = strLiga; break;
		case "EMPR_CAINSE": strLiga = strRutaBase + "empresa/MEX/CalidadInnovacionServicio.xhtml"; location.href = strLiga; break;
		case "EMPR_COGLCO": strLiga = strRutaBase + "empresa/MEX/CompromisoGlobalCompact.xhtml"; location.href = strLiga; break;
		case "EMPR_INTGRE": strLiga = strRutaBase + "empresa/MEX/InterceramicGreen.xhtml"; location.href = strLiga; break;
		case "EMPR_BOLTRA": strLiga = strRutaBase + "empresa/MEX/BolsaDeTrabajo.xhtml"; location.href = strLiga; break;

		/* RESPONSABILIDAD SOCIAL */
		case "RSOC": strLiga = strRutaBase + "responsabilidad/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "RSOC_INI": strLiga = strRutaBase + "responsabilidad/MEX/ResponsabilidadSocial.xhtml"; location.href = strLiga; break;
		case "RSOC_CAL": strLiga = strRutaBase + "responsabilidad/MEX/CalidaddeVida.xhtml"; location.href = strLiga; break;
		case "RSOC_ETIC": strLiga = strRutaBase + "responsabilidad/MEX/EticaEmpresarial.xhtml"; location.href = strLiga; break;
		case "RSOC_VINC": strLiga = strRutaBase + "responsabilidad/MEX/VinculacionconlaComunidad.xhtml"; location.href = strLiga; break;
		case "RSOC_CUID": strLiga = strRutaBase + "responsabilidad/MEX/CuidadoyPreservaciondelMedioAmbiente.xhtml"; location.href = strLiga; break;
		case "RSOC_PACT": strLiga = strRutaBase + "responsabilidad/MEX/PactoMundial.xhtml"; location.href = strLiga; break;
		case "RSOC_RECO": strLiga = strRutaBase + "responsabilidad/MEX/Reconocimientos.xhtml"; location.href = strLiga; break;
		case "RSOC_LIGINT": strLiga = strRutaBase + "responsabilidad/MEX/LigasdeInteres.xhtml"; location.href = strLiga; break;
		case "RSOC_INFOR": strLiga = strRutaBase + "responsabilidad/MEX/Informes.xhtml"; location.href = strLiga; break;

		/* SALA DE PRENSA */
		case "SALA": strLiga = strRutaBase + "saladeprensa/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "NOV1810": strLiga = strRutaBase + "saladeprensa/MEX/2010Noviembre18.xhtml"; location.href = strLiga; break;
		case "ABRL2710": strLiga = strRutaBase + "saladeprensa/MEX/2010Abril27.xhtml"; location.href = strLiga; break;
		case "MARZ1710": strLiga = strRutaBase + "saladeprensa/MEX/2010Marzo17.xhtml"; location.href = strLiga; break;
		/* CONTACTO */
		case "CONT": strLiga = strRutaBase + "contacto/MEX/Inicio.xhtml"; location.href = strLiga; break;

		/* INVERSIONISTAS */
		case "INVE": strLiga = strRutaBase + "inversionistas/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "INVE_GOBCOR": strLiga = strRutaBase + "inversionistas/MEX/GobiernoCorporativo.xhtml"; location.href = strLiga; break;
		case "INVE_GC_CONSEJ": strLiga = strRutaBase + "inversionistas/MEX/ConsejodeAdministracion.xhtml"; location.href = strLiga; break;
		case "INVE_GC_CONETI": strLiga = strRutaBase + "inversionistas/MEX/Codigodeetica.xhtml"; location.href = strLiga; break;
		case "INVE_GC_ESTSOC": strLiga = strRutaBase + "inversionistas/MEX/Estatutossociales.xhtml"; location.href = strLiga; break;
		case "INVE_GC_APECOD": strLiga = strRutaBase + "inversionistas/MEX/ApegoalCodigodeMejoresPracticasCorporaticas.xhtml"; location.href = strLiga; break;

		case "INVE_REPORT": strLiga = strRutaBase + "inversionistas/MEX/Reportes.xhtml"; location.href = strLiga; break;
		case "INVE_REP_TRIM": strLiga = strRutaBase + "inversionistas/MEX/InformesTrimestrales.xhtml"; location.href = strLiga; break;
		case "INVE_REP_ANU": strLiga = strRutaBase + "inversionistas/MEX/InformesAnuales.xhtml"; location.href = strLiga; break;
		case "INVE_REP_BMV": strLiga = strRutaBase + "inversionistas/MEX/ReportesAnualesBMV.xhtml"; location.href = strLiga; break;
		case "INVE_REP_ORPR": strLiga = strRutaBase + "inversionistas/MEX/Otrosreportesyprospectos.xhtml"; location.href = strLiga; break;
		case "INVE_REP_REIC": strLiga = strRutaBase + "inversionistas/MEX/ResponsablesdeenvíodeinformacionaBMVyCNBV.xhtml"; location.href = strLiga; break;

		case "INVE_EVRECO": strLiga = strRutaBase + "inversionistas/MEX/EventosRelevantesYCorporativos.xhtml"; location.href = strLiga; break;
		case "INVE_EVN_RELV": strLiga = strRutaBase + "inversionistas/MEX/EventosRelevantes.xhtml"; location.href = strLiga; break;
		case "INVE_EVN_COR": strLiga = strRutaBase + "inversionistas/MEX/EventosCorporativos.xhtml"; location.href = strLiga; break;
		case "INVE_INFACC": strLiga = strRutaBase + "inversionistas/MEX/InformacionDeLaAccion.xhtml"; location.href = strLiga; break;

		case "IGREEN_ES":
			strLiga = "http://www.interceramicgreen.com/MEX"
			var intVentana = window.open(strLiga);
			intVentana.focus();
		break;

		case "VIDA":
			strLiga = "http://www.fundacionvidadigna.org.mx"
			var intVentana = window.open(strLiga);
			intVentana.focus();
		break;

		case "IGREEN_IN":
			strLiga = "http://www.interceramicgreen.com/USA"
			var intVentana = window.open(strLiga);
			intVentana.focus();
		break;


		case "POP_DECOR":
			strliga = "../popups/decorados.htm";
			A_AbreVentana(strliga, 800, 600);
		break;

		/* MATERIALES DE INSTALACION */
		case "MATINST": strLiga = strRutaBase + "MaterialesInstalacion/MEX/Inicio.xhtml"; location.href = strLiga; break;
		case "MATINST_HISTOR": strLiga = strRutaBase + "MaterialesInstalacion/MEX/Historia.xhtml"; location.href = strLiga; break;
		case "MATINST_PRODU": strLiga = strRutaBase + "MaterialesInstalacion/MEX/Productos.xhtml"; location.href = strLiga; break;
		case "MATINST_CASES": strLiga = strRutaBase + "MaterialesInstalacion/MEX/CasosEspeciales.xhtml"; location.href = strLiga; break;
		case "MATINST_GRINS": strLiga = strRutaBase + "MaterialesInstalacion/MEX/GuiaRapidadeInstalacion.xhtml"; location.href = strLiga; break;
		case "MATINST_GPSAA": strLiga = strRutaBase + "MaterialesInstalacion/MEX/GuiaparaSeleccionareladhesivoadecuado.xhtml"; location.href = strLiga; break;

		case "MATINST_PROD_ADHE":
		    document.getElementById("contAhesivos").style.display = "";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";

		break;

		case "MATINST_PROD_ADHE_APSP":
			document.getElementById("contAhesivoPSP").style.display = "";
			document.getElementById("contAhesivoPSPImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_PSPG":
			document.getElementById("contAhesivoGris").style.display = "";
			document.getElementById("contAhesivoGrisImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_APOR":

			document.getElementById("contAhesivoPorc").style.display = "";
			document.getElementById("contAhesivoPorcImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_ABPA":

			document.getElementById("contAhesivoBlPre").style.display = "";
			document.getElementById("contAhesivoBlPreImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_APNA":

			document.getElementById("contAhesivoPieNa").style.display = "";
			document.getElementById("contAhesivoPieNaImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_AGPI":

			document.getElementById("contAhesivoGrP").style.display = "";
			document.getElementById("contAhesivoGrPImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_AGRA":

			document.getElementById("contAhesivoGrR").style.display = "";
			document.getElementById("contAhesivoGrRImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_ABVI":

			document.getElementById("contAhesivoBlVImg").style.display = "";
		break;
		case "MATINST_PROD_ADHE_PEGA":
			document.getElementById("contAhesivoPeg").style.display = "";
			document.getElementById("contAhesivoPegImg").style.display = "";
		break;
		case "MATINST_PROD_EXPO":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "";
		break;
		case "MATINST_PROD_EPOX_ADEP":
			document.getElementById("contAhesEpoxi").style.display = "";
			document.getElementById("contAhesEpoxiImg").style.display = "";
		break;
		case "MATINST_PROD_EPOX_BOEP":
			document.getElementById("contBoqEpox").style.display = "";
			document.getElementById("contBoqEpoxImg").style.display = "";
		break;
		case "MATINST_PROD_BOQU":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";
		    document.getElementById("contBoqui").style.display = "";
		break;
		case "MATINST_PROD_BOQU_BSAR":
		    document.getElementById("contBoSAr").style.display = "";
		break;
		case "MATINST_PROD_BOQU_CBSA":
		    document.getElementById("contCBSAr").style.display = "";
		break;
		case "MATINST_PROD_BOQU_BCSE":
		    document.getElementById("contBoCS").style.display = "";
		break;
		case "MATINST_PROD_BOQU_CBCS":
		    document.getElementById("contCBCSell").style.display = "";
		break;
		case "MATINST_PROD_MAES":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "";
		break;
		case "MATINST_PROD_MATE_ACPR":
		     document.getElementById("contAcPro").style.display = "";
		break;
		case "MATINST_PROD_MATE_LLPR":
		     document.getElementById("contLeLatPr").style.display = "";
		break;
		case "MATINST_PROD_MATE_ALES":
		     document.getElementById("contAuNES").style.display = "";
		break;
		case "MATINST_PROD_MATE_ALRS":
		     document.getElementById("contAuNRS").style.display = "";
		break;
		case "MATINST_PROD_MATE_ABPRE":
		     document.getElementById("contAdhBoq").style.display = "";
		break;
		case "MATINST_PROD_MATE_BOPRE":
		     document.getElementById("contBoPre").style.display = "";
		break;
		case "MATINST_PROD_MATE_EAMA":
		     document.getElementById("contEaMat").style.display = "";
		break;
		case "MATINST_PROD_ADSE":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";
		    document.getElementById("contAdSell").style.display = "";

		break;
		case "MATINST_PROD_ADSE_ATAS":
		     document.getElementById("contAdiAhe").style.display = "";
		break;
		case "MATINST_PROD_ADSE_SEMA":
		     document.getElementById("contSellMa").style.display = "";
		break;
		case "MATINST_PROD_ADSE_ATBO":
		     document.getElementById("contSellTra").style.display = "";
		break;
		case "MATINST_PROD_ADSE_REDG":
		     document.getElementById("contRedG").style.display = "";
		break;
		case "MATINST_PROD_PRLI":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "none";
		    document.getElementById("contProdLi").style.display = "";
		break;
		case "MATINST_PROD_PRLI_INCL":
		     document.getElementById("contIntCle").style.display = "";
		break;
		case "MATINST_PROD_PRLI_LSPM":
		     document.getElementById("contLimSeT").style.display = "";
		break;
		case "MATINST_PROD_PRLI_ASLI":
		     document.getElementById("contAcSuL").style.display = "";
		break;
		case "MATINST_PROD_PRLI_ASPR":
		     document.getElementById("contASPr").style.display = "";
		break;
		case "MATINST_PROD_PRLI_NALI":
		     document.getElementById("contNaNoLi").style.display = "";
		break;
		case "MATINST_PROD_PRLI_FXEF":
		     document.getElementById("contFXEflo").style.display = "";
		break;



		case "MATINST_PROD_TRAD":
		    document.getElementById("contAhesivos").style.display = "none";
		    document.getElementById("contEpoxicos").style.display = "none";
		    document.getElementById("contBoqui").style.display = "none";
		    document.getElementById("contMatEsp").style.display = "none";
		    document.getElementById("contAdSell").style.display = "none";
		    document.getElementById("contProdLi").style.display = "none";
		    document.getElementById("contTabRAd").style.display = "";
		break;

/* ===== USA ===== */
/* MENU SUPERIOR */
		case "INICIO-USA": strLiga = strRutaBase + "site/USA.xhtml";  location.href = strLiga; break;
		case "USAFAVOR":  strLiga = strRutaBase + "Favorites/USA/Inicio.xhtml";   location.href = strLiga; break;
		case "WHERE":  strLiga = strRutaBase + "Buy/USA/Inicio.xhtml";     location.href = strLiga; break;
		case "USAGREEN":  strLiga = strRutaBase + "contUSA/igreen.asp"; location.href = strLiga; break;

		case "USAREGIS":  strLiga = strRutaBase + "Register/USA/Inicio.xhtml";    location.href = strLiga; break;
		case "USADECOR":  strLiga = strRutaBase + "Design/USA/Inicio.xhtml"; location.href = strLiga; break;
		case "USADEC_VIRT1": strLiga = strRutaBase + "Design/USA/Virtual1.xhtml"; location.href = strLiga; break;
		case "USADEC_VIRT2": strLiga = strRutaBase + "Design/USA/Virtual2.xhtml"; location.href = strLiga; break;
		case "USADEC_DIGIT": strLiga = strRutaBase + "Design/USA/Digital.xhtml"; location.href = strLiga; break;




		<!--=======================  products ===================-->


		case "PRODU":  strLiga = strRutaBase + "site/USA/pisos.xhtml";  location.href = strLiga; break;


		case "USAPYA_GALE": strLiga = strRutaBase + "site/USA/pisos/galeria.xhtml"; location.href = strLiga; break;
		case "USAPYA_ESTI": strLiga = strRutaBase + "site/USA/pisos/estilos.xhtml"; location.href = strLiga; break;
		case "USAPYA_COLE": strLiga = strRutaBase + "site/USA/pisos/colecciones.xhtml"; location.href = strLiga; break;
		case "USAPYA_NUEV": strLiga = strRutaBase + "site/USA/pisos/nuevo.xhtml"; location.href = strLiga; break;
		case "USAPYA_CATA": strLiga = strRutaBase + "site/USA/pisos/catalogo.xhtml"; location.href = strLiga; break;
		case "USAPYA_BUSQ": strLiga = strRutaBase + "site/USA/pisos/busqueda.xhtml"; location.href = strLiga; break;


		<!--=======================  Architect and design ===================-->

		case "PRODAYD": strLiga = strRutaBase + "site/USA/pisos.xhtml"; location.href = strLiga; break;

		case "USAPYA_HOMOW": strLiga = strRutaBase + "site/USA/pisos.xhtml"; location.href = strLiga; break;

		case "PRODPT":  strLiga = strRutaBase + "pisos/USA/type.xhtml"; location.href = strLiga; break;
		case "PRODPTHD":  strLiga = strRutaBase + "pisos/USA/HighD.xhtml"; location.href = strLiga; break;

		case "PRODPTGCF":  strLiga = strRutaBase + "pisos/USA/GlazedCF.xhtml"; location.href = strLiga; break;
		case "PRODPTGCW":  strLiga = strRutaBase + "pisos/USA/GlazedCW.xhtml"; location.href = strLiga; break;
		case "PRODPTUP":  strLiga = strRutaBase + "pisos/USA/UnglazedP.xhtml"; location.href = strLiga; break;
		case "PRODPTGP":  strLiga = strRutaBase + "pisos/USA/GlazedP.xhtml"; location.href = strLiga; break;
		case "PRODPTGCBP":  strLiga = strRutaBase + "pisos/USA/GlazedCBP.xhtml"; location.href = strLiga; break;
		case "PRODPTFD":  strLiga = strRutaBase + "pisos/USA/FloorD.xhtml"; location.href = strLiga; break;
		case "PRODPTWD":  strLiga = strRutaBase + "pisos/USA/WallD.xhtml"; location.href = strLiga; break;
		case "PRODPTG":  strLiga = strRutaBase + "pisos/USA/Glass.xhtml"; location.href = strLiga; break;
		case "PRODPTUQ":  strLiga = strRutaBase + "pisos/USA/UnglazedQ.xhtml"; location.href = strLiga; break;
		case "PRODPTGCA":  strLiga = strRutaBase + "pisos/USA/GlazedCA.xhtml"; location.href = strLiga; break;
		case "PRODPTNS":  strLiga = strRutaBase + "pisos/USA/NaturalS.xhtml"; location.href = strLiga; break;

		case "PRODADA": strLiga = strRutaBase + "pisos/USA/ADA.xhtml"; location.href = strLiga; break;
		case "PRODCB": strLiga = strRutaBase + "pisos/USA/Cove.xhtml"; location.href = strLiga; break;

		case "PRODNEW": strLiga = strRutaBase + "pisos/USA/New.xhtml"; location.href = strLiga; break;

		case "PRODCPC": strLiga = strRutaBase + "site/USA/pisos/commercialproducts.xhtml"; location.href = strLiga; break;

		case "PRODAS": strLiga = strRutaBase + "pisos/USA/Search.xhtml"; location.href = strLiga; break;



		<!--ligas product types-->


		/*case "PRODPTHD": strLiga = strRutaBase + "site/USA/products/highdensity.xhtml"; location.href = strLiga; break;
		case "PRODPTGCF": strLiga = strRutaBase + "site/USA/products/glazedcf.xhtml"; location.href = strLiga; break;
		case "PRODPTGCW": strLiga = strRutaBase + "site/USA/products/glazedcw.xhtml"; location.href = strLiga; break;
		case "PRODPTUP": strLiga = strRutaBase + "site/USA/products/unglazedp.xhtml"; location.href = strLiga; break;
		case "PRODPTGP": strLiga = strRutaBase + "site/USA/products/glazedp.xhtml"; location.href = strLiga; break;
		case "PRODPTGCBP": strLiga = strRutaBase + "site/USA/products/glazedcbp.xhtml"; location.href = strLiga; break;
		case "PRODPTFD": strLiga = strRutaBase + "site/USA/products/floord.xhtml"; location.href = strLiga; break;
		case "PRODPTWD": strLiga = strRutaBase + "site/USA/products/walld.xhtml"; location.href = strLiga; break;
		case "PRODPTG": strLiga = strRutaBase + "site/USA/products/glass.xhtml"; location.href = strLiga; break;
		case "PRODPTUQ": strLiga = strRutaBase + "site/USA/products/unglazedq.xhtml"; location.href = strLiga; break;
		case "PRODPTGCA": strLiga = strRutaBase + "site/USA/products/glazedca.xhtml"; location.href = strLiga; break;
		case "PRODPTNS": strLiga = strRutaBase + "site/USA/products/naturals.xhtml"; location.href = strLiga; break;


*/



/* INVENTORS */
		case "USAINVE": strLiga = strRutaBase + "inventors/USA/Inicio.xhtml"; location.href = strLiga; break;
		case "USAINVE_GOBCOR": strLiga = strRutaBase + "inventors/USA/GobiernoCorporativo.xhtml"; location.href = strLiga; break;
		case "USAINVE_GC_CONSEJ": strLiga = strRutaBase + "inventors/USA/ConsejodeAdministracion.xhtml"; location.href = strLiga; break;
		case "USAINVE_GC_CONETI": strLiga = strRutaBase + "inventors/USA/Codigodeetica.xhtml"; location.href = strLiga; break;
		case "USAINVE_GC_ESTSOC": strLiga = strRutaBase + "inventors/USA/Estatutossociales.xhtml"; location.href = strLiga; break;


		case "USAINVE_GC_APECOD": strLiga = strRutaBase + "inventors/USA/ApegoalCodigodeMejoresPracticasCorporaticas.xhtml"; location.href = strLiga; break;


		case "USAINVE_REPORT": strLiga = strRutaBase + "inventors/USA/Reportes.xhtml"; location.href = strLiga; break;
		case "USAINVE_REP_TRIM": strLiga = strRutaBase + "inventors/USA/InformesTrimestrales.xhtml"; location.href = strLiga; break;
		case "USAINVE_REP_ANU": strLiga = strRutaBase + "inventors/USA/InformesAnuales.xhtml"; location.href = strLiga; break;
		case "USAINVE_REP_BMV": strLiga = strRutaBase + "inventors/USA/ReportesAnualesBMV.xhtml"; location.href = strLiga; break;
		case "USAINVE_REP_ORPR": strLiga = strRutaBase + "inventors/USA/Otrosreportesyprospectos.xhtml"; location.href = strLiga; break;
		case "USAINVE_REP_REIC": strLiga = strRutaBase + "inventors/USA/ResponsablesdeenvíodeinformacionaBMVyCNBV.xhtml"; location.href = strLiga; break;

		case "USAINVE_EVRECO": strLiga = strRutaBase + "inventors/USA/EventosRelevantesYCorporativos.xhtml"; location.href = strLiga; break;
		case "USAINVE_EVN_RELV": strLiga = strRutaBase + "inventors/USA/EventosRelevantes.xhtml"; location.href = strLiga; break;
		case "USAINVE_EVN_COR": strLiga = strRutaBase + "inventors/USA/EventosCorporativos.xhtml"; location.href = strLiga; break;
		case "USAINVE_INFACC": strLiga = strRutaBase + "inventors/USA/InformacionDeLaAccion.xhtml"; location.href = strLiga; break;



/* MENU INFERIOR */
		/* EMPRESA */
		case "CORP": strLiga = strRutaBase + "CorporateInformation/USA/Inicio.xhtml"; location.href = strLiga; break;


		case "CORP_OUR": strLiga = strRutaBase + "CorporateInformation/USA/NuestraHistoria.xhtml"; location.href = strLiga; break;
		case "CORP_VISION": strLiga = strRutaBase + "CorporateInformation/USA/Vision-Mision.xhtml"; location.href = strLiga; break;
		case "CORP_NGENTE": strLiga = strRutaBase + "CorporateInformation/USA/NuestraGente.xhtml"; location.href = strLiga; break;
		case "CORP_EMSORE": strLiga = strRutaBase + "CorporateInformation/USA/EmpresaSocialmenteResponsable.xhtml"; location.href = strLiga; break;
		case "CORP_VIDDIG": strLiga = strRutaBase + "CorporateInformation/USA/VidaDigna.xhtml"; location.href = strLiga; break;
		case "CORP_TECNOL": strLiga = strRutaBase + "CorporateInformation/USA/Tecnologia.xhtml"; location.href = strLiga; break;
		case "CORP_EDSUCE": strLiga = strRutaBase + "CorporateInformation/USA/EducacionSuperiorEnCeramica.xhtml"; location.href = strLiga; break;
		case "CORP_SISDIS": strLiga = strRutaBase + "CorporateInformation/USA/SistemaDeDistribucion.xhtml"; location.href = strLiga; break;
		case "CORP_CCTPAT": strLiga = strRutaBase + "CorporateInformation/USA/CertificacionC-TPAT.xhtml"; location.href = strLiga; break;
		case "CORP_CAINSE": strLiga = strRutaBase + "CorporateInformation/USA/CalidadInnovacionServicio.xhtml"; location.href = strLiga; break;
		case "CORP_COGLCO": strLiga = strRutaBase + "CorporateInformation/USA/CompromisoGlobalCompact.xhtml"; location.href = strLiga; break;
		case "CORP_INTGRE": strLiga = strRutaBase + "CorporateInformation/USA/InterceramicGreen.xhtml"; location.href = strLiga; break;
		case "CORP_BOLTRA": strLiga = strRutaBase + "CorporateInformation/USA/BolsaDeTrabajo.xhtml"; location.href = strLiga; break;

		case "USACONT": strLiga = strRutaBase + "contact/USA/Inicio.xhtml"; location.href = strLiga; break;


		/* SALA DE PRENSA */
		case "USASALA": strLiga = strRutaBase + "PressRoom/USA/Inicio.xhtml"; location.href = strLiga; break;







		/* SOCIAL RESP USA*/
		case "USARESP": strLiga = strRutaBase + "SocialResponsability/USA/Inicio.xhtml"; location.href = strLiga; break;
		case "USARSOC_INI": strLiga = strRutaBase + "SocialResponsability/USA/ResponsabilidadSocial.xhtml"; location.href = strLiga; break;
		case "USARSOC_CAL": strLiga = strRutaBase + "SocialResponsability/USA/CalidaddeVida.xhtml"; location.href = strLiga; break;
		case "USARSOC_ETIC": strLiga = strRutaBase + "SocialResponsability/USA/EticaEmpresarial.xhtml"; location.href = strLiga; break;
		case "USARSOC_VINC": strLiga = strRutaBase + "SocialResponsability/USA/VinculacionconlaComunidad.xhtml"; location.href = strLiga; break;
		case "USARSOC_CUID": strLiga = strRutaBase + "SocialResponsability/USA/CuidadoyPreservaciondelMedioAmbiente.xhtml"; location.href = strLiga; break;
		case "USARSOC_PACT": strLiga = strRutaBase + "SocialResponsability/USA/PactoMundial.xhtml"; location.href = strLiga; break;
		case "USARSOC_RECO": strLiga = strRutaBase + "SocialResponsability/USA/Reconocimientos.xhtml"; location.href = strLiga; break;
		case "USARSOC_LIGINT": strLiga = strRutaBase + "SocialResponsability/USA/LigasdeInteres.xhtml"; location.href = strLiga; break;
		case "USARSOC_INFOR": strLiga = strRutaBase + "SocialResponsability/USA/Informes.xhtml"; location.href = strLiga; break;


	}
}


//* 100419 JCV - Se agrega funcion para procesar ligas y abrir ventanas de Decorador DIGITAL*/
function A_ProcesaLigaDecDigital(intLen){
	//alert("Voy a decorador digital en idioma = "+intLen);
	if (intLen == 1){
		strLiga = "http://www.interceramic.degha.com/deghaweb/deghamlweb.htm?Idioma=0&lbhb=1";
		A_AbreVentana(strLiga, 810, 690);
	}
	else
		strLiga = "http://www.interceramicusa.degha.com/deghaweb/deghamlweb.php?Idioma=1&lbhb=1";
		A_AbreVentana(strLiga, 810, 690);
}

//* 100420 JCV - Se agrega funcion para procesar ligas y abrir ventanas de Decorador VIRTUAL*/
//* 100506 JCV - Se cambia funcion y se actualizan ligas de acuerdo a email recibido */
function A_ProcesaLigasDecVirtual(strPais, strTipo, intNumLiga){
	//alert("Pais = "+strPais+" | Tipo = "+strTipo+" | Numero liga = "+intNumLiga);
	if (strPais == "MEX")
		A_ProcesaLigasMEX(strTipo, intNumLiga);
	else
		A_ProcesaLigasUSA(strTipo, intNumLiga);
}

function A_ProcesaLigasMEX(strTipo, intNumLiga){
	/*alert("estoy en MEX"+"|tipo="+strTipo+"|numLiga="+intNumLiga);*/
	switch (strTipo){
		case "HOG_COL":
			
			
			var Proyecto = new Array (
			/*posicion 0*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Principal-17.v2t",
			/*posicion 1*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Principal-80.v2t",
			/*posicion 2*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Medio%20Bano.v2t",
			/*posicion 3*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Rec%20Principal%2073-80.v2t",
			/*posicion 4*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Sala%20Comedor%20Entrada.v2t",
			/*posicion 5*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Decorado%20Muro%20Sala%20-%20Comedor.v2t",
			/*posicion 6*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Cocina.v2t",
			/*posicion 7*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Fachada.v2t"
			);
			var strLiga = Proyecto[intNumLiga-1];
			A_AbreVentana(strLiga);
		break;
		case "HOG_PLA":			
			
			var strLigaProyecto5 ="http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1"
			var Proyecto = new Array (
			/*posicion 0*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/Rectangular%20Plan.v2t",
			/*posicion 1*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/L%20Plan.v2t",
			/*posicion 2*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/Double%20Square.v2t",
			/*posicion 3*/"http://www.3dsuperb.com/superb/login.asp?CatID=7&Lang=es&RUserID=1&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/U%20Plan.v2t",
			/*posicion 4*/""
			);
			//alert("Num Liga = "+intNumLiga + " | Proyecto = " + Proyecto [intNumLiga-1]);
			if (intNumLiga == 5){
				A_AbreVentana(strLigaProyecto5);
			}
			else {
				var strLiga = Proyecto[intNumLiga-1];
				A_AbreVentana(strLiga);
			}
		break;
		case "PRO":
			var strLiga = "http://www.3dsuperb.com/superb/login.asp?CatID=23&Lang=es&RUserID=2";
			A_AbreVentana(strLiga);
		break;
	}
}
function A_ProcesaLigasUSA(strTipo, intNumLiga){
	//alert("estoy en USA");
	switch (strTipo){
		case "HOG_COL":
			var strLigaBase = "http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/";
			var Proyecto = new Array (
			/*posicion 0*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Principal-17.v2t",
			/*posicion 1*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Principal-80.v2t",
			/*posicion 2*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Medio%20Bano.v2t",
			/*posicion 3*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Bano%20Rec%20Principal%2073-80.v2t",
			/*posicion 4*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Sala%20Comedor%20Entrada.v2t",
			/*posicion 5*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Decorado%20Muro%20Sala%20-%20Comedor.v2t",
			/*posicion 6*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Cocina.v2t",
			/*posicion 7*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=2&FileName=%25custom%25interceramic_std/Project%20Templates/Designer%20Rooms/Fachada.v2t"
			);
			//alert(Proyecto[intNumLiga-1]);
			var strLiga =  Proyecto[intNumLiga-1];
			A_AbreVentana(strLiga);
		break;
		case "HOG_PLA":
			
			var strLigaProyecto5 = "http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3";
			var Proyecto = new Array (
			/*posicion 0*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/Rectangular%20Plan.v2t",
			/*posicion 1*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/L%20Plan.v2t",
			/*posicion 2*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/Double%20Square.v2t",
			/*posicion 3*/"http://www.3dsuperb.com/superb/login.asp?CatID=60&Lang=uk&RUserID=3&Prog=1&FileName=%25custom%253dsuperb/data/Project%20Templates/general/U%20Plan.v2t",
			/*posicion 4*/""
			);
			//alert("Num Liga = "+intNumLiga + " | Proyecto = " + Proyecto [intNumLiga-1]);
			if (intNumLiga == 5){
				A_AbreVentana(strLigaProyecto5);
			}
			else {
				var strLiga =  Proyecto[intNumLiga-1];
				A_AbreVentana(strLiga);
			}
		break;
		case "PRO":
			var strLiga = "http://www.3dsuperb.com/superb/login.asp?CatID=58&Lang=uk&RUserID=4";
			A_AbreVentana(strLiga);
		break;
	}
}













// 100507 JCV - Funcion para mostrar mapas de tiendas
function A_ProcesaMapa(strLiga){
	//alert(strLiga);
	//A_AbreVentana(strLiga,  500, 500);
	var IntVent = window.open(strLiga,"mapatiendas","menubar=0,toolbar=0,location=0,status=0,resizable=0,titlebar=0,width=604,height=454")
	IntVent.focus();
}


