<!--
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('nav');
	bg();

	document.getElementById(eId).style.background = "rgb(83, 134, 32) url('http://www.mctekk.com/site_images/nav-li-bg.gif') no-repeat right top";
	dropM.style.display = "";
	dropM.style.top = 39 + "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(eId).parentNode.offsetLeft + 'px';
	}
	else {
		dropM.style.left = document.getElementById(eId).offsetLeft + 'px';
	}
	
	fill_dropM(section, dropM);
}

function fill_dropM (section, dropM)
{
	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('nav').getElementsByTagName('li').length;
	for (z = 1; z < cnt; z++) {
		document.getElementById('nav').getElementsByTagName('li')[z].style.background = "";
	}
}

//-->