

//Menu object creation
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=20
oCMenu2.fromLeft=10 
oCMenu2.fromTop=0   
oCMenu2.rows=1 
oCMenu2.menuPlacement="left"
                                                             
oCMenu2.offlineRoot="file:///C|/AP Web Site/menu/" 
oCMenu2.onlineRoot="/menu/" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=1
oCMenu2.barWidth="100%"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY=0
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=120
oCMenu2.level[0].height=25 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0
oCMenu2.level[0].offsetY=0
oCMenu2.level[0].rows=0
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[1].width=250
oCMenu2.level[1].height=26
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].align="right" 
oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+20
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu2.makeMenu('top0','','<img src=http://anonpress.org/menu/home.gif>&nbsp;Home','http://anonpress.org')

oCMenu2.makeMenu('top1','','Online Store&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/store/')
	oCMenu2.makeMenu('sub10','top1','Mini Edition','http://anonpress.org/store/mini.htm')
	oCMenu2.makeMenu('sub11','top1','Mini Edition - camo','http://anonpress.org/store/minicamo.htm')
	oCMenu2.makeMenu('sub12','top1','First Edition - hardcover','http://anonpress.org/store/firstedition.htm')
	oCMenu2.makeMenu('sub13','top1','First Edition - softcover','http://anonpress.org/store/firstedition_soft.htm')
	oCMenu2.makeMenu('sub14','top1','Study Edition - hardcover','http://anonpress.org/store/study.htm')
	oCMenu2.makeMenu('sub15','top1','Study Edition - softcover','http://anonpress.org/store/study_soft.htm')
	oCMenu2.makeMenu('sub16','top1','AP Index','http://anonpress.org/store/apindex.htm')
	oCMenu2.makeMenu('sub17','top1','Bargain Bin - empty','http://anonpress.org/store/seconds.htm')	
	oCMenu2.makeMenu('sub18','top1','Brochure Request','http://anonpress.org/brochure_request/')

oCMenu2.makeMenu('top2','','Online Books&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/bb/assent.asp')
	oCMenu2.makeMenu('sub20','top2','Modern Text - searchable','http://anonpress.org/bb/assent.asp')
	oCMenu2.makeMenu('sub21','top2','Original Manuscript Text','http://anonpress.org/manu/assent.asp')
	oCMenu2.makeMenu('sub22','top2','Index to Alcoholics Anonymous','http://anonpress.org/bbindex/')

oCMenu2.makeMenu('top3','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AA Info&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','')
        oCMenu2.makeMenu('sub30','top3','AA Intergroup Phone Numbers','http://anonpress.org/phone/')
	oCMenu2.makeMenu('sub31','top3','AA Frequently Asked Questions','http://anonpress.org/faq/files/')
	oCMenu2.makeMenu('sub32','top3','Translations for finding AA','http://anonpress.org/translate/')
	
oCMenu2.makeMenu('top4','','Downloads&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/')
	oCMenu2.makeMenu('sub40','top4','for Windows&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/')
		oCMenu2.makeMenu('sub400','sub40','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/choices/')
		oCMenu2.makeMenu('sub401','sub40','AA Quotes Screensaver','http://anonpress.org/screensaver/')
		oCMenu2.makeMenu('sub402','sub40','Sobriety Calculator','http://anonpress.org/sobrietycheck/')

	oCMenu2.makeMenu('sub41','top4','for Macintosh&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/mac.htm')
		oCMenu2.makeMenu('sub410','sub41','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/choices/mac.htm')
	
	oCMenu2.makeMenu('sub42','top4','for Linux&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/unix.htm')
		oCMenu2.makeMenu('sub420','sub42','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/choices/unix.htm')

	oCMenu2.makeMenu('sub43','top4','for Palm&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/mobile/')
		oCMenu2.makeMenu('sub430','sub43','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/mobile/')
		oCMenu2.makeMenu('sub431','sub43','Daily Quotes','http://anonpress.org/palm/topics/')

	oCMenu2.makeMenu('sub44','top4','for Pocket PC&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/mobile/')
		oCMenu2.makeMenu('sub440','sub44','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/mobile/')
                oCMenu2.makeMenu('sub441','sub44','Daily Quotes','http://anonpress.org/aatopics/')

	oCMenu2.makeMenu('sub45','top4','for Blackberry&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/mobile/')
		oCMenu2.makeMenu('sub450','sub45','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/mobile')

	oCMenu2.makeMenu('sub46','top4','for iPhone&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/iphone.htm')
		oCMenu2.makeMenu('sub460','sub46','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/choices/iphone.htm')
		oCMenu2.makeMenu('sub461','sub46','<i>The Varieties of Religious Experience<i>','http://anonpress.org/vore')		
		
	oCMenu2.makeMenu('sub47','top4','for Kindle&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/choices/kindle.htm')
		oCMenu2.makeMenu('sub470','sub47','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/choices/kindle.htm')
		oCMenu2.makeMenu('sub471','sub47','<i>The Varieties of Religious Experience<i>','http://anonpress.org/vore')
		
	oCMenu2.makeMenu('sub48','top4','for Android&nbsp;<img src=http://anonpress.org/menu/arrow.gif>','http://anonpress.org/android')
		oCMenu2.makeMenu('sub480','sub48','Text of <i>Alcoholics Anonymous<i>','http://anonpress.org/android')		

	oCMenu2.makeMenu('sub49','top4','for everything else','http://anonpress.org/choices/')

oCMenu2.makeMenu('top5','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check cart&nbsp;<img src=http://anonpress.org/menu/cart_arrow.gif>','http://anonpress.net/cart.php?m=view')


//Leave this line - it constructs the menu
oCMenu2.construct()		



