
//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=15
oCMenu.fromLeft=20 
oCMenu.fromTop=110   
oCMenu.rows=0 
oCMenu.menuPlacement="0"
                                                             
oCMenu.offlineRoot="file:///C|/temp/stb/scripts/coolmenus/" 
oCMenu.onlineRoot="coolmenus/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
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=75
oCMenu.level[0].height=18 
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=1
oCMenu.level[0].offsetY=5
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="right"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=2
oCMenu.level[0].cliptim=2
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//Other special animation filters (IE5.5+ only, controllable for each level)
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Barn(duration=0.5,orientation=horizontal)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Blinds(duration=0.5,bands=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.CheckerBoard(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=0)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=STAR)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Iris(duration=0.5,irisStyle=CIRCLE)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Pixelate(duration=0.5,maxSquare=40)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Wheel(duration=0.5,spokes=5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Spiral(duration=0.5)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Stretch(duration=0.5,stretchStyle=push)"
//oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Strips(duration=0.5,motion=rightdown)"


//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+100
oCMenu.level[1].height=18
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=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
//dynamic effect
oCMenu.level[1].clippx=2
oCMenu.level[1].cliptim=2
//special animation filters
oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 


//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=oCMenu.level[0].width+175
oCMenu.level[2].height=18
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','','Students','http://www.msinnovation.info/stu/index.htm','')
	oCMenu.makeMenu('sub00','top0','Adult-Child Programs','http://www.msinnovation.info/stu/adult_child.htm')
	oCMenu.makeMenu('sub01','top0','Saturday Classes','http://www.msinnovation.info/stu/saturday.htm')
	oCMenu.makeMenu('sub02','top0','Summer Classes','http://www.msinnovation.info/stu/summer.htm')
	oCMenu.makeMenu('sub03','top0','Gifted & Talented Programs','http://www.msinnovation.info/stu/gifted.htm')
	oCMenu.makeMenu('sub04','top0','Satisfaction Surveys','http://www.msinnovation.info/stu/stusurvey.htm')
	oCMenu.makeMenu('sub05','top0','Contact Us','http://www.msinnovation.info/stu/studentcontact.htm')

oCMenu.makeMenu('top1','','Teachers','http://www.msinnovation.info/tea/index.htm')	
    oCMenu.makeMenu('sub06','top1','Conferences','http://www.msinnovation.info/tea/pg_conferences.htm')	
    oCMenu.makeMenu('sub07','top1','Courses','http://www.msinnovation.info/tea/pg_courses.htm')
	oCMenu.makeMenu('sub08','top1','Endorsements & Degrees','http://www.msinnovation.info/tea/multiyr_endorse.htm')
	oCMenu.makeMenu('sub9','top1','AP-Masters-Grant','http://www.msinnovation.info/apgrant/apgrant.htm')
	oCMenu.makeMenu('sub10','top1','21st Century Fellows','http://www.msinnovation.info/Fellows/21stfellows.htm')
	oCMenu.makeMenu('sub11','top1','Satisfaction Surveys','http://www.msinnovation.info/tea/teachsurvey.htm')
	oCMenu.makeMenu('sub12','top1','MSiC Moodle','http://moodle.msinnovation.info')

oCMenu.makeMenu('top2','','Schools','http://www.msinnovation.info/sch/index.htm')
	oCMenu.makeMenu('sub13','top2','Schedule Lessons','http://www.msinnovation.info/sch/sched_lessons.htm')
	oCMenu.makeMenu('sub14','top2','Center Lessons','http://www.msinnovation.info/sch/ctr_lesson.htm')
	oCMenu.makeMenu('sub15','top2','Classroom Lessons','http://www.msinnovation.info/sch/class_lesson.htm')
	oCMenu.makeMenu('sub16','top2','Virtual Lessons','http://www.msinnovation.info/sch/virtual_lessons.htm')
	oCMenu.makeMenu('sub17','top2','Loan Kits','http://www.msinnovation.info/sch/kits.htm')
	oCMenu.makeMenu('sub18','top2','Satisfaction Surveys','http://www.msinnovation.info/sch/schsurvey.htm')

oCMenu.makeMenu('top3','','Center','http://www.msinnovation.info/ctr/index.htm')
	oCMenu.makeMenu('sub19','top3','2015 Plan','http://www.msinnovation.info/ctr/2015_plan.pdf')
	oCMenu.makeMenu('sub20','top3','Annual Reports','http://www.msinnovation.info/anreport/ann_report.htm')
	oCMenu.makeMenu('sub21','top3','Board','http://www.msinnovation.info/ctr/ctr_board.htm')
	oCMenu.makeMenu('sub22','top3','Staff','http://www.msinnovation.info/ctr/MSiC_Staff_2009-2010_.pdf')
	oCMenu.makeMenu('sub23','top3','Membership','http://www.msinnovation.info/ctr/types_membership08.pdf')
	
oCMenu.makeMenu('top4','','Foundation','http://www.msinnovation.info/fnd/index.htm')
    oCMenu.makeMenu('sub24','top4','How To Give','http://www.msinnovation.info/fnd/giving.htm')
	oCMenu.makeMenu('sub25','top4','Foundation Board','http://www.msinnovation.info/fnd/fnd_board.htm')
	oCMenu.makeMenu('sub26','top4','Chip In For Education','http://www.msinnovation.info/fnd/chip_in.htm')
	oCMenu.makeMenu('sub27','top4','Science Fair Sponsorships','http://www.msinnovation.info/fnd/scifairsponsor.htm')
	oCMenu.makeMenu('sub28','top4','Annual Donors','http://www.msinnovation.info/fnd/annualreports.htm')
	oCMenu.makeMenu('sub29','top4','Newsletters','http://www.msinnovation.info/fnd/newsletters.htm')
	oCMenu.makeMenu('sub30','top4','Contact Us','http://www.msinnovation.info/fnd/contact.htm')
	
	
oCMenu.makeMenu('top6','','FAQs','')
	oCMenu.makeMenu('sub31','top6','Directions','http://www.msinnovation.info/ctr/directions.htm')
	oCMenu.makeMenu('sub32','top6','Inclement Weather','http://www.msinnovation.info/ctr/inclement_weather.pdf')
	oCMenu.makeMenu('sub33','top6','Staff Outlook Web Access','https://exchange.msinnovation.info/owa')
	oCMenu.makeMenu('sub34','top6','Text Message Notifications','http://www.msinnovation.info/ctr/textalert.htm') 	    

oCMenu.makeMenu('top7','','Links','')
    oCMenu.makeMenu('sub35','top7','Fractal Keys','http://www.fractalkeys.info')
	oCMenu.makeMenu('sub36','top7','MathInScience','http://www.mathinscience.info')
	oCMenu.makeMenu('sub37','top7','Mystery Cargo','http://www.mysterycargo.info')
	oCMenu.makeMenu('sub38','top7','Metro Richmond Science Fair','http://www.msinnovation.info/scifair/index.htm')
	oCMenu.makeMenu('sub39','top7','Spider Room','http://www.spiderroom.info')
	oCMenu.makeMenu('sub40','top7','Virginia Earth Science','http://www.VirginiaEarthScience.info')
	oCMenu.makeMenu('sub41','top7','21st Century Engineering','http://www.msinnovation.info/ACEC/index.html')


oCMenu.makeMenu('top8','','Employment','http://www.msinnovation.info/ctr/employ_opportunity.htm')

oCMenu.makeMenu('top9','','Login','http://www.msinnovation.info/servlet/Agent?actName=Login')


//Leave this line - it constructs the menu
oCMenu.construct()	
