_menuCloseDelay = 500;          // The time delay for menus to remain visible on mouse out
_menuOpenDelay  = 150;          // The time delay before menus open on mouse over
_subOffsetTop   =   2;
_subOffsetLeft  =  -2;

// Special effect string for IE5.5 or above
if(navigator.appVersion.indexOf("MSIE 6.0") > 0)
{
  effect1 = "Fade(duration=0.2);Alpha(style=0,opacity=88)"
  effect2 = "Fade(duration=0.2);Alpha(style=0,opacity=88)"
}
else
{
  effect1 = ""
  effect2 = ""
}

with(menuStyle=new mm_style())
{
  bordercolor    = "#000000";
  borderstyle    = "solid";
  borderwidth    = 0;
  fontfamily     = "Verdana, Geneva, Arial, helvetica, sans-serif";
  fontsize       = "11px";
  fontstyle      = "normal";
  offbgcolor     = "#000000";
  offcolor       = "#ffffff";
  onbgcolor      = "#888888";
  oncolor        = "#ffffff";
  padding        = 4;
  separatorcolor = "#000000";
  separatorwidth = 30;
}

with(menuStyleSub=new mm_style())
{
  bordercolor    = "#000000";
  borderstyle    = "solid";
  borderwidth    = 0;
  fontfamily     = "Verdana, Geneva, Arial, helvetica, sans-serif";
  fontsize       = "11px";
  fontstyle      = "normal";
  offbgcolor     = "#000000";
  offcolor       = "#ffffff";
  onbgcolor      = "#888888";
  oncolor        = "#ffffff";
  padding        = 4;
  separatorcolor = "#000000";
  separatorwidth = 30;
}

with(milonic=new menuname("Main Menu"))
{
  alwaysvisible = 1;
  menuwidth     = "965";
  orientation   = "horizontal";
  overfilter    = effect1;
  style         = menuStyle;
  top           = 52;
  aI("type=header;text=Customers         ;showmenu=Customers;");
  aI("type=header;text=Purchase Products ;showmenu=PurchaseProducts;");
  aI("type=header;text=Resources         ;showmenu=Resources;");
  aI("type=header;text=Brands            ;showmenu=Brands;");
  aI("type=header;text=Solutions         ;showmenu=Solutions;");
  aI("type=header;text=Source            ;showmenu=Source;");
  aI("type=header;text=Company           ;showmenu=Company;");
  aI("type=header;text=Global Markets/Mercados Globales ;url=http://www.cooperlighting.com/international;status=International;");
  aI("type=header;text=&nbsp;&nbsp;");
}

