_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 please visit http://www.milonic.com/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0){
  effect1 = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=180, Strength=5)"
  effect2 = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else{
  effect1 = "Shadow(color='#777777', Direction=180, Strength=5)"
  effect2 = "Shadow(color='#777777', Direction=135, Strength=5)"
}

with(menuStyle=new mm_style())
{
  bordercolor    = "black";
  borderstyle    = "solid";
  borderwidth    = 0;
  fontfamily     = "Verdana, Geneva, Arial, helvetica, sans-serif";
  fontsize       = "11px";
  fontstyle      = "normal";
  offbgcolor     = "black";
  offcolor       = "white";
  onbgcolor      = "888888";
  oncolor        = "white";
  padding        = 4;
  separatorcolor = "black";
  separatorwidth = 40;
}

with(milonic=new menuname("Main Menu"))
{
  alwaysvisible = 1;
  menuwidth     = "965px";
  orientation   = "horizontal";
  overfilter    = effect1;
  style         = menuStyle;
  top           = 74;
  aI("type=header;text=Home           	   ;url=/;status=Home;");
  aI("type=header;text=Electrical UL  	   ;showmenu=ElectricalUL;");
  aI("type=header;text=Electrical IEC 	   ;showmenu=ElectricalIEC;");
  aI("type=header;text=Electronics     	   ;showmenu=Electronic;");
  aI("type=header;text=Transportation 	   ;showmenu=Transportation;");
  aI("type=header;text=Wire Management     ;showmenu=WireManagement;");
  aI("type=header;text=Telecom             ;url=http://www.telpoweronline.com");
  aI("type=header;text=Systems & Services  ;showmenu=Services;" );
}

with(milonic=new menuname("ElectricalUL"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Home                             ;status=Home                             ;url=http://www.bussmann.com;");
  aI("text=Product Search &amp; Cross Reference ;status=Product Search &amp; Cross Reference ;url=http://www.bussmann.com/products/search;");
  aI("text=New Products                             ;status=New Products                             ;url=http://www.yellowdogllc.com/bussmann/newproducts.html;");
}

with(milonic=new menuname("ElectricalIEC"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Home                  ;status=Home                   ;url=http://www.bussmann.co.uk;");
  aI("text=Products	             ;status=Products               ;url=http://www.bussmann.co.uk/language_selection.htm;");
  aI("text=Services	             ;status=Services               ;url=http://www.bussmann.co.uk/services.htm;");
  aI("text=Tech Library          ;status=Tech Library           ;url=http://www.bussmann.com/services/eurodist;");  
  aI("text=European Distributors ;status=European Distributors  ;url=http://www.bussmann.co.uk/technical.htm;");
  aI("text=Links                 ;status=Links                  ;url=http://www.bussmann.co.uk/links.htm;");
  aI("text=FAQ                   ;status=FAQ                    ;url=http://www.bussmann.co.uk/faq.htm;");
  aI("text=News                  ;status=News                   ;url=http://www.bussmann.co.uk/current_news_and_press_releases.htm;");
}

with(milonic=new menuname("Electronic"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Home             ;status=CET Home         ;url=http://www.cooperet.com;");
  aI("text=Cross Reference  ;status=Cross Reference  ;url=http://www.cooperet.com/products/xref;");
  aI("text=Custom Magnetics ;status=Custom Magnetics ;url=http://www.cooperet.com/request/custom.cfm;");
  aI("text=Catalogs/Samples ;status=Catalogs/Samples ;url=http://www.cooperet.com/request;");
  aI("text=Quotes           ;status=Quotes           ;url=http://www.cooperet.com/partners/salesreps.cfm;");  
}

with(milonic=new menuname("Transportation"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Home                                 ;status=Home                                 ;url=http://www.bussauto.com;");
  aI("text=Product Search &amp; Cross Reference ;status=Product Search &amp; Cross Reference ;url=http://www.bussauto.com/products/search;");
  aI("text=Distributors/Reps                    ;status=F-Bay Calculator                     ;url=http://www.bussauto.com/distributors;");
}

with(milonic=new menuname("WireManagement"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Home                                 ;status=Home                                 ;url=http://www.magnumtb.com;");
  aI("text=Product Search &amp; Cross Reference ;status=Product Search &amp; Cross Reference ;url=http://www.magnumtb.com/products/search;");
  aI("text=Distributors/Reps                    ;status=Distributors/Reps                    ;url=http://www.magnumtb.com/distributors");
  aI("text=Check Stock                          ;status=Check Stock                          ;url= http://www.magnumtb.com/stock;");
}

with(milonic=new menuname("Services"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Cooper InVision downtime reduction system;status=Cooper InVision downtime reduction system;url=http://www.cooperbussmann.com/invision;");
  aI("text=Cooper Bussmann Services;status=Cooper Bussmann Services;url=http://www.bussmann.com/services;");
  aI("type=header;text=Engineering;showmenu=Engineering;url=http://www.bussmann.com/services/#Engineering;");
  aI("text=Training; status=Training;url=http://www.bussmann.com/services/#Training;");
  aI("text=Testing; status=Testing;url=http://www.bussmann.com/services/#Testing;");
  aI("text=Productivity Protector Program; status=Productivity Protector Program;url=http://www.bussmann.com/services/ppp.asp;");
}
with(milonic=new menuname("Engineering"))
{
  overfilter = effect2;
  style      = menuStyle;
  aI("text=Arc-Flash Calculator;status=Arc-Flash Calculator;url=http://www.bussmann.com/apen/arcflash/popups/notes.asp;");
  aI("text=OSCAR&#153; Compliance Software; status= OSCAR&#153; Compliance Software;url=http://www.cooperbussmann.com/SCCR;");
}

drawMenus();
