
/*** 
This is the menu creation code - place it right after your body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
sharfwin=new makeCM("sharfwin") //Making the menu object. Argument: menuname

sharfwin.frames = 1

//Menu properties   
sharfwin.pxBetween=5
sharfwin.fromLeft=435
sharfwin.fromTop=26   
sharfwin.rows=1 
sharfwin.menuPlacement="left"
                                                             
sharfwin.offlineRoot="c://Documents and Settings/Susan Sharf/My Documents/Internet Creation/sharfcampaign/" 
sharfwin.onlineRoot="http://www.clickdesign.com/clientdemos/joshua/" 

sharfwin.resizeCheck=1 
sharfwin.wait=1000 
sharfwin.fillImg="cm_fill.gif"
sharfwin.zIndex=0

//Background bar properties
sharfwin.useBar=0
sharfwin.barWidth="100%"
sharfwin.barHeight="menu" 
sharfwin.barClass="clBar"
sharfwin.barX=0 
sharfwin.barY=0
sharfwin.barBorderX=0
sharfwin.barBorderY=0
sharfwin.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
sharfwin.level[0]=new cm_makeLevel() //Add this for each new level
sharfwin.level[0].width=110
sharfwin.level[0].height=35 
sharfwin.level[0].regClass="clLevel0"
sharfwin.level[0].overClass="clLevel0over"
sharfwin.level[0].borderX=1
sharfwin.level[0].borderY=1
sharfwin.level[0].borderClass="clLevel0border"
sharfwin.level[0].offsetX=0
sharfwin.level[0].offsetY=0
sharfwin.level[0].rows=0
sharfwin.level[0].arrow=0
sharfwin.level[0].arrowWidth=0
sharfwin.level[0].arrowHeight=0
sharfwin.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
sharfwin.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
sharfwin.level[1].width=sharfwin.level[0].width-2
sharfwin.level[1].height=20
sharfwin.level[1].regClass="clLevel1"
sharfwin.level[1].overClass="clLevel1over"
sharfwin.level[1].borderX=1
sharfwin.level[1].borderY=1
sharfwin.level[1].align="center" 
sharfwin.level[1].offsetX=-(sharfwin.level[0].width-2)/2+65
sharfwin.level[1].offsetY=0
sharfwin.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
sharfwin.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
sharfwin.level[2].width=120
sharfwin.level[2].height=20
sharfwin.level[2].offsetX=0
sharfwin.level[2].offsetY=0
sharfwin.level[2].regClass="clLevel2"
sharfwin.level[2].overClass="clLevel2over"
sharfwin.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) 
*************************************/
sharfwin.makeMenu('top0','','  CALENDAR','default.htm','')
sharfwin.makeMenu('sub00','top0','mission statement','mission.htm','')
sharfwin.makeMenu('sub01','top0','faculty & staff','staff.htm')
sharfwin.makeMenu('sub02','top0','our students','students.htm')
sharfwin.makeMenu('sub03','top0','our campus','campus.htm')
sharfwin.makeMenu('sub04','top0','our community','community.htm')


sharfwin.makeMenu('top1','','  BIOGRAPHY','enrichment.htm','','','35')
sharfwin.makeMenu('sub10','top1','general studies','secular.htm')
sharfwin.makeMenu('sub11','top1','judaic studies','judaic.htm')
sharfwin.makeMenu('sub12','top1','pre-K program','prekprogram.htm')
sharfwin.makeMenu('sub13','top1','technology','technology.htm')
sharfwin.makeMenu('sub14','top1','enrichment/ remediation','enrichment.htm','','','30')  
sharfwin.makeMenu('sub15','top1','athletics','athletics.htm')
sharfwin.makeMenu('sub16','top1','school supply lists','schoolsupplies.html')

	
sharfwin.makeMenu('top2','','  PLATFORM','')
sharfwin.makeMenu('sub20','top2','admissions welcome','welcome.htm','','','30')
sharfwin.makeMenu('sub21','top2','FAQ','faq.htm')
sharfwin.makeMenu('sub22','top2','admissions timetable','application.htm','','','30')
sharfwin.makeMenu('sub23','top2','tuition & financial aid','financial.htm','','','30')
sharfwin.makeMenu('sub24','top2','dress code','dresscode.htm')
sharfwin.makeMenu('sub25','top2','downloadable forms','forms.htm','','','30')

sharfwin.makeMenu('top3','','  VOLUNTEER','')
sharfwin.makeMenu('sub30','top3','DATline','DATline.htm')
sharfwin.makeMenu('sub31','top3','school calendar','calendar.htm')
sharfwin.makeMenu('sub32','top3','PVA','pva.htm')
sharfwin.makeMenu('sub33','top3','Shabbat & Holiday candlelighting times','candle.htm','','','40')
sharfwin.makeMenu('sub34','top3','photo album','album.htm')

sharfwin.makeMenu('top4','','  SUPPORT','highschool.htm','')




	

//Leave this line - it constructs the menu
sharfwin.construct()		

