// enable drop down menu in Explorer
startList = function() {
	//if (document.all&&document.getElementById) {
	if (document.getElementById) {
		navRoot = document.getElementById("nav1");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI" && node.className.indexOf('select')==-1) {
				node.onmouseover=function() {
					if (document.all) this.className+=" over";
					changeCurrMenuState('none');
				}
				node.onmouseout=function() {
					if (document.all) this.className=this.className.replace(" over", "");
					changeCurrMenuState('block');
				}
			}
		}
	}
}

function changeCurrMenuState(state) {
	btnlist = new Array('b_about','b_analytical','b_tests','b_investors');
	for (i=0; i<btnlist.length; i++) {
		target = document.getElementById(btnlist[i]);
		if (target.className.indexOf('select')!=-1) {
			target = target.firstChild;
			while (target.nodeName != 'UL') target = target.nextSibling;
			target.style.display = state;
			break;
		}
	}
}

window.onload=startList;
