/*** 
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
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=50
oCMenu.fromTop=89
oCMenu.rows=1      //determines if the lev 0 will be verticle or horizontal
oCMenu.menuPlacement="left"                                       
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=700
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1             //this turns the background bar on and off... (0) is off!!
oCMenu.barWidth="100px"
oCMenu.barHeight="menu" 
oCMenu.barClass="cl2Bar"
oCMenu.barX=0 
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=100                //width for each topnav term
oCMenu.level[0].height=18                //height of top nav bar and text 
oCMenu.level[0].regClass="cl2Level0"
oCMenu.level[0].overClass="cl2Level0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="cl2Level0border"
oCMenu.level[0].offsetX=10   //moving sub menu off to the right so it is not on top of lev 0 menu...
oCMenu.level[0].offsetY=0   //moves the sub menu up and down...I have it about 1/2 way down now (even would be 18px)
oCMenu.level[0].rows=0       //determines if the lev 1 will be verticle or horizontal
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.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
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-2
oCMenu.level[1].width=165
oCMenu.level[1].height=18
oCMenu.level[1].regClass="cl2Level1"
oCMenu.level[1].overClass="cl2Level1over"
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="cl2Level1border"
oCMenu.level[1].rows=0      //determines if the lev 2 will be verticle or horizontal

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-2
oCMenu.level[2].width=160
oCMenu.level[2].height=18
oCMenu.level[2].regClass="cl2Level2"
oCMenu.level[2].overClass="cl2Level2over"
oCMenu.level[2].borderX=0
oCMenu.level[2].borderY=0
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="cl2Level2border"
oCMenu.level[2].rows=0  


/******************************************
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','','&nbsp;Academics','','')
	oCMenu.makeMenu('sub00','top0','Introduction','','',155,18)
      oCMenu.makeMenu('subsub000','sub00','Overview','u-mg-a.html','',115,18)
      oCMenu.makeMenu('subsub001','sub00','Pre-business Program','u-mg-a-pre.html','',115,18)
	oCMenu.makeMenu('sub01','top0','Bachelor&nbsp;of&nbsp;Science','','',155,18)
	  oCMenu.makeMenu('subsub010','sub01','Introduction','u-mg-a-bs-int.html','',120,18)
      oCMenu.makeMenu('subsub011','sub01','Retention Requirements','u-mg-a-bs-ret.html','',120,18)
	  oCMenu.makeMenu('subsub012','sub01','Transfer Students','u-mg-a-bs-tfr.html','',120,18)
	oCMenu.makeMenu('sub02','top0','Minor in International Business','','',155,18)
	  oCMenu.makeMenu('subsub020','sub02','Introduction','u-mg-a-mib.html','',120,18)
      oCMenu.makeMenu('subsub021','sub02','Fact Sheet','pdf/factsheet.pdf','_blank',120,18)
	  //oCMenu.makeMenu('subsub022','sub02','Application for Minor','u-mg-a-mib-app.html','_blank',120,18)
	oCMenu.makeMenu('sub03','top0','Mission Statement','u-mg-a-mission.html','',155,18)
	oCMenu.makeMenu('sub04','top0','Learning Goals','u-mg-a-lg.html','',155,18)
	//This page was ommitted but in case they want to add it again: u-mg-a-bmg.html under bachelor of science
	
oCMenu.makeMenu('top1','','&nbsp;Careers','')
	oCMenu.makeMenu('sub10','top1','Introduction','u-mg-c.html','',100,18)
	oCMenu.makeMenu('sub11','top1','Alumni','u-mg-c-al.html','',100,18)
	oCMenu.makeMenu('sub12','top1','Internships','','',100,18)
	  oCMenu.makeMenu('subsub120','sub12','Overview','u-mg-c-in_ov.html','',100,18)
 	  oCMenu.makeMenu('subsub121','sub12','Internship Syllabus','u-mg-c-in_syl.html','',100,18)
  	  oCMenu.makeMenu('subsub122','sub12','Internship FAQs','u-mg-c-in_faq.html','',100,18)
	oCMenu.makeMenu('sub13','top1','Employers','u-mg-c-ea.html','',100,18)
	
	
oCMenu.makeMenu('top2','','&nbsp;Departmental Life','')
	oCMenu.makeMenu('sub20','top2','Introduction','u-mg-d.html','',120,18)
	oCMenu.makeMenu('sub21','top2','Student Advising','u-mg-d-sa.html','',120,18)
	oCMenu.makeMenu('sub22','top2','Events','u-mg-d-de.html','',120,18)
	oCMenu.makeMenu('sub23','top2','Student&nbsp;Groups','u-mg-d-sg.html','',120,18)
	oCMenu.makeMenu('sub24','top2','Professional&nbsp;Groups','u-mg-d-pg.html','',120,18)
	

oCMenu.makeMenu('top3','','&nbsp;Faculty','')
	oCMenu.makeMenu('sub30','top3','About&nbsp;Us','u-mg-f.html','',120,18)
	oCMenu.makeMenu('sub31','top3','Department&nbsp;Faculty','http:\/\/www.webcourse.com/SBPA/cgi-bin/sbpa-faculty-view.cgi?man','',120,18)
	oCMenu.makeMenu('sub32','top3','CBPA&nbsp;Faculty','http:\/\/www.webcourse.com/SBPA/cgi-bin/sbpa-faculty-view.cgi','',120,18)
	
	
oCMenu.makeMenu('top5','','&nbsp;Courses','')
	oCMenu.makeMenu('sub50','top5','About&nbsp;Our&nbsp;Courses','u-mg-cl.html','',120,18)
	oCMenu.makeMenu('sub51','top5','Course&nbsp;Listing','http:\/\/www.webcourse.com/SBPA/cgi-bin/sbpa-course-view.cgi?man','',120,18)
	

oCMenu.makeMenu('top6','','&nbsp;Excel Exam','http://quantifactus.wcupa.edu/exceltest.html','_blank')	
	


//Leave this line - it constructs the menu
//oCMenu.construct()	