_menuCloseDelay=500;
_menuOpenDelay=100;
_subOffsetTop=0;
_subOffsetLeft=0;
with(menuStyle=new mm_style()){
onbgcolor='#1F3B74';
oncolor='#ffffff';
offbgcolor='#D2D5DE';
offcolor='#515151';
bordercolor='#1F3B74';
borderstyle='solid';
borderwidth='1';
separatorcolor='#1F3B74';
separatorsize='1';
padding='2';
fontsize='92%';
fontstyle='normal';
fontfamily='Arial, Verdana, Tahoma';
pagecolor='black';
pagebgcolor='#82B6D7';
headercolor='#000000';
headerbgcolor='#ffffff';
subimage='../_menus/arrow.gif';
subimagepadding='2';
overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=2);"
outfilter="randomdissolve(duration=0.2);"
}
with(milonic=new menuname('Main Menu')){
style=menuStyle;
top=145;
left=44;
alwaysvisible=1;
overflow='scroll';
aI('text=Active;showmenu=Active;');
aI('text=Connectors;showmenu=Connectors;');
aI('text=Electro-Mechanical;showmenu=Electro-Mechanical;');
aI('text=Passive;showmenu=Passive;');
}
with(milonic=new menuname('Active')){
style=menuStyle;
overflow='scroll';
aI('text=Diode;url=javascript:select2ndLevel("Active","Diode");');
aI('text=Diode SMT;url=javascript:select2ndLevel("Active","Diode+SMT");');
aI('text=Frequency;url=javascript:select2ndLevel("Active","Frequency");');
aI('text=Frequency SMT;url=javascript:select2ndLevel("Active","Frequency+SMT");');
aI('text=LCD;url=javascript:select2ndLevel("Active","LCD");');
aI('text=LCD Display;url=javascript:select2ndLevel("Active","LCD+Display");');
aI('text=LED;url=javascript:select2ndLevel("Active","LED");');
aI('text=LED Display;url=javascript:select2ndLevel("Active","LED+Display");');
aI('text=LED SMT;url=javascript:select2ndLevel("Active","LED+SMT");');
aI('text=LIGHT PIPE;url=javascript:select2ndLevel("Active","LIGHT+PIPE");');
aI('text=Motion Sensor;url=javascript:select2ndLevel("Active","Motion+Sensor");');
aI('text=PhotoMOS Relay;url=javascript:select2ndLevel("Active","PhotoMOS+Relay");');
aI('text=PhotoMOS Relay SMT;url=javascript:select2ndLevel("Active","PhotoMOS+Relay+SMT");');
aI('text=Phototransistor;url=javascript:select2ndLevel("Active","Phototransistor");');
aI('text=Thyristor;url=javascript:select2ndLevel("Active","Thyristor");');
aI('text=Transistor;url=javascript:select2ndLevel("Active","Transistor");');
aI('text=Transistor SMT;url=javascript:select2ndLevel("Active","Transistor+SMT");');
}
with(milonic=new menuname('Connectors')){
style=menuStyle;
overflow='scroll';
aI('text=Backplane;url=javascript:select2ndLevel("Connectors","Backplane");');
aI('text=Board To Board;url=javascript:select2ndLevel("Connectors","Board+To+Board");');
aI('text=Board to Board SMT;url=javascript:select2ndLevel("Connectors","Board+to+Board+SMT");');
aI('text=Cable Assembly;url=javascript:select2ndLevel("Connectors","Cable+Assembly");');
aI('text=Cable Connector;url=javascript:select2ndLevel("Connectors","Cable+Connector");');
aI('text=Cable Interface;url=javascript:select2ndLevel("Connectors","Cable+Interface");');
aI('text=Cable Interface Filtered;url=javascript:select2ndLevel("Connectors","Cable+Interface+Filtered");');
aI('text=Cable Interface SMT;url=javascript:select2ndLevel("Connectors","Cable+Interface+SMT");');
aI('text=Card to Board;url=javascript:select2ndLevel("Connectors","Card+to+Board");');
aI('text=Flex To Board;url=javascript:select2ndLevel("Connectors","Flex+To+Board");');
aI('text=Hardware;url=javascript:select2ndLevel("Connectors","Hardware");');
aI('text=High Density;url=javascript:select2ndLevel("Connectors","High+Density");');
aI('text=High Speed;url=javascript:select2ndLevel("Connectors","High+Speed");');
aI('text=IC To Board;url=javascript:select2ndLevel("Connectors","IC+To+Board");');
aI('text=IC To Board SMT;url=javascript:select2ndLevel("Connectors","IC+To+Board+SMT");');
aI('text=Industrial;url=javascript:select2ndLevel("Connectors","Industrial");');
aI('text=Jumpers & Shunts;url=javascript:select2ndLevel("Connectors","Jumpers+%26+Shunts");');
aI('text=Power To Board;url=javascript:select2ndLevel("Connectors","Power+To+Board");');
aI('text=Terminal Block;url=javascript:select2ndLevel("Connectors","Terminal+Block");');
aI('text=Tool;url=javascript:select2ndLevel("Connectors","Tool");');
aI('text=VarPol Header;url=javascript:select2ndLevel("Connectors","VarPol+Header");');
aI('text=Wire Terminals;url=javascript:select2ndLevel("Connectors","Wire+Terminals");');
aI('text=Wire To Board;url=javascript:select2ndLevel("Connectors","Wire+To+Board");');
aI('text=Wire To Wire;url=javascript:select2ndLevel("Connectors","Wire+To+Wire");');
}
with(milonic=new menuname('Electro-Mechanical')){
style=menuStyle;
overflow='scroll';
aI('text=Fan;url=javascript:select2ndLevel("Electro%2DMechanical","Fan");');
aI('text=Heat Sink;url=javascript:select2ndLevel("Electro%2DMechanical","Heat+Sink");');
aI('text=Lamp;url=javascript:select2ndLevel("Electro%2DMechanical","Lamp");');
aI('text=Lamp SMT;url=javascript:select2ndLevel("Electro%2DMechanical","Lamp+SMT");');
aI('text=Power Supply;url=javascript:select2ndLevel("Electro%2DMechanical","Power+Supply");');
aI('text=Relay;url=javascript:select2ndLevel("Electro%2DMechanical","Relay");');
aI('text=Relay SMT;url=javascript:select2ndLevel("Electro%2DMechanical","Relay+SMT");');
aI('text=Relay Socket;url=javascript:select2ndLevel("Electro%2DMechanical","Relay+Socket");');
aI('text=Sensor;url=javascript:select2ndLevel("Electro%2DMechanical","Sensor");');
aI('text=Sensor SMT;url=javascript:select2ndLevel("Electro%2DMechanical","Sensor+SMT");');
aI('text=Switch;url=javascript:select2ndLevel("Electro%2DMechanical","Switch");');
aI('text=Switch SMT;url=javascript:select2ndLevel("Electro%2DMechanical","Switch+SMT");');
}
with(milonic=new menuname('Passive')){
style=menuStyle;
overflow='scroll';
aI('text=Attenuator;url=javascript:select2ndLevel("Passive","Attenuator");');
aI('text=Capacitor;url=javascript:select2ndLevel("Passive","Capacitor");');
aI('text=Capacitor SMT;url=javascript:select2ndLevel("Passive","Capacitor+SMT");');
aI('text=Encoder;url=javascript:select2ndLevel("Passive","Encoder");');
aI('text=Ferrite;url=javascript:select2ndLevel("Passive","Ferrite");');
aI('text=Ferrite SMT;url=javascript:select2ndLevel("Passive","Ferrite+SMT");');
aI('text=Inductor;url=javascript:select2ndLevel("Passive","Inductor");');
aI('text=Inductor SMT;url=javascript:select2ndLevel("Passive","Inductor+SMT");');
aI('text=Potentiometer;url=javascript:select2ndLevel("Passive","Potentiometer");');
aI('text=Potentiometer SMT;url=javascript:select2ndLevel("Passive","Potentiometer+SMT");');
aI('text=Resistors;url=javascript:select2ndLevel("Passive","Resistors");');
aI('text=Resistors SMT;url=javascript:select2ndLevel("Passive","Resistors+SMT");');
}
drawMenus();

