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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=125
oCMenu.fromTop=95
oCMenu.rows=1
oCMenu.menuPlacement="left"

oCMenu.offlineRoot="" 
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg=""
oCMenu.zIndex=0

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

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=100
oCMenu.level[0].height=35 
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=-50
oCMenu.level[0].offsetY=-20
oCMenu.level[0].rows=1
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=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=oCMenu.level[0].width-2
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=1
oCMenu.level[1].borderClass="clLevel1border"

oCMenu.makeMenu('top0','','','/','',93,65,'/navigation/home_off.jpg','/navigation/home_on.jpg')


oCMenu.makeMenu('top1','','','/classes/','',210,65,'/navigation/classes_off.jpg','/navigation/classes_on.jpg')

oCMenu.makeMenu('top2','','','/community/','',97,65,'/navigation/community_off.jpg','/navigation/community_on.jpg')
        oCMenu.makeMenu('sub200','top2','','/community/news/','',63,32,'/navigation/news_off.jpg','/navigation/news_on.jpg')
        oCMenu.makeMenu('sub201','top2','','/planner/','',84,32,'/navigation/calendar.jpg','/navigation/calendar_on.jpg')
        oCMenu.makeMenu('sub202','top2','','/community/photo/','',116,32,'/navigation/photo.jpg','/navigation/photo_on.jpg')

                
oCMenu.makeMenu('top3','','','/yarn/','',166,65,'/navigation/yarn_off.jpg','/navigation/yarn_on.jpg')
        oCMenu.makeMenu('sub300','top3','','/yarn/yarns/','',75,32,'/navigation/yarn2_off.jpg','/navigation/yarn2_on.jpg')
        oCMenu.makeMenu('sub301','top3','','/yarn/accessories/','',108,32,'/navigation/accesories.jpg','/navigation/accesories_on.jpg')
        oCMenu.makeMenu('sub302','top3','','/yarn/needles/','',75,32,'/navigation/needles.jpg','/navigation/needles_on.jpg')


oCMenu.makeMenu('top4','','','/knitting/','',155,65,'/navigation/knitting_off.jpg','/navigation/knitting_on.jpg')



oCMenu.makeMenu('top5','','','/contact/','',128,65,'/navigation/contact_off.jpg','/navigation/contact_on.jpg')



oCMenu.construct()
