/***
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween=5
oCMenu.fromLeft=0
oCMenu.fromTop=0
oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.offlineRoot="file:///C|/$Web/Lions/"
oCMenu.onlineRoot="http://www.madison-central-lions.org/"
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="cm_fill.gif"
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=90
oCMenu.level[0].height=25
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=20
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="center"

//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+30
oCMenu.level[1].height=35
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=10
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=180
oCMenu.level[2].height=25
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.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)
*************************************/
oCMenu.makeMenu('top0','','Home','http://www.madison-central-lions.org/index.html','')

oCMenu.makeMenu('top1','','Tale','','')
oCMenu.makeMenu('sub10','top1','Current','http://www.madison-central-lions.org/tale/current.html','')
oCMenu.makeMenu('sub11','top1','Archive Index','http://www.madison-central-lions.org/tale/index.html','')
oCMenu.makeMenu('sub12','top1','Subscribe','http://madison-central-lions.org/mailman/listinfo/news_madison-central-lions.org','_blank')

oCMenu.makeMenu('top2','','Information','','')
oCMenu.makeMenu('sub20','top2','Club Calendar','http://www.madison-central-lions.org/calendar.html','_blank')
oCMenu.makeMenu('sub21','top2','District Calendar','http://www.md27d1.org/cabinet/districtcalendar.html','_blank')
oCMenu.makeMenu('sub22','top2','How to Join','http://www.madison-central-lions.org/members/join.html','')
oCMenu.makeMenu('sub23','top2','Forms','','')
oCMenu.makeMenu('sub230','sub23','Application','http://www.madison-central-lions.org/forms/application-me6b.pdf','')
oCMenu.makeMenu('sub231','sub23','Club Brochure','http://www.madison-central-lions.org/forms/brochure.pdf','')
oCMenu.makeMenu('sub232','sub23','I Am a Lion','http://www.lionsclubs.org/EN/content/pdfs/me37.pdf','_blank')
oCMenu.makeMenu('sub24','top2','Club Information','','')
oCMenu.makeMenu('sub240','sub24','Presidents Message','http://www.madison-central-lions.org/information/president.html','')
oCMenu.makeMenu('sub241','sub24','Club History','http://www.madison-central-lions.org/information/history.html','')
oCMenu.makeMenu('sub242','sub24','Current Board','http://www.madison-central-lions.org/members/board.html','')
oCMenu.makeMenu('sub243','sub24','Lion Fellowships','http://www.madison-central-lions.org/information/fellows.html','')
oCMenu.makeMenu('sub244','sub24','Membership Awards','http://www.madison-central-lions.org/information/memberawards.html','')
oCMenu.makeMenu('sub245','sub24','Membership Classifications','http://www.madison-central-lions.org/information/membership.html','')
oCMenu.makeMenu('sub246','sub24','Past Presidents','http://www.madison-central-lions.org/information/pastpres.html','')
oCMenu.makeMenu('sub25','top2','Committees','')
oCMenu.makeMenu('sub250','sub25','Committee Structure','http://www.madison-central-lions.org/committees/committeedescr.html','')
oCMenu.makeMenu('sub251','sub25','2009-2010 Committees','http://www.madison-central-lions.org/committees/committees.html','')
oCMenu.makeMenu('sub252','sub25','Volunteer for a Committee','http://www.madison-central-lions.org/committees/volunteercommittee.html','')
oCMenu.makeMenu('sub253','sub25','Invocation Schedule','http://www.madison-central-lions.org/committees/invocation-schedule.html','')
oCMenu.makeMenu('sub26','top2','Directory','','')
oCMenu.makeMenu('sub260','sub26','A - L','http://www.madison-central-lions.org/pvt/directory/directoryaddress01.html','')
oCMenu.makeMenu('sub261','sub26','M - Z','http://www.madison-central-lions.org/pvt/directory/directoryaddress02.html','')
//oCMenu.makeMenu('sub26','top2','Search','http://www.madison-central-lions.org/search/sitesearch.html','')

