fixMozillaZIndex=true; 	//Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=0;	// The time delay for menus to remain visible on mouse out
_menuOpenDelay=0;		// The time delay before menus open on mouse over
_subOffsetTop=0;		// Sub menu top offset
_subOffsetLeft=0;		// Sub menu left offset


with(subStyle=new mm_style()){
bordercolor="#4CB3B1";
borderstyle="solid";
borderwidth=2;
fontfamily="Helvetica, Tahoma, Arial";
fontsize="75%";
fontstyle="normal";
headerbgcolor="#00928F";
headercolor="#000000";
offbgcolor="#80c8c7";
offcolor="#000000";
onbgcolor="#80c8c7";
oncolor="#000099";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=0;
pagebgcolor="#00928F";
pagecolor="black";
separatorcolor="#4CB3B1";
separatorsize=2;
subimage="arrow.gif";
subimagepadding=2;
}

with(milonic=new menuname("sub1")){
style=subStyle;
left=-1;
aI("image=menu/menu2a.gif;overimage=menu/menu2a_over.gif;url=page2a.html;");
aI("image=menu/menu2b.gif;overimage=menu/menu2b_over.gif;url=page2b.html;");
aI("image=menu/menu2c.gif;overimage=menu/menu2c_over.gif;url=page2c.html;");
aI("image=menu/menu2d.gif;overimage=menu/menu2d_over.gif;url=page2d.html;");
aI("image=menu/menu2e.gif;overimage=menu/menu2e_over.gif;url=page2e.html;");
aI("image=menu/menu2f.gif;overimage=menu/menu2f_over.gif;url=page2f.html;");
}


with(milonic=new menuname("sub2")){
style=subStyle;
left=-1;
aI("image=menu/menu5a.gif;overimage=menu/menu5a_over.gif;url=page5a.html;");
aI("image=menu/menu5b.gif;overimage=menu/menu5b_over.gif;url=page5b.html;");
}




drawMenus();


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
