//Menu object creation
aCMenu=new makeCM("aCMenu") //Making the menu object. Argument: menuname

aCMenu.frames = 0

//New properties in 4.06 - Set to open and/or close the menu onclick
aCMenu.openOnClick=0
aCMenu.closeOnClick=0

//Menu properties
aCMenu.pxBetween=2
aCMenu.fromLeft=312
aCMenu.fromTop=58
aCMenu.rows=1
aCMenu.menuPlacement="left"
aCMenu.offlineRoot="file://S|/Internet/englisch/"
aCMenu.onlineRoot="http://www.rmcon.de/englisch/"

aCMenu.resizeCheck=1
aCMenu.wait=1000
aCMenu.fillImg="cm_fill.gif"
aCMenu.zIndex=0

//Background bar properties
aCMenu.useBar=0
aCMenu.barWidth="100%"
aCMenu.barHeight="menu"
aCMenu.barClass="clBar"
aCMenu.barX=0
aCMenu.barY=0
aCMenu.barBorderX=0
aCMenu.barBorderY=0
aCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
aCMenu.level[0]=new cm_makeLevel() //Add this for each new level
aCMenu.level[0].width=86
aCMenu.level[0].height=15
aCMenu.level[0].regClass="clLevel0"
aCMenu.level[0].overClass="clLevel0over"
aCMenu.level[0].borderX=1
aCMenu.level[0].borderY=1
aCMenu.level[0].borderClass="clLevel0border"
aCMenu.level[0].offsetX=0
aCMenu.level[0].offsetY=0
aCMenu.level[0].rows=0
aCMenu.level[0].arrow=0
aCMenu.level[0].arrowWidth=0
aCMenu.level[0].arrowHeight=0
aCMenu.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
aCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
aCMenu.level[1].width=aCMenu.level[0].width+70
aCMenu.level[1].height=15
aCMenu.level[1].regClass="clLevel1"
aCMenu.level[1].overClass="clLevel1over"
aCMenu.level[1].borderX=1
aCMenu.level[1].borderY=1
aCMenu.level[1].align="right"
aCMenu.level[1].offsetX=-(aCMenu.level[0].width-2)/2+20
aCMenu.level[1].offsetY=0
aCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
aCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
aCMenu.level[2].width=250
aCMenu.level[2].height=15
aCMenu.level[2].offsetX=0
aCMenu.level[2].offsetY=0
aCMenu.level[2].regClass="clLevel2"
aCMenu.level[2].overClass="clLevel2over"
aCMenu.level[2].borderClass="clLevel2border"



/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/


        aCMenu.makeMenu('top2','','&nbsp;Consulting','consulting.html')
                                                                                      aCMenu.makeMenu('sub20','top2','&nbsp;Unser Leistungsspektrum','consulting.html')
        aCMenu.makeMenu('sub21','top2','&nbsp;Ansprechpartner','consult_kontakt.html')


aCMenu.makeMenu('top3','','&nbsp;RailSys','uber_railsys.html')
        aCMenu.makeMenu('sub30','top3','&nbsp;About RailSys','uber_railsys.html')
        aCMenu.makeMenu('sub31','top3','&nbsp;Application fields','einsatz.html')


        aCMenu.makeMenu('sub32','top3','&nbsp;System components','sysbau.html')
                aCMenu.makeMenu('sub320','sub32','&nbsp;Database','sysbau.html')
                aCMenu.makeMenu('sub321','sub32','&nbsp;Infrastructure Manager','syskom_infra.html')
aCMenu.makeMenu('sub322','sub32','&nbsp;Timetable Manager','syskom_fahrplan.html')
aCMenu.makeMenu('sub323','sub32','&nbsp;Slot Manager','syskom_trassen.html')
aCMenu.makeMenu('sub324','sub32','&nbsp;Track blockings','syskom_gleissperrungen.html')
aCMenu.makeMenu('sub325','sub32','&nbsp;Operational simulation','syskom_simu.html')
aCMenu.makeMenu('sub326','sub32','&nbsp;Statistical evaluation','syskom_stat.html')
aCMenu.makeMenu('sub327','sub32','&nbsp;Print','syskom_print.html')
aCMenu.makeMenu('sub328','sub32','&nbsp;Interfaces/Requirements','syskom_interface.html')
aCMenu.makeMenu('sub33','top3','&nbsp;Users','anwender.html')
aCMenu.makeMenu('sub34','top3','&nbsp;Demo version','railsys_demo.html')
aCMenu.makeMenu('sub35','top3','&nbsp;Further informationen','mehr_info.html')



//Leave this line - it constructs the menu
aCMenu.construct()