/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=182 
oCMenu.fromTop=3   
oCMenu.rows=1 
oCMenu.menuPlacement="left"

oCMenu.openOnClick=1                                                            
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=700 
oCMenu.fillImg="/lib/images/cm_fill.gif"
oCMenu.zIndex=500

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth=640
oCMenu.barHeight=24
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=6
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=185
oCMenu.level[0].height=24 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=8
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=185
oCMenu.level[1].height=17
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-50
oCMenu.level[1].offsetY=1
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow=""
oCMenu.level[1].arrowWidth=13
oCMenu.level[1].arrowHeight=9
oCMenu.zIndex[1]=200

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=185
oCMenu.level[2].height=17
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].align="right"
oCMenu.level[2].offsetX=-20
oCMenu.level[2].offsetY=1
oCMenu.level[2].borderClass="clLevel2border"
oCMenu.level[2].arrow=""
oCMenu.level[2].arrowWidth=13
oCMenu.level[2].arrowHeight=9
oCMenu.zIndex[2]=200

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

/* PRODUCTS */
oCMenu.makeMenu('top1','','Products','','','77','','','')
	oCMenu.makeMenu('sub100','top1','> Product Directory','/products/','','210')
	oCMenu.makeMenu('sub101','top1','+ Open & Reversing Contactors','#','','210')
		oCMenu.makeMenu('sub10100','sub101','> Overview','/products/contactors/','','190')
		oCMenu.makeMenu('sub10101','sub101','> CA7 Contactors to 60HP','/products/contactors/ca7/','','190')
		oCMenu.makeMenu('sub10102','sub101','> CA6 Contactors 60 to 700HP','/products/contactors/ca6/','','190')
		oCMenu.makeMenu('sub10103','sub101','> CA5 Contactors to 900HP','/products/contactors/ca5/','','190')
		oCMenu.makeMenu('sub10104','sub101','> CA8 Contactors to 7.5HP','/products/contactors/ca8/','','190')
		oCMenu.makeMenu('sub10105','sub101','> CDP Definite Purpose','/products/contactors/cdp/','','190')
		oCMenu.makeMenu('sub10106','sub101','+ Obsolete','#','','190')
			oCMenu.makeMenu('sub1010600','sub10106','> CA4 Contactors to 7 1/2 HP','/products/contactors/ca4/','','190')
		
		
	oCMenu.makeMenu('sub102','top1','+ Motor Protection','#','','210')
		oCMenu.makeMenu('sub10200','sub102','> CEP7 Solid State OL Relays/2nd Generation','/products/motorprotection/cep7gen2/','','275')
		oCMenu.makeMenu('sub10201','sub102','> CT7N Bimetallic Overload Relays','/products/motorprotection/ct7n/','','275')
		oCMenu.makeMenu('sub10202','sub102','> CT8 Thermal Overload Relays','/products/motorprotection/ct8/','','275')
		oCMenu.makeMenu('sub10203','sub102','> RT7 Thermistor Relays','/products/motorprotection/rt7/','','275')
		oCMenu.makeMenu('sub10204','sub102','+ Obsolete','#','','275')
			oCMenu.makeMenu('sub1020400','sub10204','> CEP7 Solid State OL Relays/1st Generation','/products/motorprotection/cep7gen1/','','275')
			oCMenu.makeMenu('sub1020401','sub10204','> CT7 Thermal Overload Relays','/products/motorprotection/ct7/','','275')
			oCMenu.makeMenu('sub1020402','sub10204','> CT7K Thermal Overload Relays','/products/motorprotection/ct7kct4/','','275')
			oCMenu.makeMenu('sub1020403','sub10204','> CEF1 Electronic Motor Protection','/products/motorprotection/cef1/','','275')
			
	oCMenu.makeMenu('sub103','top1','+ Starters & Enclosed Products','#','','210')
		oCMenu.makeMenu('sub10300','sub103','> Overview','/products/starters/','','255')
		oCMenu.makeMenu('sub10301','sub103','> KWIKstarters','/products/starters/kwikstarters/','','255')
		oCMenu.makeMenu('sub10302','sub103','> Enclosed Contactors','/products/starters/enclosedcontactors/','','255')
		oCMenu.makeMenu('sub10303','sub103','> Open & Enclosed Magnetic Motor Starters','/products/starters/magneticstarter/','','255')
		oCMenu.makeMenu('sub10304','sub103','> Combination Starters - Through the Door ','/products/starters/door/','','255')
		oCMenu.makeMenu('sub10305','sub103','> Combination Starters - Flange','/products/starters/flange/','','255')
		oCMenu.makeMenu('sub10306','sub103','> Explosion-Proof Starters','/products/starters/explosionproof/','','255')
		oCMenu.makeMenu('sub10307','sub103','> Multi-Speed Starters','/products/starters/multispeed/','','255')
		oCMenu.makeMenu('sub10308','sub103','> Reduced Voltage Starters','/products/starters/reducedvoltage/','','255')
		oCMenu.makeMenu('sub10309','sub103','> Simplex Pump Controllers','/products/starters/simplex/','','255')
		oCMenu.makeMenu('sub103010','sub103','> Duplex Pump Controllers','/products/starters/duplex/','','255')
	oCMenu.makeMenu('sub104','top1','+ Softstarter Intelligent Controllers','#','','210')
		oCMenu.makeMenu('sub10400','sub104','> Overview','/products/softstarters/','','210')
		oCMenu.makeMenu('sub10401','sub104','> PCS Softstarters to 400HP','/products/softstarters/pcs/','','210')
		oCMenu.makeMenu('sub10402','sub104','> PF Softstarters to 1000HP','/products/softstarters/pf/','','210')
		oCMenu.makeMenu('sub10403','sub104','> PB Softstarters to 15HP','/products/softstarters/pb/','','210')
		oCMenu.makeMenu('sub10404','sub104','> PCEC Hydraulic Elevator to 150HP','/products/softstarters/pcec/','','210')
		oCMenu.makeMenu('sub10405','sub104','+ Obsolete','#','','210')
			oCMenu.makeMenu('sub1040600','sub10405','> PDS Wye-Delta to 100HP','/products/softstarters/pds/','','170')
		
		
		
	oCMenu.makeMenu('sub105','top1','+ Solid State Relays','#','','210')
		oCMenu.makeMenu('sub10500','sub105','> SAS Panel Mount Relays','/products/solidstaterelays/sas/','','210')
		oCMenu.makeMenu('sub10501','sub105','> SAR DIN Rail Mount Relays','/products/solidstaterelays/sar/','','210')
		
	oCMenu.makeMenu('sub106','top1','+ Motor Circuit Controllers','#','','210')
		oCMenu.makeMenu('sub10600','sub106','> KT7 Motor Circuit Controllers','/products/motorcircuit/kt7/','','200')
		oCMenu.makeMenu('sub10601','sub106','> KTA7 & CX7 Enclosed','/products/motorcircuit/kta7cx7/','','200')	
		oCMenu.makeMenu('sub10602','sub106','> KT4 Manual Motor Starters','/products/motorcircuit/kt4/','','200')
		
	oCMenu.makeMenu('sub107','top1','+ Control & Timing Relays','#','','210')
		oCMenu.makeMenu('sub10700','sub107','> CS7 General Purpose Control Relays','/products/controltiming/cs7/','','230')
		oCMenu.makeMenu('sub10701','sub107','> CS8 Industrial Control Relays','/products/controltiming/cs8/','','230')		
		
		oCMenu.makeMenu('sub10703','sub107','> RZ7-FS Electronic Timing Relays','/products/controltiming/rz7fs/','','230')
		oCMenu.makeMenu('sub10704','sub107','> RZ7-FE Electronic Timing Relays','/products/controltiming/rz7fe/','','230')
		oCMenu.makeMenu('sub10705','sub107','+ Relpol Relays','#','','230')
			oCMenu.makeMenu('sub1070600','sub10705','> Overview','/products/controltiming/relpol/','','200')
			oCMenu.makeMenu('sub1070700','sub10705','> R Series Plug-In Relays','/products/controltiming/r/','','200')
			oCMenu.makeMenu('sub1070800','sub10705','> P Series Interface Relays','/products/controltiming/p/','','200')
			oCMenu.makeMenu('sub1070900','sub10705','> Slim Terminal Block Relays','/products/controltiming/slimterminal/','','200')
		oCMenu.makeMenu('sub10706','sub107','+ Obsolete','#','','230')
			oCMenu.makeMenu('sub1070600','sub10706','> CS1 Modular Control Relays','/products/controltiming/cs1/','','200')
			
	oCMenu.makeMenu('sub108','top1','+ Pilot Devices','#','','210')
		oCMenu.makeMenu('sub10800','sub108','> D7 Pilot Devices','/products/pilotdevices/d7/','','170')
 		oCMenu.makeMenu('sub10801','sub108','> D7 Product Selection','/products/pilotdevices/d7product/','','170') 
	oCMenu.makeMenu('sub109','top1','+ Warning Tower Lights','#','','210')
		oCMenu.makeMenu('sub10900','sub109','> Overview','/products/towerlights/','','165')
		oCMenu.makeMenu('sub10901','sub109','> 50mm Signal Towers','/products/towerlights/signal50/index.html','','165')
		oCMenu.makeMenu('sub10902','sub109','> 30mm Compact Towers','/products/towerlights/compact30/index.html','','165')
	oCMenu.makeMenu('sub1010','top1','+ Rotary Cam Switches','#','','210')
		oCMenu.makeMenu('sub101000','sub1010','> L2','/products/rotarycamswitches/l2/','','80')
		oCMenu.makeMenu('sub101001','sub1010','> R-Line','/products/rotarycamswitches/r/','','80')
	oCMenu.makeMenu('sub1011','top1','+ Disconnect Switches','#','','210')
		oCMenu.makeMenu('sub101100','sub1011','> L7 to 100A','/products/disconnectswitches/l7-100a/','','95')
		oCMenu.makeMenu('sub101101','sub1011','> L7 to 315A','/products/disconnectswitches/l7-315a/','','95')
		oCMenu.makeMenu('sub101102','sub1011','> L10','/products/disconnectswitches/l10/','','95')
	oCMenu.makeMenu('sub1012','top1','+ Circuit Protection','#','','210')
		oCMenu.makeMenu('sub101200','sub1012','> L8 Supplemental Protectors','/products/circuitprotection/l8/','','245')
		oCMenu.makeMenu('sub101201','sub1012','> L9 UL-489 Miniature Circuit Breakers','/products/circuitprotection/l9/','','245')
		oCMenu.makeMenu('sub101202','sub1012','> FH8 Fuse Holders','/products/circuitprotection/fh8/','','245')
	oCMenu.makeMenu('sub1013','top1','+ Terminals','#','','210')
		oCMenu.makeMenu('sub101300','sub1013','> V7-W Terminals','/products/terminals/v7w/','','185')
		oCMenu.makeMenu('sub101301','sub1013','> Terminals Marking Systems','/products/terminals/marking/','','185')
		
	oCMenu.makeMenu('sub1014','top1','> Custom Controls','#','','210')
		oCMenu.makeMenu('sub101400','sub1014','> Overview','/products/customcontrols/','','185')
		oCMenu.makeMenu('sub101401','sub1014','> Combination Starters','/products/customcontrols/combo.html','','185')
		oCMenu.makeMenu('sub101402','sub1014','> Explosion Proof','/products/customcontrols/explosionproof.html','','185')
		oCMenu.makeMenu('sub101403','sub1014','> Multi-Speed & Reduced Voltage','/products/customcontrols/multispeedrv.html','','185')
		oCMenu.makeMenu('sub101404','sub1014','> Multi-Motor','/products/customcontrols/multimotor.html','','185')
		oCMenu.makeMenu('sub101405','sub1014','> Duplex Pump Panels','/products/customcontrols/duplex.html','','185')
		oCMenu.makeMenu('sub101406','sub1014','> Panel Facilities','/products/customcontrols/facility.html','','185')
		
	oCMenu.makeMenu('sub1015','top1','> ADEL Power Supply','/products/adel/index.html','','210')

