//Cedar Cliff Band Boosters Association, 09.13.07 - modified by Rose Goldsborough

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname


/******************************************************************************
// NOT BEING USED CURRENTLY BUT HAS APPLICATION IF THE NEED ARISES TO USE fromLeft
//This part changes the value of oCMenu.fromLeft based on the screen resolution
if (navigator.appVersion.indexOf("4.") != -1 &&
navigator.appName.indexOf("Explorer") != -1) {
ScrnSize = screen.width + "x" + screen.height;
}
if (navigator.appVersion.indexOf("4.") != -1 &&
navigator.appName.indexOf("Netscape") != -1) {
ScrnSize = screen.width + "x" + (screen.height + 19); //Netscape sees 19 pixels less on Height

}
else {
ScrnSize = screen.width + "x" + screen.height;
}
switch(ScrnSize) {
case "800x600": oCMenu.fromLeft=9;break
case "1024x768": oCMenu.fromLeft=121;break
case "1152x864": oCMenu.fromLeft=185;break
case "1280x600": oCMenu.fromLeft=250;break
case "1280x768": oCMenu.fromLeft=250;break
case "1280x960": oCMenu.fromLeft=250;break
case "1280x1024": oCMenu.fromLeft=250;break
}

**********************************************************************************/


//Menu properties   
oCMenu.frames=0
oCMenu.pxBetween=0
oCMenu.fromLeft=10
oCMenu.fromTop=40
oCMenu.rows=0 
oCMenu.menuPlacement=0
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=9
oCMenu.barBorderY=130
oCMenu.barBorderClass="clLevel0border"

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() 
oCMenu.level[0].width=100
oCMenu.level[0].height=18  
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=2
oCMenu.level[0].borderY=2
oCMenu.level[0].borderClass="clBar"
oCMenu.level[0].offsetX=-1
oCMenu.level[0].offsetY=-2
oCMenu.level[0].rows=0   
oCMenu.level[0].align="right"







/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

//Notice: the apostrohe is made by using n&acute; code... if needed

//Menu 0 -----------------------
oCMenu.makeMenu('top0','','home','index.html','','','','','','','')
	

//Menu 1 -----------------------
oCMenu.makeMenu('top1','','about us','about.html','','','','','','','')

	
	
//Menu 2 -----------------------
oCMenu.makeMenu('top2','','ensembles','','','','','','','','')
 	oCMenu.makeMenu('sub21','top2','marching band','m_band.html','',100)
	oCMenu.makeMenu('sub22','top2','jazz bands','j_band.html','',100)
		//oCMenu.makeMenu('sub220','sub22','overview','j_band.html','',150)
		//oCMenu.makeMenu('sub221','sub22','jazz festival registration','jazz_form.html','',150)
	oCMenu.makeMenu('sub23','top2','concert bands','c_band.html','',100)
	oCMenu.makeMenu('sub24','top2','indoor guard','i_guard.html','',100)

	
	
//Menu 3 -----------------------
oCMenu.makeMenu('top3','','spotlight','directors.html','','','','','','','')
	//oCMenu.makeMenu('sub31','top3','overview','directors.html','',130)
	//oCMenu.makeMenu('sub32','top3','spotlight registration','spotlight_form.html','',130)



	
//Menu 4 -----------------------
oCMenu.makeMenu('top4','','china 2008','china.html','','','','','','','')
	//oCMenu.makeMenu('sub50','top5','overview','china.html','',115)
	//oCMenu.makeMenu('sub51','top5','upcoming events','china.html#events','',115)
	//oCMenu.makeMenu('sub52','top5','payment info','china.html#payment','',115)
	//oCMenu.makeMenu('sub53','top5','passports','china.html#pass','',115)
	//oCMenu.makeMenu('sub54','top5','other info','china.html#info','',115)
	//oCMenu.makeMenu('sub55','top5','media coverage','china_media.html','',115)
			

//Menu 5 -----------------------
oCMenu.makeMenu('top5','','resources','resources.html','','','','','','','')
	oCMenu.makeMenu('sub50','top5','policies','policies.html','',135)
	oCMenu.makeMenu('sub51','top5','medical form','pdf/medical_form.pdf','_blank',135)
	oCMenu.makeMenu('sub52','top5','student interest form','information_form.html','',135)
	oCMenu.makeMenu('sub53','top5','web authorization form','pdf/websiteauthform.pdf','_blank',135)
	//oCMenu.makeMenu('sub54','top5','calendar','calendar.html','',135)
	oCMenu.makeMenu('sub55','top5','for parents','parents.html','',135)
	oCMenu.makeMenu('sub56','top5','helpful links','resources.html','',135)
	oCMenu.makeMenu('sub57','top5','photo gallery','photo.html','',135)
		

//Menu 6 -----------------------

oCMenu.makeMenu('top6','','for parents','parents.html','','','','','','','')
	oCMenu.makeMenu('sub60','top6','overview','parents.html','',135)
	oCMenu.makeMenu('sub61','top6','china 2008','china.html','',135)
	oCMenu.makeMenu('sub62','top6','policies','policies.html','',135)
	oCMenu.makeMenu('sub63','top6','medical form','pdf/medical_form.pdf','_blank',135)
	oCMenu.makeMenu('sub64','top6','student interest form','information_form.html','',135)
	oCMenu.makeMenu('sub65','top6','web authorization form','pdf/websiteauthform.pdf','_blank',135)
	//oCMenu.makeMenu('sub66','top6','calendar','calendar.html','',135)

    	
	
//Menu 7 -----------------------

//oCMenu.makeMenu('top7','','calendar','calendar.html','','','','','','','')
    

//Menu 10 -----------------------

oCMenu.makeMenu('top10','','fundraising','fundraising.html','','','','','','','')

   
//Menu 11 -----------------------

oCMenu.makeMenu('top11','','contact us','contact.html','','','','','','','')  

   
//Menu 12 -----------------------

oCMenu.makeMenu('top12','','sitemap','sitemap.html','','','','','','','')   
      

//Leave this here because it provides the final yellow separator bar 

//oCMenu.makeMenu('top12','','','','','','','','','','')



//Leave this line - it constructs the menu

//oCMenu.construct()

