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())
{
    bordercolor="#999999";
    borderstyle="solid";
    borderwidth=1;
    fontfamily="Arial, Helvetica, sans-serif";
    fontsize="12px";
    fontstyle="normal";
    headerbgcolor="#ffffff";
    headercolor="#000000";
    offbgcolor="#eeeeee";
    offcolor="#000000";
    onbgcolor="#87cefa"; 
    oncolor="#000099";
    outfilter="randomdissolve(duration=0.3)";
    overfilter="Fade(duration=0.2);Alpha(opacity=100);";
    padding=4;
    pagebgcolor="#eeeeee";
    pagecolor="black";
    separatorcolor="#999999";
    separatorsize=1;
    subimage="menu/down2.gif";
    subimagepadding=2;
}

//with(milonic=new menuname("Main Menu"))
//{
///* Draw Main Menu all Tab */    
//    alwaysvisible=1;
//    position="relative"; 
//    orientation="horizontal";
//    style=menuStyle; 
//    aI("text=HOME ;url=Home.aspx");
//    aI("text=CARD MANAGEMENT;showmenu=CARD DYNAMIC;");
//    //aI("text=CARD MANAGEMENT;showmenu=CARD MANAGEMENT;");
//    aI("text=REPORT ;showmenu=REPORT;");
//    aI("text=ADMINISTRATION TOOLS ;showmenu=ADMINISTRATION TOOLS;");
//    aI("text=LOGOUT ;url=Login.aspx?logout=y");
//}

//with(milonic=new menuname("CARD MANAGEMENT"))
//{
//    overflow="scroll";
//    style=menuStyle;
//    style.subimage="menu/right1.gif";    
//    aI("text= EQUIPMENT ;showmenu=EQUIPMENT;");
//    aI("text= PEOPLE ;showmenu=PEOPLE;");      
//}  

//    with (milonic=new menuname("EQUIPMENT"))
//    {
//      style=menuStyle;
//      aI("text=ENTER NEW CARD; showmenu=Enter New Card;url=InsertEquipment.aspx;");
//      aI("text=SEARCH; showmenu=Search ;url=SearchEquipment.aspx?mode=search;");      
//    }  

//    with (milonic=new menuname("PEOPLE"))
//    {
//      style=menuStyle;
//      aI("text=ENTER NEW CARD; showmenu=Enter New Card ;url=InsertPeople.aspx;");
//      aI("text=SEARCH; showmenu=Search ;url=SearchPeople.aspx?mode=search;");   
//    }  
     
//with(milonic=new menuname("REPORT"))
//{
//    style=menuStyle;
//    aI("text=EQUIPMENT ;url=SearchEquipment.aspx?mode=report;"); 
//    aI("text=PEOPLE ;url=SearchPeople.aspx?mode=report;"); 
//}

//with(milonic=new menuname("ADMINISTRATION TOOLS"))
//{
//    style=menuStyle;
//    aI("text=USER SETTING ;url=ViewUser.aspx;");
//    //aI("text=LOCATION SETTING ;url=ViewLocation.aspx;");
//    aI("text=DEPARTMENT SETTING ;url=ViewDepartment.aspx;");
//    aI("text=SEND DATA TO HQ ;url=ImportExport.aspx;");
//}

//drawMenus();