with(milonic=new menuname("Customers"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=Agents                   ;status=Agents                  ;url=http://www.cooperlighting.com/content/customers/agents.cfm;");
  aI("text=Contractors              ;status=Contractors             ;url=http://www.cooperlighting.com/content/customers/contractors.cfm;");
  aI("text=Distributor Log In       ;status=Distributor Log In      ;url=http://www.cooperc3.com;");
  aI("text=Distributors<br>Off The Shelf;status=Distributors Off The Shelf;url=http://www.cooperlighting.com/offTheShelf;");
  aI("text=Suppliers                ;status=Suppliers               ;url=http://www.cooperlighting.com/content/suppliers/index.cfm;");
  aI("text=Residential              ;status=Residential             ;url=http://www.cooperlighting.com/content/customers/residential.cfm;");
  aI("text=Specifiers               ;status=Specifiers              ;url=http://www.cooperlighting.com/content/customers/specifiers.cfm;");
}

with(milonic=new menuname("PurchaseProducts"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=Stock Guide              ;status=Stock Guide             ;url=http://www.cooperlighting.com/documents/stockGuide/StockGuide.pdf;target='blank';");
  aI("text=Quick Ship               ;status=Quick Ship              ;url=http://www.cooperlighting.com/content/where_to_purchase/quickShip.cfm;");
  aI("text=Where To Purchase        ;status=Where To Purchase       ;url=http://www.cooperlighting.com/content/where_to_purchase/where_to_purchase.asp;");
  aI("text=National Accounts        ;status=National Accounts       ;url=http://www.cooperlighting.com/content/where_to_purchase/national_accounts.cfm;");
  aI("text=National Request         ;status=National Request        ;url=http://www.cooperlighting.com/content/where_to_purchase/national_request.asp;");
  aI("text=International Request    ;status=International Request   ;url=http://www.cooperlighting.com/common/brands.cfm?pg=Contacts&brand=International;");
}

with(milonic=new menuname("Resources"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=Application Gallery      ;status=Application Gallery     ;url=http://www.cooperlighting.com/content/design/appgallery.cfm;");
  aI("text=eTools &amp; Downloads   ;status=eTools &amp; Downloads  ;url=http://www.cooperlighting.com/content/design/etools.cfm;");
  aI("text=eLearning                ;status=eLearning               ;url=http://www.cooperlighting.com/content/source/elearning.cfm;");
  aI("text=Literature               ;status=Literature              ;url=http://www.cooperlighting.com/content/design/literature.cfm;");
  aI("text=Easy Selection Guide     ;status=Easy Selection Guide    ;url=http://www.cooperlighting.com/content/design/easy_selection_guide/easy_selection_guide1.cfm;");
}

with(milonic=new menuname("Brands"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=Ametrix          ;status=Ametrix          ;url=http://www.ametrixlighting.com;");
  aI("text=AtLite           ;status=AtLite           ;url=http://www.atlite-lighting.com;");
  aI("text=Consumer Products;status=Consumer Products;url=http://www.cooperlighting.com/consumerProducts/mightdlight.cfm;");
  aI("text=Corelite         ;status=Corelite         ;url=http://www.corelite.com;");
  aI("text=Fail-Safe        ;status=Fail-Safe        ;url=http://www.failsafe-lighting.com;");
  aI("text=Halo             ;status=Halo             ;url=http://www.haloltg.com;");
  aI("text=InVUE            ;status=InVUE            ;url=http://www.invuelighting.com;");
  aI("text=IO LED           ;status=IO LED           ;url=http://www.iolighting.com;");
  aI("text=Iris             ;status=Iris             ;url=http://www.iris-lighting.com;");
  aI("text=Lumark           ;status=Lumark           ;url=http://www.lumark-lighting.com;");
  aI("text=Lumiere          ;status=Lumiere          ;url=http://www.lumiere-lighting.com;");
  aI("text=McGraw-Edison    ;status=McGraw-Edison    ;url=http://www.mcgraw-edison.com;");
  aI("text=Metalux          ;status=Metalux          ;url=http://www.metalux-lighting.com;");
  aI("text=MWS              ;status=MWS              ;url=http://www.mws-lighting.com;");
  aI("text=Neo-Ray          ;status=Neo-Ray          ;url=http://www.neoray-lighting.com;");
  aI("text=PDS              ;status=PDS              ;url=http://www.cooperlighting.com/pds;");
  aI("text=Portfolio        ;status=Portfolio        ;url=http://www.portfolio-lighting.com;");
  aI("text=RSA              ;status=RSA              ;url=http://www.rsalighting.com;");
  aI("text=Shaper           ;status=Shaper           ;url=http://www.shaperlighting.com;");
  aI("text=Streetworks      ;status=Streetworks      ;url=http://www.streetworkslighting.com;");
  aI("text=Sure-Lites       ;status=Sure-Lites       ;url=http://www.surelites-lighting.com;");
}

with(milonic=new menuname("Solutions"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=ARRA                     ;status=ARRA                    ;url=http://www.cooperindustries.com/markets/stimulus;target='blank';");
  aI("text=Automotive               ;status=Automotive              ;url=http://www.cooperlighting.com/automotive;");
//aI("text=ECON                     ;status=ECON                    ;url=http://www.cooperlighting.com/econ;");
  aI("text=Energy                   ;status=Energy                  ;url=http://www.cooperenergysolutions.com;");
  aI("text=Health Care              ;status=HealthCare              ;url=http://www.cooperlighting.com/healthcare;");
  aI("text=LED                      ;status=LED                     ;url=http://www.cooperlighting.com/led;");
  aI("text=Residential              ;status=Residential             ;url=http://www.cooperlighting.com/content/solutions/residential.cfm;");
  aI("text=Fluorescent              ;status=Fluorescent             ;url=http://www.cooperlighting.com/content/solutions/fluorescent.cfm;");
  aI("text=Recessed                 ;status=Recessed                ;url=http://www.cooperlighting.com/content/solutions/recessed.cfm;");
  aI("text=Surface                  ;status=Surface                 ;url=http://www.cooperlighting.com/content/solutions/surface.cfm;");
}

with(milonic=new menuname("Source"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=The Source               ;status=The Source              ;url=http://www.cooperlighting.com/content/source/source_overview.cfm;");
  aI("text=Source Awards            ;status=Source Awards           ;url=http://www.cooperlighting.com/content/source/awards.cfm;");
  aI("text=eLearning                ;status=eLearning               ;url=http://www.cooperlighting.com/content/source/elearning.cfm;");
  aI("text=Course Calendar          ;status=Course Calendar         ;url=http://www.cooperlighting.com/common/CLSourceCalendar.cfm;");
  aI("text=Cooper Lighting Staff    ;status=Cooper Lighting Staff   ;url=http://www.cooperlighting.com/content/source/cooper_lighting_staff.cfm;");
  aI("text=Articles                 ;status=Articles                ;url=http://www.cooperlighting.com/content/source/articles.cfm;");
  aI("text=Seminar Accreditation    ;status=Seminar Accreditation   ;url=http://www.cooperlighting.com/content/source/accreditation.cfm;");
}

with(milonic=new menuname("Company"))
{
  overfilter = effect2;
  style      = menuStyle;
  top        = "offset=1";
  aI("text=About Cooper Lighting    ;status=About Cooper Lighting   ;url=http://www.cooperlighting.com/content/company/about_cooper_lighting.cfm;");
  aI("text=Advertising              ;status=Advertising             ;url=http://www.cooperlighting.com/ads/index.cfm;");
  aI("type=header;text=Terms and Conditions;showmenu=TermsAndConditions;");
  aI("text=Customer First Center    ;status=Customer First Center   ;url=http://www.cooperlighting.com/content/company/customer_first_center.cfm;");
  aI("text=History                  ;status=History                 ;url=http://www.cooperlighting.com/content/company/history.cfm;");
  aI("text=Trade Shows              ;status=Trade Shows             ;url=http://www.cooperlighting.com/content/company/trade_shows.cfm;");
  aI("text=Press Releases           ;status=Press Releases          ;url=http://www.cooperlighting.com/content/company/pressReleases.cfm;");
  aI("text=Premium Store            ;status=Premium Store           ;url=http://lighting.cooperpremiums.com/simplemerce/store.jsp?cid=4342&pcid=4342&vid=20060614003;");
  aI("text=In-Lighten Newsletter    ;status=In-Lighten Newsletter   ;url=http://www.cooperlighting.com/content/company/inlighten.cfm;");
}

with(milonic=new menuname("TermsAndConditions"))
{
  overfilter = effect2;
  style      = menuStyleSub;
  top        = "offset=-2";
  left       = "offset=4";
  aI("text=Domestic;status=Domestic;url=http://www.cooperlighting.com/documents/termsAndConditions/TermsAndConditions_Domestic.pdf;");
  aI("text=Canadian;status=Canadian;url=http://www.cooperlighting.com/documents/termsAndConditions/TermsAndConditions_Canadian.pdf;");
  aI("text=International;status=International;url=http://www.cooperlighting.com/documents/termsAndConditions/TermsAndConditions_International.pdf;");
}

drawMenus();
