// removed the comment around the "return false" statement
// I can't remember why I commented it in the first place :-( 
function swap(){(this.parentNode.id=="TJK_dropDownMenu")?this.childNodes[2].className="msieFix":this.childNodes[2].className="msieSubFix";}
function swapBack(){this.childNodes[2].className="trigger";}
function toggle(){(this.parentNode.childNodes[2].className=="trigger")?this.parentNode.childNodes[2].className="msieFix":this.parentNode.childNodes[2].className="trigger";return false;}
function reveal(){
//alert(this.parentNode.parentNode.parentNode.childNodes[2])
(this.parentNode.parentNode.parentNode.parentNode.id=="TJK_dropDownMenu")?this.parentNode.parentNode.parentNode.childNodes[2].className="msieFix":this.parentNode.parentNode.parentNode.childNodes[2].className="msieSubFix";
}
function cleanUp(){

	var zA;
	var LI = document.getElementsByTagName("li");
	var zLI= LI.length;
	
		for(var k=0;k<zLI;k++){
		
		if(LI[k]!=this.parentNode){
		LI[k].className="trigger";
		}
	}	
}
function TJK_keyBoardDropDown(){// v1.2 Copyright (c) 2006 TJKDesign - Thierry Koblentz
if(!/MSIE (5|6)/.test(navigator.userAgent)) return;

	var LI = document.getElementsByTagName("li");
	var zLI= LI.length;
	if (document.getElementById){	
		for(var k=0;k<zLI;k++){
			if(LI[k].id && LI[k].childNodes.length > 2){
			
				LI[k].className="trigger";
				LI[k].firstChild.onclick=toggle;
				LI[k].firstChild.title="show/hide the sub-menu";				
				//LI[k].firstChild.onfocus=cleanUp;
				
			}
			if(LI[k].className=="trigger"){
				LI[k].onmouseover=swap;
				LI[k].onmouseout=swapBack;
			}
			if(!LI[k].id){
			
				//LI[k].firstChild.onfocus=reveal;
			}
		}
	}
}
//document.write('<style type="text/css" media="screen">@import "TJK_keyBoardDropDownModernBrowsersWithScriptSupport.css";</style>')
window.onload=function(){TJK_keyBoardDropDown();}
