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

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=176
oCMenu.rows=1
oCMenu.menuPlacement="center"
                                                           
oCMenu.offlineRoot=""
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=500
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
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=134
oCMenu.level[0].height=18
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=3
oCMenu.level[0].borderY=3
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=17
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
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]
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].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderClass="clLevel1border"

oCMenu.makeMenu('top1','','','','',11,29,'http://www.thisearthpress.com/navigation/fill-spot.jpg','http://www.thisearthpress.com/navigation/fill-spot.jpg')

oCMenu.makeMenu('top2','','','http://www.thisearthpress.com/store/','',172,29,'http://www.thisearthpress.com/navigation/button-store-off.jpg','http://www.thisearthpress.com/navigation/button-store-on.jpg')

oCMenu.makeMenu('top3','','','http://www.this-earth.com/writing/projects.shtml','',172,29,'http://www.thisearthpress.com/navigation/button-projects-off.jpg','http://www.thisearthpress.com/navigation/button-projects-on.jpg')

oCMenu.makeMenu('top4','','','','',22,29,'http://www.thisearthpress.com/navigation/fill-spot.jpg','http://www.thisearthpress.com/navigation/fill-spot.jpg')

oCMenu.makeMenu('top5','','','http://www.this-earth.com/','',79,29,'http://www.thisearthpress.com/navigation/button-earth-off.jpg','http://www.thisearthpress.com/navigation/button-earth-on.jpg')

oCMenu.makeMenu('top6','','','http://www.this-earth.com/contact/biography.shtml','',54,29,'http://www.thisearthpress.com/navigation/button-about-off.jpg','http://www.thisearthpress.com/navigation/button-about-on.jpg')

oCMenu.makeMenu('top7','','','http://www.this-earth.com/calendar.shtml','',69,29,'http://www.thisearthpress.com/navigation/button-calendar-off.jpg','http://www.thisearthpress.com/navigation/button-calendar-on.jpg')

oCMenu.makeMenu('top8','','','http://www.thisearthpress.com/contact.php','',67,29,'http://www.thisearthpress.com/navigation/button-contact-off.jpg','http://www.thisearthpress.com/navigation/button-contact-on.jpg')

oCMenu.makeMenu('top9','','','','',11,29,'http://www.thisearthpress.com/navigation/fill-spot.jpg','http://www.thisearthpress.com/navigation/fill-spot.jpg')

oCMenu.construct()
