////////////////////////////////
// GENERAL MILONIC VARIABLES: //
////////////////////////////////

_scrollAmount=5      // Used for Netscape 4 scrolling
_scrollDelay=10      // Used for Netscape 4 scrolling
_menuCloseDelay=500  // The delay for menus to remain visible on mouse off
_menuOpenDelay=150   // The delay for opening menus on mouse over
_subOffsetTop=0;     // Sub menu offset Top position
_subOffsetLeft=0;    // Sub menu offset Left position
Goverfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
Goutfilter="randomdissolve(duration=0.3)"
Goutfilter=""
Goverfilter=""
AllMargin=0
treeOffset=0;  // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to only have one menu open at a time

///////////////////////
// TOP MENU STYLES   //
///////////////////////

with(styleTop1=new mm_style()){
  offcolor = "#ffffff";     //  Font color for header navigation
  fontweight = "bold";      //  
  onbgcolor = "#f0f0f0";
  oncolor = "#550016";   //  Maroon roll-over color for header drop-down
  offbgcolor="#FF2233";     //  Blue category color 
  //ondecoration="underline";
  borderstyle = "solid";
  pagebgcolor = "#cccccc";
  pagecolor = "#550016";
  //pagebgcolor = "#cccccc";
  padding ="2px 8px 2px 2px";
  fontsize = "10px";
  fontfamily = "Verdana, Geneva, Arial, Helvetica, sans-serif";    
  //subimageposition="top left" ;
}

var styleTop2=new copyOf(styleTop1)
styleTop2.offcolor = "#185665";  //  Green color text for header drop-down
styleTop2.fontweight = "normal";
styleTop2.onbgcolor="#550016";
styleTop2.oncolor="#ffffff";
styleTop2.offbgcolor="#ffffff";  //  White background color for header drop-down 
styleTop2.pagebgcolor="#ffffff";
styleTop2.pagecolor="#550016";


///////////////////////////////////////////
// INVOKE THESE FUNCTIONS FROM THE HTML  //
// THAT NEEDS THEM:                      //
///////////////////////////////////////////

function drawTopMenu(){
  var mainMenu=new menuname("TOP");
  mainMenu.style = styleTop1;
  mainMenu.alwaysvisible=1;
  mainMenu.orientation="horizontal";
  mainMenu.position="relative";
  mainMenu.menuwidth="700px";
  mainMenu.menualign="center";
  //LCRATopMenu is defined in MenuUtils.js
  var m=new LCRATopMenu(
    mainMenu, myMenuItems, [styleTop1, styleTop2]
  );  
  m.startBelow=myMenuItems[0].url;
  m.makeMenus();
}
function drawLeftMenu(currPage){
  //LCRALeftMenu is defined in MenuUtils.js
  var leftMenu=new LCRALeftMenu(myMenuItems);
  leftMenu.startBelow=myMenuItems[0].url;
  leftMenu.currPage=currPage;
  leftMenu.itemStyles=["LeftMenuL1","LeftMenuL2","LeftMenuL3","LeftMenuL4","LeftMenuL5"];
  leftMenu.parentStyles=["LeftMenuL1Parent","LeftMenuL2Parent","LeftMenuL3Parent","LeftMenuL4Parent","LeftMenuL5Parent"];
  leftMenu.selectedItemStyles=["LeftMenuSelected","LeftMenuSelected","LeftMenuSelected","LeftMenuSelected","LeftMenuSelected"]; 
  leftMenu.warnOnNoSelection=false;
  leftMenu.drawMenu();
}