/* LIBRARY */
oCMenu.makeMenu('top2','','Library','','','65','','','')
	oCMenu.makeMenu('sub200','top2','+ e-catalogs','/library/catalogs/','','160')
		oCMenu.makeMenu('sub20000','sub200','> SSNA9000 e-catalog','/download/ssna9000/table_of_contents.html','','200')
		oCMenu.makeMenu('sub20001','sub200','> International e-catalogs','/company/worldwide/','','200') 
	oCMenu.makeMenu('sub201','top2','> Literature','/library/literature/','','160')
	oCMenu.makeMenu('sub202','top2','> Dimension Drawings','/library/dimensiondrawings/','','160')
	oCMenu.makeMenu('sub205','top2','> Wiring Diagrams','/library/wiringdiagrams/','','160')
	oCMenu.makeMenu('sub206','top2','> AutoCAD Files','/library/autocad/','','160')
	oCMenu.makeMenu('sub207','top2','+ Approvals','#','','160')
		oCMenu.makeMenu('sub20700','sub207','> UL/CSA/CCC','/library/approvals/','','90')
		oCMenu.makeMenu('sub20701','sub207','> CE-DOC','/library/approvals/ce.html','','90')
		oCMenu.makeMenu('sub20702','sub207','> Atex','/exdocs/','','90')
		oCMenu.makeMenu('sub20703','sub207','> ISO9001','/library/approvals/iso9001.html ','','90')
	
			
