//WHITE-SPACE: nowrap; 

////////////////////Please leave this notice/////////////////////
//	Dynamic JS Menu 1.0										   //
//	It works only with IE5.0(++) and Netscape6.0(++)		   //
////////////////////Last modified 01-31-2003/////////////////////


//	Colores del menu
var tdColor="#7C7C7C";		// color del texto de los elementos del menu
var tdBgColor="#EBEBEB";	// color de fondo de los elementos del menu
var hlColor="#3f3f3f";		// color texto cuando puntero encima
var hlBgColor="#C7C7C7";	// color fondo cuando punetor encima
//	Los mismos valores deben estar en menuNav.css

// Definicion del menu

td_1 = "&#1054;_&#1082;&#1086;&#1084;&#1087;&#1072;&#1085;&#1080;&#1080;"
url_1 = "./empresa/empresa.htm"

	td_1_1 = "&#1054; &#1055;&#1088;&#1077;&#1076;&#1087;&#1088;&#1080;&#1103;&#1090;&#1080;&#1080; &#1050;&#1048;&#1052;&#1048;&#1050;&#1040;&#1057; &#1054;&#1056;&#1054;, &#1057;.&#1051;"
	url_1_1 = "./empresa/quimicas_sp.htm"
//	td_1_2 = "&#1055;&#1088;&#1077;&#1076;&#1089;&#1090;&#1072;&#1074;&#1080;&#1090;&#1077;&#1083;&#1100;&#1089;&#1090;&#1074;&#1086; &#1074; &#1052;&#1086;&#1089;&#1082;&#1074;&#1077;"
//  url_1_2 = "./empresa/quimicas_ru.htm"

		td_1_1_1 = "&#1084;&#1077;&#1089;&#1090;&#1086;&#1085;&#1072;&#1093;&#1086;&#1078;&#1076;&#1077;&#1085;&#1080;&#1077;"
		url_1_1_1 = "./empresa/ubi_sp.htm"
//		td_1_2_1 = "&#1084;&#1077;&#1089;&#1090;&#1086;&#1085;&#1072;&#1093;&#1086;&#1078;&#1076;&#1077;&#1085;&#1080;&#1077;"
//		url_1_2_1 = "./empresa/ubi_ru.htm"	


td_2 = "&#1055;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090;&#1099;"
url_2 = "./productos/producto.htm"

	td_2_1 = "&#1058;&#1086;&#1074;&#1072;&#1088;&#1099; &#1073;&#1099;&#1090;&#1086;&#1074;&#1086;&#1081; &#1093;&#1080;&#1084;&#1080;&#1080; &#1076;&#1083;&#1103; &#1076;&#1086;&#1084;&#1072; &#1080; &#1086;&#1092;&#1080;&#1089;&#1072;"
	url_2_1 = "./productos/domestico.htm"

		td_2_1_1 = "&#1095;&#1080;&#1089;&#1090;&#1103;&#1097;&#1080;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1076;&#1083;&#1103; &#1076;&#1086;&#1084;&#1072; &#1080; &#1086;&#1092;&#1080;&#1089;&#1072;"
		url_2_1_1 = "./productos/limpiezaD.htm"
		td_2_1_2 = "&#1086;&#1089;&#1074;&#1077;&#1078;&#1080;&#1090;&#1077;&#1083;&#1080; &#1074;&#1086;&#1079;&#1076;&#1091;&#1093;&#1072;"
		url_2_1_2 = "./productos/ambientadoresD.htm"	
		td_2_1_3 = "&#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1073;&#1086;&#1088;&#1100;&#1073;&#1099; &#1087;&#1088;&#1086;&#1090;&#1080;&#1074; &#1073;&#1099;&#1090;&#1086;&#1074;&#1099;&#1093; &#1085;&#1072;&#1089;&#1077;&#1082;&#1086;&#1084;&#1099;&#1093; &#1080; &#1080;&#1085;&#1089;&#1077;&#1082;&#1090;&#1080;&#1094;&#1080;&#1076;&#1099;"
		url_2_1_3 = "./productos/insecticidasD.htm"
		td_2_1_4 = "&#1078;&#1080;&#1076;&#1082;&#1080;&#1077; &#1089;&#1090;&#1080;&#1088;&#1072;&#1083;&#1100;&#1085;&#1086;-&#1084;&#1086;&#1102;&#1097;&#1080;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1080; &#1075;&#1077;&#1083;&#1080;"
		url_2_1_4 = "./productos/detergentesD.htm"
		td_2_1_5 = "&#1076;&#1086;&#1084;&#1072;&#1096;&#1085;&#1103;&#1103; &#1082;&#1086;&#1089;&#1084;&#1077;&#1090;&#1080;&#1082;&#1072;"
		url_2_1_5 = "./productos/perfumeriaD.htm"	
		
	td_2_2 = "&#1090;&#1086;&#1088;&#1075;&#1086;&#1074;&#1072;&#1103; &#1084;&#1072;&#1088;&#1082;&#1072;"
	url_2_2 = "./productos/marc_dist.htm"		
	
		td_2_2_1 = "&#1095;&#1080;&#1089;&#1090;&#1103;&#1097;&#1080;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1076;&#1083;&#1103; &#1076;&#1086;&#1084;&#1072; &#1080; &#1086;&#1092;&#1080;&#1089;&#1072;"
		url_2_2_1 = "./productos/limpiezaM.htm"
		td_2_2_2 = "&#1086;&#1089;&#1074;&#1077;&#1078;&#1080;&#1090;&#1077;&#1083;&#1080; &#1074;&#1086;&#1079;&#1076;&#1091;&#1093;&#1072;"
		url_2_2_2 = "./productos/ambientadoresM.htm"	
		td_2_2_3 = "&#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1073;&#1086;&#1088;&#1100;&#1073;&#1099; &#1087;&#1088;&#1086;&#1090;&#1080;&#1074; &#1073;&#1099;&#1090;&#1086;&#1074;&#1099;&#1093; &#1085;&#1072;&#1089;&#1077;&#1082;&#1086;&#1084;&#1099;&#1093; &#1080; &#1080;&#1085;&#1089;&#1077;&#1082;&#1090;&#1080;&#1094;&#1080;&#1076;&#1099;"
		url_2_2_3 = "./productos/insecticidasM.htm"
		td_2_2_4 = "&#1078;&#1080;&#1076;&#1082;&#1080;&#1077; &#1089;&#1090;&#1080;&#1088;&#1072;&#1083;&#1100;&#1085;&#1086;-&#1084;&#1086;&#1102;&#1097;&#1080;&#1077; &#1089;&#1088;&#1077;&#1076;&#1089;&#1090;&#1074;&#1072; &#1080; &#1075;&#1077;&#1083;&#1080;"
		url_2_2_4 = "./productos/detergentesM.htm"
	

