
/*** 
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
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=0
oCMenu2.fromLeft=0
oCMenu2.fromTop=65
oCMenu2.rows=0      //determines if the lev 0 will be verticle or horizontal
oCMenu2.menuPlacement="left"                                       
oCMenu2.offlineRoot="" 
oCMenu2.onlineRoot="" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=700
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0             //this turns the background bar on and off... (0) is off!!
oCMenu2.barWidth="100px"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY="menu"
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=150                //width for each topnav term
oCMenu2.level[0].height=30                //height of top nav bar and text 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=0
oCMenu2.level[0].borderY=0
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=150   //moving sub menu off to the right so it is not on top of lev 0 menu...
oCMenu2.level[0].offsetY=-25   //moves the sub menu up and down...I have it about 1/2 way down now (even would be 18px)
oCMenu2.level[0].rows=0       //determines if the lev 1 will be verticle or horizontal
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[1].width=oCMenu2.level[0].width-2
oCMenu2.level[1].width=225
oCMenu2.level[1].height=21
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=0
oCMenu2.level[1].borderY=0
oCMenu2.level[1].align="left" 
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"
oCMenu2.level[1].rows=0      //determines if the lev 2 will be verticle or horizontal

oCMenu2.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[2].width=oCMenu2.level[0].width-2
oCMenu2.level[2].width=145
oCMenu2.level[2].height=20
oCMenu2.level[2].regClass="cl2Level2"
oCMenu2.level[2].overClass="cl2Level2over"
oCMenu2.level[2].borderX=0
oCMenu2.level[2].borderY=0
oCMenu2.level[2].align="left" 
oCMenu2.level[2].offsetX=0
oCMenu2.level[2].offsetY=0
oCMenu2.level[2].borderClass="cl2Level2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu2.makeMenu('top0','','Undergraduate','','','','')
	oCMenu2.makeMenu('sub00','top0','Accounting','u-ac.html','','154')
	oCMenu2.makeMenu('sub01','top0','Criminal Justice','u-cj.html','','154')
	oCMenu2.makeMenu('sub02','top0','Economics &amp; Finance','u-ec.html','','154','')	
	oCMenu2.makeMenu('sub03','top0','Geography &amp; Planning','u-ge.html','','154')	
	oCMenu2.makeMenu('sub04','top0','Management','u-mg.html','','154')
	oCMenu2.makeMenu('sub05','top0','Marketing','u-mk.html','','154')	
	oCMenu2.makeMenu('sub06','top0','Political Science','u-ps.html','','154')
	oCMenu2.makeMenu('sub07','top0','Social Work','u-sw.html','','154')

oCMenu2.makeMenu('top1','','Certificate','','','')
	oCMenu2.makeMenu('sub10','top1','Business','http://www.wcumba.org/index.php/academic-programs/business-certificate','','160')
	oCMenu2.makeMenu('sub11','top1','Geographic Technology','http://www.wcupa.edu/_academics/sch_sba/g-ge-certificate.html','','160')
	oCMenu2.makeMenu('sub12','top1','Nonprofit','http://www.wcupa.edu/_academics/sch_sba/g-msa-a-msa-hr.html','','160')	
	oCMenu2.makeMenu('sub13','top1','Human Resources','http://www.wcupa.edu/_academics/sch_sba/g-msa-a-cert.html','','160')	

	
oCMenu2.makeMenu('top2','','Graduate','','','')
	oCMenu2.makeMenu('sub20','top2','MBA','http://www.wcumba.org/','','160')
	oCMenu2.makeMenu('sub21','top2','MS: Administration','g-msa.html','','160')
	oCMenu2.makeMenu('sub22','top2','MS: Criminal Justice','g-cj.html','','160')	
	oCMenu2.makeMenu('sub23','top2','MA: Geography','g-ge.html','','160')	
	oCMenu2.makeMenu('sub24','top2','MSW: Social Work','g-sw.html','','160')	
	oCMenu2.makeMenu('sub25','top2','MSA: Regional Planning','g-msa-a-msa-rp.html','','160')	
	
oCMenu2.makeMenu('top3','','Centers','','','','')	
	oCMenu2.makeMenu('sub30','top3','Business Technology Center','http://www.btcwcu.org','_blank')
	oCMenu2.makeMenu('sub31','top3','GIS &amp; Spatial Analysis Lab','http://quantifactus.wcupa.edu/','_blank')
	oCMenu2.makeMenu('sub32','top3','Internet Presentaions Group','http://www.ipgwcu.org','_blank')	
	oCMenu2.makeMenu('sub33','top3','Survey Center','sc.html','')	
	oCMenu2.makeMenu('sub34','top3','Center for Organizational Effectiveness','oe.html','_blank','','36')	
	oCMenu2.makeMenu('sub35','top3','Graduate Business Center','http://www.gbcwcu.org','_blank')	
	oCMenu2.makeMenu('sub36','top3','WEDnetPA (Workforce & Economic Development Network of PA)','http://www.gbcwcu.org/wednet.html','_blank','','36')	
	oCMenu2.makeMenu('sub37','top3','Dr. Edwin Cottrell Entrepreneurial Leadership Center','http://www.cottrellcenter.org/','_blank','','36')	
		
oCMenu2.makeMenu('top4','','Dean','','','')
	oCMenu2.makeMenu('sub40','top4','Welcome Letter','d-wl.html','','120')
	oCMenu2.makeMenu('sub41','top4','Staff','d-st.html','','120')	
	oCMenu2.makeMenu('sub42','top4','Mission &amp; Values','d-mission.html','','120')	
	oCMenu2.makeMenu('sub43','top4','Learning Goals','business_programs.html','','120')	

oCMenu2.makeMenu('top5','','Business Center Campaign','pdf/ubc_ucc.pdf','_blank','275','')





//Leave this line - it constructs the menu
//oCMenu2.construct()