fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(menuStyle=new mm_style()){
onbgcolor="#98ebef";
oncolor="#FFFFFF";
offbgcolor="#9fcedd";
offcolor="#000000";
pagecolor="#ffffff";
pagebgcolor="#225081";
separatorcolor="#ffffff";	
	
overflow="scroll";
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="85%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
outfilter="randomdissolve(duration=0.3)";
itemwidth=150;
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=145, Strength=5)";
padding=5;
separatorcolor="#ffffff";
separatorsize=1;
subimage="/images/arrow.gif";
subimagepadding=4;
onclass="menuOn";
offclass="menuOff";
pageclass="menuSelected";
}


listStyle=menuStyle;
mainMenuSettings="position='relative';alwaysvisible=1;orientation='vertical';"

_y5=0;
_y3=new Array();
_y2=0;
_y1=0;
for(_a=0;_a<_d.links.length;_a++){
_y4=_d.links[_a];
	pE=_y4.parentNode;
	if(pE.tagName=="LI"){
		while(pE){
			if(pE.tagName=="UL"){
				
				if(!pE.id){
					
					pE.id="mmenu"+_y5;
					pE.style.display="none"
					_y3[_y5]=new Array();
					if(_y1)_y3[_y1][_y3[_y1].length-1]+=";showmenu=listmenu"+_y5+";";
					if(pE.className)_y3[_y5].menuStyle=pE.className
					_y5++;
				}
				break;
			}
			pE=pE.parentNode;
		}
		_y1=pE.id.substr(5,3);
		if(sfri||ie)txt=_y4.innerHTML;else txt=_y4.text;
		_y3[_y1][_y3[_y1].length]="text="+txt+";"
		if(_y4.href.substr(_y4.href.length-1,1)!="#")_y3[_y1][_y3[_y1].length-1]+="url="+_y4+";"
		_y2++;
	}
}

_y6="";
for(_a=0;_a<_y3.length;_a++){
	_y6+="with(milonic=new menuname('listmenu"+_a+"')){"
	if(_y3[_a].menuStyle)_y6+="style="+_y3[_a].menuStyle+";";else _y6+="style=listStyle;";
	if(_a==0)_y6+=mainMenuSettings;
	for(_b=0;_b<_y3[_a].length;_b++){_y6+="aI(\""+_y3[_a][_b]+";\");\n"}
	_y6+="}"
}
_d.write("<script>"+_y6.replace(/\n/g,"")+"drawMenus();<\/script>")