td_3 = "&#1050;&#1086;&#1085;&#1090;&#1072;&#1082;&#1090;&#1099;"
url_3 = "./contacto/contacto.htm"


var md=250;
var ti=-1;
var oTd=new Object;
oTd=null;

function doMenu(td){
	clearTimeout(ti);
	td.style.backgroundColor=hlBgColor;
	td.style.color=hlColor;
	var i;
	var sT="";
	var tda=new Array();
	tda=td.id.split("_");
	if(oTd!=null){
		var tdo=new Array();
		tdo=oTd.id.split("_");
		for(i=1;i<tdo.length;i++){
			sT+="_"+tdo[i];
			if(tdo[i]!=tda[i]){
				document.getElementById("td"+sT).style.backgroundColor=tdBgColor;
				document.getElementById("td"+sT).style.color=tdColor;
				if(document.getElementById("tbl"+sT)!=null)
					document.getElementById("tbl"+sT).style.visibility="hidden";
			}
		}			
	}
	oTd=td;
	sT="tbl";
	for(i=1;i<tda.length;i++)
		sT+="_"+tda[i];
	if(document.getElementById(sT)!=null)
		document.getElementById(sT).style.visibility="visible";

}

function clearMenu(){
	if(oTd!=null){
		var tdo=new Array();
		tdo=oTd.id.split("_");
		var sT="";
		for(var i=1;i<tdo.length;i++){
			sT+="_"+tdo[i];
			document.getElementById("td"+sT).style.backgroundColor=tdBgColor;
			document.getElementById("td"+sT).style.color=tdColor;
			if(document.getElementById("tbl"+sT)!=null)
				document.getElementById("tbl"+sT).style.visibility="hidden";
		}
		oTd=null;			
	}
}

function runMenu(strURL){
	//location.href=strURL;
	document.frames("centro").document.location.href=strURL;
}

var tt="";
var sT="";
var pT=new Array();
var tA=new Array();

function getCoord(st){
	tA=st.split("_");
	if(tA.length>2){
		tA=tA.slice(0,-1);
		tt=tA.join("_");
		return (document.getElementById("tbl"+tt).offsetTop+document.getElementById("td"+st).offsetTop+1)+"px;left:"+
			(document.getElementById("tbl"+tt).offsetLeft+document.getElementById("td"+st).offsetWidth)+"px\">";
	}
	return (document.getElementById("mainmenu").offsetTop+document.getElementById("td"+st).offsetHeight)+"px;left:"+
		  (document.getElementById("mainmenu").offsetLeft+document.getElementById("td"+st).offsetLeft)+"px\">";
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

