_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=0              // Sub menu top offset
_subOffsetLeft=+3            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

//*----------------------------------------------
//*  MENU STYLE for MAIN HORIZONTAL MENU
//*----------------------------------------------
with(menuStyle=new mm_style()){
onbgcolor="#024E86";  
oncolor="#FFFFFF";
offbgcolor="#FFFF00";     
offcolor="#333333";
//onborder="1px solid #000000";
bordercolor="#666666";
borderstyle="solid";
borderwidth=1;
separatorcolor="#027426";
separatorsize="1";
padding=1;
//padding="3,7,3,7";  //* top, right, bottom, left
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#000000";
pagebgcolor="#FFFFCC";
pageborder="1 px solid #043914";  //* Doesn't appear to work on the main menu bar
headercolor="#000000";
headerbgcolor="#FFFFFF";
subimage="assets/arrow.gif";
onsubimage="assets/arrow-wht.gif";
subimagepadding="2";
subimagepadding="0,2,0,0";  //* top, right, bottom, left
//offbgcolor="transparent";
//overfilter="Fade(duration=0.2);Alpha(opacity=99);Shadow(color='#AAAAAA', Direction=180, Strength=3)";
//outfilter="randomdissolve(duration=0.3)";
}

//*----------------------------------------------
//*  STYLE for all SUB Menus
//*----------------------------------------------
with(subMenuStyle=new mm_style()){
onbgcolor="#B2BED6";	 
oncolor="#000000";		 
offbgcolor="#6E86B2";  
offcolor="#FFFFFF";		 
bordercolor="#666666";	 
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";	 
separatorsize="1";
padding=4;
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#EEEEEE";	 
pagebgcolor="#0A97BD";	//* 
pageborder="1px solid #C5E0CF";
headercolor="#FFFFCC";		 
headerbgcolor="#024E86";  ;
subimage= "assets/arrow.gif";
subimagepadding="0px 2px 0px 3px";  //* top, right, bottom, left
//subimageposition = "top";
overfilter="Fade(duration=0.2);Alpha(opacity=99);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
//*----------------------------------------------
//*  STYLE for FLOATING "TOP"  
//*----------------------------------------------
with(menuStyleTop=new mm_style()){
onbgcolor="#0A4696";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#515151";
bordercolor="#DDDDDD";
borderstyle="solid";
borderwidth=1;
separatorcolor="#FFB578";
separatorstyle="solid";
separatorsize="1";
padding=0;
fontSize="8px";
fontstyle="normal";
fontfamily="Arial, Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#FFEFDF";
}
//*----------------------------------------------
//*  MENU STYLE for POPUPS - PRINT
//*----------------------------------------------
with(menuStylePOPUP=new mm_style()){
onbgcolor="#E8EFF5";
oncolor="#000000";
offbgcolor="#E8EFF5";
offcolor="#000000";
bordercolor="#296488";
borderstyle="solid";
borderwidth=1;
separatorcolor="#2D729D";
separatorsize="1";
padding=5;
fontsize="11px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#FFD400";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
 
//*----------------------------------------------
//*  MAIN HORIZONTAL MENU 
//*----------------------------------------------
with(milonic=new menuname("route")){
style=menuStyle;
//menuwidth=20;
itemheight=18;
top=178;
left="offset=-285";  
//left="offset=-299";  
//if (ie55 == false) left="offset=-299"; 	
screenposition="center"; 
followscroll="yes";
// position="relative"; 
alwaysvisible=1;
orientation="vertical";
aI("text=&nbsp;<b>MENU</b>&nbsp;itemlength=20;showmenu=themenu;");
//aI("text=&nbsp;&nbsp;Top&nbsp;&nbsp;url=#top;itemlenth=20;");
 
}

//*----------------------------------------------
//*  Top of Page Floating Menu for Certain Pages
//*---------------------------------------------- 
	with(milonic=new menuname("top")){
	style=menuStyleTop;
	menuwidth=10;
	itemheight=6;
	left="offset=294";  
	if (ie55 == false) left="offset=284"; 	
	screenposition="bottom, center"; 
	top="offset=-1";
	followscroll=1;
//	followscroll="0,40,5"
	alwaysvisible=1;
	orientation="horizontal";
	aI("text=&nbsp;Top&nbsp;url=#top");
	}
 
//*----------------------------------------------
//*  POPUP Box for Printer Icon
//*----------------------------------------------
with(milonic=new menuname("print")){
style=menuStylePOPUP; 
left="offset=-250"; 
if (ie55 == false) left="offset=-400"; 

itemwidth=232; 
top=-70;
aI("text=<img src='assets/icon-printer.gif' width='16' height='14' border='0' align='absmiddle'> <b>Print Newsletter</b>;type=header;align=center;");
aI("text=Click on the printer icon to print the <b>entire issue</b>.");
aI("text=To print an <b>individual article</b>, highlight the text first, click on the printer icon, and choose 'Selection' in the Print Range section of the print dialogue.<br><br><img src='assets/print-range.gif' width='222' height='110' border='0' align='absmiddle'>");
} 

//*----------------------------------------------
//*  POPUP Box for Optout Icon
//*----------------------------------------------
with(milonic=new menuname("optout")){
style=menuStylePOPUP; 
left="offset=-200"; 
if (ie55 == false) left="offset=-350"; 

itemwidth=200; 
top=-70;
aI("text=<b>Opt Out of <i>Route</i> Mailings</b>;type=header;align=center;");
aI("text=Click on the Opt Out button to be removed from the mailing list for the <i>Route</i> newsletter.");
} 

drawMenus();
 