oCMenu.makeMenu('top3','','Projects','','')
oCMenu.makeMenu('sub31','top3','Sight Conservation','','')
oCMenu.makeMenu('sub310','sub31','Eyeglass Recycling','http://www.madison-central-lions.org/committees/recycled.html','')
oCMenu.makeMenu('sub311','sub31','Eyeglass Grants','http://www.madison-central-lions.org/committees/sightcons.html','')
oCMenu.makeMenu('sub32','top3','Diabetes Awareness','','')
oCMenu.makeMenu('sub320','sub32','Committee','http://www.madison-central-lions.org/committees/diabetes/diab-main.html','')
oCMenu.makeMenu('sub321','sub32','Information','http://www.madison-central-lions.org/committees/diabetes/diab-info.html','')
oCMenu.makeMenu('sub33','top3','Lions Eye Bank Transporters','http://www.madison-central-lions.org/projects/transporters.html')
oCMenu.makeMenu('sub34','top3','Community Service','http://www.madison-central-lions.org/committees/cscommittee.html','')
oCMenu.makeMenu('sub35','top3','Concesssion Stand Index','http://www.madison-central-lions.org/projects/index.html','')
oCMenu.makeMenu('sub36','top3','Football Concession Stand','','')
oCMenu.makeMenu('sub361','sub36','2009 Schedule','http://www.madison-central-lions.org/projects/football.html','')
oCMenu.makeMenu('sub362','sub36','2009 Volunteers','http://www.madison-central-lions.org/projects/footballvol09.html','')
oCMenu.makeMenu('sub363','sub36','2008 Results','http://www.madison-central-lions.org/projects/footballresults08.html','')
oCMenu.makeMenu('sub37','top3','Mens Basketball Concession Stand','','')
oCMenu.makeMenu('sub371','sub37','2009-10 Schedule','http://www.madison-central-lions.org/projects/kohl10.html','')
oCMenu.makeMenu('sub372','sub37','2009-10 Volunteers','http://www.madison-central-lions.org/projects/kohlvol10.html','')
oCMenu.makeMenu('sub373','sub37','Important Messages','http://www.madison-central-lions.org/projects/message.html','')
//oCMenu.makeMenu('sub38','top3','Nut Sale','http://www.madison-central-lions.org/projects/nuts.html','')
oCMenu.makeMenu('sub38','top3','Copps Food Drive','http://www.madison-central-lions.org/projects/copps.html','')

oCMenu.makeMenu('top4','','Board','','')
oCMenu.makeMenu('sub41','top4','Current Minutes','http://www.madison-central-lions.org/pvt/board/current.html','')
oCMenu.makeMenu('sub42','top4','Current Notes','http://www.madison-central-lions.org/pvt/board/currentnotes.html','')
oCMenu.makeMenu('sub43','top4','Archive Index','http://www.madison-central-lions.org/pvt/board/index.html','')

oCMenu.makeMenu('top5','','More','','')
oCMenu.makeMenu('sub50','top5','MCLC Facebook','http://www.facebook.com/home.php#/pages/Madison-Central-Lions-Club/57463783022?ref=ts','_blank')
oCMenu.makeMenu('sub51','top5','MD-27D1','http://www.md27d1.org/','_blank')
oCMenu.makeMenu('sub52','top5','District Cabinet','http://www.md27d1.org/cabinet/index.html','_blank')
oCMenu.makeMenu('sub53','top5','State Convention','http://lionsstateconvention.org/index.htm','_blank')
oCMenu.makeMenu('sub54','top5','Lions International','http://www.lionsclubs.org/EN/index.shtml','_blank')
oCMenu.makeMenu('sub55','top5','Lioness','http://www.madison-monona-lioness.org/','_blank')
oCMenu.makeMenu('sub56','top5','Wisconsin Lions','http://www.wisconsinlions.org/','_blank')
oCMenu.makeMenu('sub57','top5','Wisconsin Lions News','http://www.madison-central-lions.org/news.html','_blank')
oCMenu.makeMenu('sub58','top5','Madison City Channel','http://www.madisoncitychannel.com','_blank')

oCMenu.makeMenu('top6','','Flower Day','','')
oCMenu.makeMenu('sub60','top6','Index','http://www.madison-central-lions.org/roses/index.html','')
oCMenu.makeMenu('sub61','top6','Online Order Form','http://www.madison-central-lions.org/roses/order2010.html','')
oCMenu.makeMenu('sub62','top6','PDF Order Form','http://www.madison-central-lions.org/2010-flower-order-form.pdf','_blank')
oCMenu.makeMenu('sub63','top6','PDF Flower Day Flyer','http://www.madison-central-lions.org/flyer2010.pdf','_blank')


//Leave this line - it constructs the menu
oCMenu.construct()