/* COMPANY */
oCMenu.makeMenu('top3','','Company','','','79','','','')
	oCMenu.makeMenu('sub301','top3','> About Us','/company/index.html','','150')
/*	oCMenu.makeMenu('sub302','top3','> Press Releases','/company/pressreleases/','','150')*/
	oCMenu.makeMenu('sub302','top3','> Terms & Conditions','/company/terms.html','','150')
	oCMenu.makeMenu('sub303','top3','> Worldwide','/company/worldwide/','','150')

/* DISTRIBUTORS */
oCMenu.makeMenu('top4','','Distributors','','','95','','','')
	oCMenu.makeMenu('sub401','top4','> Distributor Locator','/distributors/','','145')
	oCMenu.makeMenu('sub402','top4','> Become a Distributor','/distributors/partners.html','','145')
	oCMenu.makeMenu('sub403','top4','> Distributor Login','','','145','','','','','','','','','window.open("ftp://raftp.rockwellautomation.com","","location=1,toolbar=1,status=1,scrollbars=1,resizable=1,width=850,height=650")')

/* CONTACT US */
oCMenu.makeMenu('top5','','Contact Us','','','88','','','')
	oCMenu.makeMenu('sub501','top5','> Phone & Address','/contacts/','','150')
	oCMenu.makeMenu('sub502','top5','> Email Us','/contacts/email.html','','150')
	oCMenu.makeMenu('sub503','top5','> FAQ&#146;s','/contacts/faq.html','','150')

/* ABOUT US */
oCMenu.makeMenu('top6','','Home','/index.html','','58','','','')
	

//Leave this line - it constructs the menu
oCMenu.construct();

