fixMozillaZIndex=true;        //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=200           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=200            // The time delay before menus open on mouse over
_subOffsetTop=0               // Sub menu top offset
_subOffsetLeft=20             // Sub menu left offset



with(MainMenuStyle=new mm_style()){
itemheight=40;
itemwidth=119;
oncolor="#801F1B";
offcolor="#FFFFFF";
fontsize=9;
fontstyle="normal"; 
fontweight="bold";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
align="center";
bgimage="/images/bg_m.jpg";
overbgimage="/images/bg_m_f2.jpg";
pagebgimage="/images/bg_m_f2.jpg";
pagecolor="#FFFFFF";
}

with(SubMenuStyle=new mm_style()){
itemheight=26;
//itemwidth=117;
itemwidth=145;
onbgcolor="#767774";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#2B2E27";
pagebgcolor="#EEEEEE";
pagecolor="#7A7978";
bordercolor="#D7D7D6";
borderstyle="solid";
borderwidth=1;
separatorcolor="#D7D7D6";
separatorsize="1";
//separatorwidth=117;
separatorwidth=145;
separatoralign="center";
fontsize=9;
fontstyle="normal";
fontfamily="Verdana, Arial, Helvetica, sans-serif";
padding=0;
image="/images/p_sm.jpg";
overimage="/images/p_sm_f2.jpg";
pageimage="/images/p_sm_page.jpg";
imagepadding="5";
subimage="/images/p_sm.jpg";
onsubimage="/images/p_sm_f2.jpg";
pagesubimage="/images/p_sm_page.jpg";
subimagepadding="5";
overfilter="Shadow(color='#777777', Direction=135, Strength=2)";
}

with(dmenu=new menuname("SubIdentrace")){
style=SubMenuStyle;
aI("url=/identrace/about-identrace.html;text=What is IDENTRACE;");
aI("url=/identrace/intelligent-video-surveillance.html;text=Intelligent surveillance;");
aI("url=/identrace/video-content-analysis.html;text=Video analytics;");
aI("url=/identrace/multi-layer-intelligence.html;text=Multi-layer intelligence;");
aI("url=/identrace/features.html;text=Features;");
aI("url=/identrace/application-areas.html;text=Application areas;");
aI("url=/identrace/novelties.html;text=Novelties;");
}

with(dmenu=new menuname("SubProducts")){
style=SubMenuStyle;
aI("url=/products/overview.html;text=Products overview;");
aI("url=/products/object-tracking-station.html;text=Object Tracking Station;");
aI("url=/products/site-wide-object-tracking-server.html;text=Site Wide Object Tracking Server;");
aI("url=/products/3d-world-model-server.html;text=3D World Model Server;");
aI("url=/products/remote-identification-server.html;text=Remote Identification Server;");
aI("url=/products/cubea.html;text=CUBEA - Customer Behavior Analysis;");
aI("url=/products/licensing-options.html;text=Licensing options;");
aI("url=/products/demonstration-videos.html;text=Demonstration videos;");
}

with(dmenu=new menuname("SubServices")){
style=SubMenuStyle;
//aI("url=/services/overview.html;text=Services overview;");
aI("url=/services/deployment.html;text=Deployment;");
aI("url=/services/customization.html;text=Customization;");
aI("url=/services/integration.html;text=Integration;");
aI("url=/services/custom-development.html;text=Custom development;");
}

with(dmenu=new menuname("SubCustomers")){
style=SubMenuStyle;
//aI("url=/customers/overview.html;text=Customers overview;");
aI("url=/customers/end-users.html;text=End users;");
aI("url=/customers/distributors.html;text=Distributors;");
aI("url=/customers/integrators.html;text=Integrators;");
aI("url=/customers/investors.html;text=Investors;");
//aI("url=/customers/downloads.html;text=Downloads;");
}

with(dmenu=new menuname("SubTechnology")){
style=SubMenuStyle;
//aI("url=/technology/overview.html;text=Technology overview;");
aI("url=/technology/basic-technologies.html;text=Basic technologies;");
aI("url=/technology/identity-tracking.html;text=Identity tracking;");
aI("url=/technology/cart-tracking.html;text=Shopping cart tracking;");
aI("url=/technology/remote-identification.html;text=Remote identification;");
aI("url=/technology/3d-world-modelling.html;text=3D world modelling;");
aI("url=/technology/virtual-zones.html;text=Virtual zones;");
aI("url=/technology/recognition-of-suspicious-activities.html;text=Recognition of suspicious activities;");
}

with(dmenu=new menuname("SubAboutUs")){
style=SubMenuStyle;
aI("url=/about-us/news-and-events.html;text=News & Events;");
aI("url=/about-us/company-profile.html;text=Company profile;");
aI("url=/about-us/research-background.html;text=Research background;");
aI("url=/about-us/career.html;text=Career;");
aI("url=/about-us/contacts.html;text=Contacts;");
}

drawMenus();
