<!--
var clientPC = navigator.userAgent.toLowerCase();
var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
var timer;
function drop_menu (section, eId)
{
	var dropM = document.getElementById('drop_menu');
	var mainM = document.getElementById('navi');
	bg();	
	dropM.style.display = "";
	dropM.style.top = 166 + "px";
	//dropM.style.top = document.getElementById(eId).offsetTop + document.getElementById(eId).parentNode.clientHeight + 'px';
	//dropM.style.top = mainM.offsetTop + mainM.clientHeight + 'px';
	if (is_ie) {
		dropM.style.left = document.getElementById(eId).offsetLeft + document.getElementById('cuerpo').offsetLeft + 'px';
		//alert(document.getElementById('cuerpo').offsetLeft);
	}else {
		dropM.style.left = document.getElementById(eId).offsetLeft + 'px';
	}
	fill_dropM(section, dropM);
}



function fill_dropM (section, dropM)
{
	if(section=="m2" || section=="m3"){
		strIn = "";
		txt = eval(section + "_txt");
		lnk = eval(section + "_lnk");
                if(section=="m2"){
		   txt2 = eval("m7_txt");
		   lnk2 = eval("m7_lnk");
                }
                else {
       		   txt2 = eval("m9_txt");
		   lnk2 = eval("m9_lnk");
                }
		//
		strIn = '<div class="subtit">Productos</div>';				
		//
		for (j = 0; j < txt.length; j++) {		
			if (j == txt.length - 1) { strIn += '<a href="' + lnk[j] + '" style="border:none;">' + txt[j] + '</a>'; }
			else { strIn += '<a href="' + lnk[j] + '">' + txt[j] + '</a>'; }
		}
		strIn += '<div class="subtit">Servicios</div>';				
		for (j = 0; j < txt2.length; j++) {		
			if (j == txt2.length - 1) { strIn += '<a href="' + lnk2[j] + '" style="border:none;">' + txt2[j] + '</a>'; }
			else { strIn += '<a href="' + lnk2[j] + '">' + txt2[j] + '</a>'; }
		}
		dropM.innerHTML = strIn;
		
		
		
		return;
	}
	//
	strIn = "";
	txt = eval(section + "_txt");
	lnk = eval(section + "_lnk");
	for (j = 0; j < txt.length; j++) {		
		if (j == txt.length - 1) { strIn += '<a href="' + lnk[j] + '" style="border:none;">' + txt[j] + '</a>'; }
		else { strIn += '<a href="' + lnk[j] + '">' + txt[j] + '</a>'; }
	}
	dropM.innerHTML = strIn;	
	/*strIn = "";

	for (j=0; j<section.length; j+=2) {

		if (j == section.length - 2) { strIn += '<a href="' + section[j+1] + '" style="border:none;">' + section[j] + '</a>'; }

		else { strIn += '<a href="' + section[j+1] + '">' + section[j] + '</a>'; }

	}

	dropM.innerHTML = strIn;*/

}



function stopper(control) {
	if (control == 0) {
		timer = setTimeout("xDisplay(0)",250);
	}

	else if (control == 1) {
		clearTimeout(timer);
	}

}



function xDisplay (xCond) {
	var dropM = document.getElementById('drop_menu');
	if (xCond == 0) {
		dropM.style.display = "none";
		bg();
	}else { 
	return false; 
	}

}



function bg() {
	var cnt = document.getElementById('navi').getElementsByTagName('li').length;
	for (z = 1; z < cnt; z++) {
		document.getElementById('navi').getElementsByTagName('li')[z].style.background = "";
	}
}

function side_nav(nId, tId) {

	var nav_tag = document.getElementById(nId);	
	var title_tag = document.getElementById(tId);
	
	if (nav_tag.style.display == "none") {
		nav_tag.style.display = "block";		
	} else {
		nav_tag.style.display = "none";

	}

}

//-->