	var thisSub2=null;
	var getCurrent = document.getElementById('menu').getElementsByTagName("LI");
	for (var i=0; i<getCurrent.length; i++) {
		if (getCurrent[i].className == "clicked") {
		ulId = getCurrent[i].id.replace("li", "ul");
		document.getElementById(ulId).style.top = 52 + "px";
		//$('#'+ulId).fadeTo(0, 1.0);
		}
		}

	var getEls = document.getElementById('menu').getElementsByTagName("LI");
	var getListElts = document.getElementById('submenus').getElementsByTagName("UL");
	var getAgn = getEls;
	

	for (var i=0; i<getEls.length; i++) {
		getEls[i].onmouseover=function() {
		this.className = 'clicked';

		for (var z=0; z<getAgn.length; z++) {
		if (this.id != getAgn[z].id){
				getAgn[z].className = '';
			}
		}

		ulId = this.id.replace("li", "ul");
		if (document.getElementById(ulId).style.top < 52 + "px") {
		//$('#'+ulId).fadeTo(3000, 1.0); //  //	console.log(thisSub);
		moveIt (0,53,ulId);
		thisSub2=null;
		}
			for (var i=0; i<getListElts.length; i++) {
			if (ulId != getListElts[i].id && getListElts[i].style.top > 0 + "px"){
					thisSub = getListElts[i].id;
					//if(ulId!=thisSub)$('#'+thisSub).fadeTo(2000, 0.0);
					if(thisSub!=thisSub2) moveIt (51,-1,thisSub);
					thisSub2 = thisSub;
				}
			}
		}
	}


function moveIt (cY, fY, sub) {
if (cY > fY) {cY--; }
else {cY++;}
if (cY != fY) {
document.getElementById(sub).style.top = cY + "px";
eval("moveIt("+cY+","+fY+",'"+sub+"')");
//setTimeout ("moveIt("+cY+","+fY+",'"+sub+"')", 1);
}
}