//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties
oCMenu.pxBetween=1
//Using the cm_page object to place the menu ----
  //There are some differences between the browsers that I try to fix here.
oCMenu.fromLeft=0
//We also need to "replace" the menu on resize. So:
oCMenu.onresize="oCMenu.fromLeft=0"

oCMenu.fromTop=80
oCMenu.rows=0
oCMenu.menuPlacement=0

oCMenu.offlineRoot="http://www.pic-construct.ro/en"
oCMenu.onlineRoot="http://www.pic-construct.ro/en"
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="/images/spacer.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0

//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=183
oCMenu.level[0].height=18
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=14
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=17
oCMenu.level[0].offsetY=-5
oCMenu.level[0].rows=0
oCMenu.level[0].align='right'
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.4,wipeStyle=0) progid:DXImageTransform.Microsoft.Alpha(opacity=100)"

//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=100
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
//oCMenu.level[1].arrow='/images/rarrow_anim.gif'
//oCMenu.level[1].arrowWidth=4
//oCMenu.level[1].arrowHeight=7
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-1
oCMenu.level[1].offsetY=-1
oCMenu.level[1].borderClass="clLevel1border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass, align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/

//oCMenu.makeMenu('menu1', '', 'Formwork', '/formwork/','')
//  oCMenu.makeMenu('menu1_1', 'menu1', 'Overview', '/formwork/', '', '', '')
//  oCMenu.makeMenu('menu1_2', 'menu1', 'Applications', '/formwork/applications/', '', '', '')
//  oCMenu.makeMenu('menu1_3', 'menu1', 'Components', '/formwork/components/', '', '', '')
//  oCMenu.makeMenu('menu1_4', 'menu1', 'Design', '/formwork/design/', '', '', '')
//  oCMenu.makeMenu('menu1_5', 'menu1', 'Assembly', '/formwork/assembly/', '', '', '')
//  oCMenu.makeMenu('menu1_6', 'menu1', 'Projects', '/formwork/projects/', '', '', '')
//  oCMenu.makeMenu('menu1_7', 'menu1', 'Contacts', '/formwork/contacts/', '', '', '')

oCMenu.makeMenu('menu2', '', 'General contractor', '/contractor_general/', '')
  oCMenu.makeMenu('menu2_1', 'menu2', 'Overview ', '/contractor_general/', '', 134, '')
  oCMenu.makeMenu('menu2_8', 'menu2', 'Projects', '/contractor_general/projects/', '', 134, '')
  //oCMenu.makeMenu('menu2_9', 'menu2', 'Contacts', '/contractor_general/contacts/', '', 134, '')

//oCMenu.makeMenu('menu3', '', 'Telecoms', '/telecoms/capabilities/rigging/', '')
//  oCMenu.makeMenu('menu3_2', 'menu3', 'Capabilities', '/telecoms/capabilities/rigging/', '', '', '')
//  oCMenu.makeMenu('menu3_3', 'menu3', 'Projects', '/telecoms/projects/', '', '', '')
//  oCMenu.makeMenu('menu3_4', 'menu3', 'Contacts', '/telecoms/contacts/', '', '', '')

oCMenu.makeMenu('menu4', '', 'Divizion of constructions', '/divizia_de_constructii/', '')
  oCMenu.makeMenu('menu4_1', 'menu4', 'Overview ', '/divizia_de_constructii/', '', 134, '')
  oCMenu.makeMenu('menu4_3', 'menu4', 'Projects', '/divizia_de_constructii/projects/', '', 134, '')
  //oCMenu.makeMenu('menu4_4', 'menu4', 'Contacts', '/divizia_de_constructii/contacts/', '', 134, '')

oCMenu.makeMenu('menu5', '', 'Metallic structures', '/confectii_metalice/', '', 183, '')
  oCMenu.makeMenu('menu5_1', 'menu5', 'Overview ', '/confectii_metalice/', '', 134, '')
  oCMenu.makeMenu('menu5_2', 'menu5', 'Capabilities', '/confectii_metalice/capabilities/', '', 134, '')
  //oCMenu.makeMenu('menu5_4', 'menu5', 'Contacts', '/confectii_metalice/contacts/', '', 134, '')

oCMenu.makeMenu('menu6', '', 'Construction equipment', '/utilaje_constructii/', '')
  oCMenu.makeMenu('menu6_1', 'menu6', 'Capabilities', '/utilaje_constructii/capabilities', '', 134, '')
  oCMenu.makeMenu('menu6_4', 'menu6', 'Contacts', '/utilaje_constructii/contacts/', '', 134, '')

oCMenu.construct()

