//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames=0

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=20 
oCMenu.fromTop=187  
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/my_documents_2/webpages/islandhosting/new_site/" 
oCMenu.onlineRoot="/"
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="77%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
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=129
oCMenu.level[0].height=20 
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=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].align="bottom"

//dynamic effect (controllable for each level)
oCMenu.level[0].clippx=250
oCMenu.level[0].cliptim=250
//special animation filters (IE5.5+ only, controllable for each level)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)"

//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=120
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=250
oCMenu.level[1].cliptim=250
//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=120
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','','Programs','','')
	oCMenu.makeMenu('sub00','top0','English','')
	   oCMenu.makeMenu('sub000','sub00','30 Hours per Week','http://cvic.bc.ca/programs.htm','',140,0)	   	
	   oCMenu.makeMenu('sub001','sub00','15 Hours per Week','http://cvic.bc.ca/prt_time.htm','',140,0)
	oCMenu.makeMenu('sub01','top0','High School Prep','http://cvic.bc.ca/hsprep.htm')
	oCMenu.makeMenu('sub02','top0','Working Holiday','http://cvic.bc.ca/working.htm')
	oCMenu.makeMenu('sub03','top0','Groups','http://cvic.bc.ca/vacation.htm')
	oCMenu.makeMenu('sub04','top0','Homestay','http://cvic.bc.ca/homestay.htm')
	oCMenu.makeMenu('sub05','top0','Volunteering','http://cvic.bc.ca/cap.htm')
	oCMenu.makeMenu('sub06','top0','Activities','http://cvic.bc.ca/activity.htm')	
	oCMenu.makeMenu('sub07','top0','Sailing','http://cvic.bc.ca/sailing.htm')

oCMenu.makeMenu('top1','','Photographs','')
	oCMenu.makeMenu('sub10','top1','Around CVIC','http://cvic.bc.ca/album_college.htm')
	oCMenu.makeMenu('sub11','top1','High Schools','http://cvic.bc.ca/album_high_scl.htm')
	oCMenu.makeMenu('sub12','top1','Comox Valley','http://cvic.bc.ca/album_valley.htm')
	oCMenu.makeMenu('sub13','top1','Activities','http://cvic.bc.ca/album_activity.htm')
	oCMenu.makeMenu('sub14','top1','Labo','http://cvic.bc.ca/album_labo.htm')
oCMenu.makeMenu('top2','','About - FAQS','')
	oCMenu.makeMenu('sub22','top2','Vancouver Island','')
		oCMenu.makeMenu('sub0000','sub22','History','http://cvic.bc.ca/vancouver_island_history.htm')
		oCMenu.makeMenu('sub0001','sub22','Size','http://cvic.bc.ca/vancouver_island_size.htm')
		oCMenu.makeMenu('sub0002','sub22','Wildlife','http://cvic.bc.ca/vancouver_island_wildlife.htm')
		oCMenu.makeMenu('sub0003','sub22','Land','http://cvic.bc.ca/vancouver_island_topography.htm')
	oCMenu.makeMenu('sub23','top2','School Policy','')
		oCMenu.makeMenu('sub0006','sub23','Student Conduct','http://cvic.bc.ca/conduct.htm')
		oCMenu.makeMenu('sub0007','sub23','Refund Policy','http://cvic.bc.ca/refund.htm')
		oCMenu.makeMenu('sub0008','sub23','Dispute Resolution','http://cvic.bc.ca/dispute.htm')
		oCMenu.makeMenu('sub0009','sub23','Your Privacy','http://cvic.bc.ca/privacy.htm')
	oCMenu.makeMenu('sub24','top2','School Services','')
		oCMenu.makeMenu('sub00014','sub24','Insurance','http://cvic.bc.ca/medical.htm')
		oCMenu.makeMenu('sub00015','sub24','Counselling','http://cvic.bc.ca/counsel.htm')
	oCMenu.makeMenu('sub25','top2','Insurance','http://cvic.bc.ca/medical.htm')
	oCMenu.makeMenu('sub26','top2','Culture Shock','http://cvic.bc.ca/c_shock.htm')
	oCMenu.makeMenu('sub27','top2','Cost of Living','http://cvic.bc.ca/c_of_lvg.htm')
	oCMenu.makeMenu('sub28','top2','Rent','http://cvic.bc.ca/rental.htm')
	oCMenu.makeMenu('sub29','top2','Admission','http://cvic.bc.ca/admision.htm')
	oCMenu.makeMenu('sub30','top2','Study Permit','http://cvic.bc.ca/visa_med.htm')
	
oCMenu.makeMenu('top3','','About CVIC','')
	oCMenu.makeMenu('sub31','top3','Message','http://cvic.bc.ca/message.htm')
	oCMenu.makeMenu('sub32','top3','History','http://cvic.bc.ca/history.htm')
	oCMenu.makeMenu('sub33','top3','Why CVIC','http://cvic.bc.ca/why_cvic.htm')
	oCMenu.makeMenu('sub34','top3','Where Is CVIC','http://cvic.bc.ca/where_is.htm')
	oCMenu.makeMenu('sub35','top3','In The News','http://cvic.bc.ca/articles.htm')

oCMenu.makeMenu('top4','','Links Pages','')
	oCMenu.makeMenu('sub41','top4','Comox Valley','http://cvic.bc.ca/valley_l.htm')
	oCMenu.makeMenu('sub42','top4','Vancouver Island','http://cvic.bc.ca/island_l.htm')
	oCMenu.makeMenu('sub43','top4','Canada','http://cvic.bc.ca/canada_l.htm')
	oCMenu.makeMenu('sub44','top4','Academic','http://cvic.bc.ca/unvrstyl.htm')
	oCMenu.makeMenu('sub45','top4','Educational','http://cvic.bc.ca/orgs.htm')
	oCMenu.makeMenu('sub46','top4','General','http://cvic.bc.ca/gen.htm')
	
oCMenu.makeMenu('top5','','Apply Here','http://cvic.bc.ca/register.htm')

	
//Leave this line - it constructs the menu
oCMenu.construct()
