
/*** 
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.
**/
//79
//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname
oCMenu.frames = 0

//Menu properties
oCMenu.pxBetween=0
oCMenu.fromLeft=20
oCMenu.fromTop=118

oCMenu.offsetX=0
oCMenu.offsetY=0
oCMenu.rows=1
oCMenu.menuPlacement="Center"

oCMenu.offlineRoot=""
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1
oCMenu.wait=250
oCMenu.fillImg="cm_fill.gif" //for call menue buttom image
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="10%"
oCMenu.barHeight="menu"
oCMenu.barClass="LalanthaBar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=1
oCMenu.barBorderY=1
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='10'
oCMenu.level[0].height='33'
oCMenu.level[0].regClass="Lalanthareg" 
oCMenu.level[0].overClass="Lalanthaovr"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="Lalanthaboder1"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" // visibal rate
oCMenu.level[0].slidepx=8 //menue flowing rate
oCMenu.level[0].slidetim=4 //menue flowing rate

//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].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" 
oCMenu.level[1].width=oCMenu.level[0].width // with call from 0 level
oCMenu.level[1].height='22'
oCMenu.level[1].regClass="Lalanthacla"
oCMenu.level[1].overClass="Lalanthaovr"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=-1
oCMenu.level[1].borderClass="Lalanthaboder2"
oCMenu.level[1].slidepx=6
oCMenu.level[1].slidetim=3

//-(oCMenu.level[0].width-2)/2+20

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify 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].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" 
oCMenu.level[2].width=150
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=-100
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderX=0
oCMenu.level[2].borderY=1
oCMenu.level[2].regClass=oCMenu.level[0].regClass
oCMenu.level[2].overClass="Lalanthaovr"
oCMenu.level[2].borderClass="Lalanthaboder2"


//EXAMPLE SUB LEVEL[3] PROPERTIES - You have to spesify 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[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=150
oCMenu.level[3].height=20
oCMenu.level[3].offsetX=-6
oCMenu.level[3].offsetY=0
oCMenu.level[3].borderX=1
oCMenu.level[3].borderY=1
oCMenu.level[3].regClass=oCMenu.level[0].regClass
oCMenu.level[3].overClass="Lalanthaovr"
oCMenu.level[3].borderClass="Lalanthaboder2"
oCMenu.level[3].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" 

/******************************************
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('IS','','Information System','./Faculty/welcome.htm','','120','20','')
oCMenu.makeMenu('NE','','News and Events','./Faculty of Sience/News & Events/News & Events .htm','','120','20','')
oCMenu.makeMenu('UM','','University Map','http://www.kln.ac.lk/pages/map/university_map_main.html','_blank','100','20')
oCMenu.makeMenu('CU','','Contact','./Faculty of Sience/contact/contact us.htm','','60','20')
oCMenu.makeMenu('UOK','','Kelani Home','http://www.kln.ac.lk','','100','20','')
oCMenu.makeMenu('KM','','Kelani Mail','http://mail.kln.ac.lk/mail/src/login.php','','100','20','')
oCMenu.makeMenu('SC','','Search','./Faculty of Sience/Serch/surch.htm','','100','20','')
		
//Leave this line - it constructs the menu

oCMenu.construct()

oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname
oCMenu2.frames =0

//Menu properties
oCMenu2.pxBetween=0
oCMenu2.fromLeft=0
oCMenu2.fromTop=150

oCMenu2.offsetX=-100
oCMenu2.offsetY=0
oCMenu2.rows=0
oCMenu2.menuPlacement=""

oCMenu2.offlineRoot=""
oCMenu2.onlineRoot="" 
oCMenu2.resizeCheck=1
oCMenu2.wait=250
oCMenu2.fillImg="cm_fill.gif" //for call menue buttom image
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0
oCMenu2.barWidth="10%"
oCMenu2.barHeight="menu"
oCMenu2.barClass="Lalanthareg"
oCMenu2.barX=0
oCMenu2.barY=0
oCMenu2.barBorderX=1
oCMenu2.barBorderY=1
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='10'
oCMenu2.level[0].height='33'
oCMenu2.level[0].regClass="Lalanthareg" 
oCMenu2.level[0].overClass="Lalanthaovr"
oCMenu2.level[0].borderX=0
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="Lalanthaboder1"
oCMenu2.level[0].offsetX=142 //Place memue By X
oCMenu2.level[0].offsetY=-25	//Place memue By y
oCMenu2.level[0].rows=0
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.level[0].align="bottom"
oCMenu2.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" // visibal rate
oCMenu2.level[0].slidepx=8 //menue flowing rate
oCMenu2.level[0].slidetim=4 //menue flowing rate

//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].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" 
oCMenu2.level[1].width=oCMenu2.level[0].width // with call from 0 level
oCMenu2.level[1].height='22'
oCMenu2.level[1].regClass="Lalanthareg"
oCMenu2.level[1].overClass="Lalanthaovr"
oCMenu2.level[1].borderX=0
oCMenu2.level[1].borderY=1
oCMenu2.level[1].align="right" 
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="Lalanthaboder2"
oCMenu2.level[1].slidepx=6
oCMenu2.level[1].slidetim=3
oCMenu2.level[1].rows=0

//-(oCMenu2.level[0].width-2)/2+20


/******************************************
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('ae','','Academic Information','','','141','23','')
	oCMenu2.makeMenu('ac','ae','Calendar','./Faculty of Sience/academic calendar/academic calendar.htm','','120','23')
	oCMenu2.makeMenu('re','ae','Results','./Faculty of Sience/results/results.htm','','120','23')
	oCMenu2.makeMenu('ug','ae','Undergraduate','./Faculty of Sience/academic information/undergraduate/undergraduate.htm','','120','23')
	oCMenu2.makeMenu('pg','ae','Postgraduate','./Faculty of Sience/academic information/postgraduate/postgraduate.htm','','120','23')
	oCMenu2.makeMenu('sh','ae','Student Handbook','./Faculty of Sience/hand book/hand book.htm','','120','23')
	oCMenu2.makeMenu('sy','ae','Syllabus','./Faculty of Sience/syllabus/syllabus.htm','','120','23')
		
oCMenu2.makeMenu('de','','Departments','','','141','23','')
	oCMenu2.makeMenu('bo','de','Botany','http://www.kln.ac.lk/science/botany/index.html','','150','23')
	oCMenu2.makeMenu('ch','de','Chemistry','http://www.kln.ac.lk/science/Chemistry/index.html','','150','23')
	oCMenu2.makeMenu('im','de','Industrial Management','http://www.mit.kln.ac.lk','','150','23')
	oCMenu2.makeMenu('ma','de','Mathematics','http://www.kln.ac.lk/science/maths/page/index.html','','150','23')
	oCMenu2.makeMenu('mi','de','Microbiology','http://www.kln.ac.lk/science/microbiology/microAbout.htm','','150','23')
	oCMenu2.makeMenu('ph','de','Physics','http://www.kln.ac.lk/science/physics/index.html','','150','23')
	oCMenu2.makeMenu('sc','de','Statistics & Computer Science','./stcs_new/index.html','','150','38')
	oCMenu2.makeMenu('zo','de','Zoology','http://www.kln.ac.lk/science/Zoology/index.htm','','150','23')

oCMenu2.makeMenu('af','','About the Faculty','','','141','23','')
		oCMenu2.makeMenu('hi','af','History','./Faculty of Sience/history/history.htm','','120','23')
		oCMenu2.makeMenu('mis','af','Mission','./Faculty of Sience/mission/mission.htm','','120','23')
		
oCMenu2.makeMenu('st','','Academic Staff','./Faculty of Sience/Staff/academic staff/academic staff .htm','','141','23')
		oCMenu2.makeMenu('fos','',"Dean's Office",'./Faculty of Sience/Staff/faculty administrators/faculty administrators .htm','','141','23')

oCMenu2.makeMenu('cu','','ICT Center','http://www.kln.ac.lk/ICTC/','','141','23')
oCMenu2.makeMenu('gb','','Glass Blowing unit','./Faculty of Sience/glass blowing/glass blowing.htm','','141','23')

		
oCMenu2.makeMenu('JS','','Journal of Science','./Faculty of Sience/journal of science/journalofscience.htm','','141','23','')
oCMenu2.makeMenu('AL','','Alumni','./Alumni/index.html','','141','23','')
oCMenu2.makeMenu('SSU','',"Science Students' Union",'','','141','23','')
		
//Leave this line - it constructs the menu

oCMenu2.construct()



oCMenu3=new makeCM("oCMenu3") //Making the menu object. Argument: menuname
oCMenu3.frames = 0

//Menu properties
oCMenu3.pxBetween=0
oCMenu3.fromLeft=610
oCMenu3.fromTop=150

oCMenu3.offsetX=-100
oCMenu3.offsetY=0
oCMenu3.rows=0
oCMenu3.menuPlacement=""

oCMenu3.offlineRoot=""
oCMenu3.onlineRoot="" 
oCMenu3.resizeCheck=1
oCMenu3.wait=250
oCMenu3.fillImg="cm_fill.gif" //for call menue buttom image
oCMenu3.zIndex=0

//Background bar properties
oCMenu3.useBar=0
oCMenu3.barWidth="10%"
oCMenu3.barHeight="menu"
oCMenu3.barClass="Lalanthareg"
oCMenu3.barX=0
oCMenu3.barY=0
oCMenu3.barBorderX=1
oCMenu3.barBorderY=1
oCMenu3.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu3.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu3.level[0].width='10'
oCMenu3.level[0].height='33'
oCMenu3.level[0].regClass="Lalanthareg" 
oCMenu3.level[0].overClass="Lalanthaovrtopm"
oCMenu3.level[0].borderX=0
oCMenu3.level[0].borderY=1
oCMenu3.level[0].borderClass="Lalanthaboder1"
oCMenu3.level[0].offsetX=-170 //Place memue By X
oCMenu3.level[0].offsetY=-25	//Place memue By y
oCMenu3.level[0].rows=0
oCMenu3.level[0].arrow=0
oCMenu3.level[0].arrowWidth=0
oCMenu3.level[0].arrowHeight=0
oCMenu3.level[0].align="bottom"
oCMenu3.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" // visibal rate
oCMenu3.level[0].slidepx=8 //menue flowing rate
oCMenu3.level[0].slidetim=4 //menue flowing rate

//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
oCMenu3.level[1]=new cm_makeLevel()//Add this for each new level (adding one to the number)
oCMenu3.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=.6)" 
oCMenu3.level[1].width=oCMenu3.level[0].width // with call from 0 level
oCMenu3.level[1].height='22'
oCMenu3.level[1].regClass="Lalanthareg"
oCMenu3.level[1].overClass="Lalanthaovr"
oCMenu3.level[1].borderX=0
oCMenu3.level[1].borderY=1
oCMenu3.level[1].align="left" 
oCMenu3.level[1].offsetX=-1
oCMenu3.level[1].offsetY=-1
oCMenu3.level[1].borderClass="Lalanthaboder2"
oCMenu3.level[1].slidepx=6
oCMenu3.level[1].slidetim=3
oCMenu3.level[1].rows=0

//-(oCMenu3.level[0].width-2)/2+20


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/

oCMenu3.makeMenu('irque','','IRQUE','http://www.kln.ac.lk/irque','_blank','141','23')
oCMenu3.makeMenu('ofa','','Other Faculties','http://www.qaacouncil.lk','_blank','141','23')
	oCMenu3.makeMenu('cm','ofa','Commerce and Management Studies','http://www.kln.ac.lk/fcms/default.htm','_blank','170','30')
	oCMenu3.makeMenu('gs','ofa','Graduate Studies','http://www.kln.ac.lk/pages/graduatestudies.html','_blank','170','20')
	oCMenu3.makeMenu('hu','ofa','Humanities','http://www.kln.ac.lk/humanities/index.html','_blank','170','20')
	oCMenu3.makeMenu('me','ofa','Medicine','http://www.med.kln.ac.lk/','_blank','170','20')
	oCMenu3.makeMenu('ss','ofa','Social Sciences','http://www.kln.ac.lk/social/social/social.htm','_blank','170','20')
	
oCMenu3.makeMenu('ed','','EDCON','./Faculty of Sience/edcon/edcon.htm','_blank','141','23','')
oCMenu3.makeMenu('li','','Library','http://www.kln.ac.lk/library/index.htm','_blank','141','23','')
oCMenu3.makeMenu('dd','','Useful Links','_blank','','141','23','')
	oCMenu3.makeMenu('osu','dd','Other Srilankan Universities','','','185','20')
		oCMenu3.makeMenu('Col','osu','Colombo','http://www.cmb.ac.lk','','170','20')
		oCMenu3.makeMenu('eas','osu','Eastern','http://www.esn.ac.lk','','170','20') 
		oCMenu3.makeMenu('jaf','osu','Jaffna','http://www.jfn.ac.lk','','170','20')
		oCMenu3.makeMenu('mor','osu','Moratuwa','http://www.mrt.ac.lk','','170','20')
		oCMenu3.makeMenu('ope','osu','Open university','http://www.ou.ac.lk','','170','20')
		oCMenu3.makeMenu('per','osu','Peradeniya','http://www.pdn.ac.lk','','170','20')
		oCMenu3.makeMenu('raj','osu','Rajarata','http://www.rjt.slt.lk','','170','20')
		oCMenu3.makeMenu('ruh','osu','Ruhuna','http://www.ruh.ac.lk','','170','20')
		oCMenu3.makeMenu('sab','osu','Sabaragamuwa','http://www.sab.ac.lk','','170','20')
		oCMenu3.makeMenu('sou','osu','South Eastern','http://www.sue.ac.lk','','170','20')
		oCMenu3.makeMenu('sri','osu','Sri Jayawardenapura','http://www.sjp.ac.lk','','170','20')
		oCMenu3.makeMenu('way','osu','Wayamba','http://www.wyb.ac.lk','','170','20')
	oCMenu3.makeMenu('qaa','dd','QAA','http://www.qaacouncil.lk','_blank','185','20')
		

oCMenu3.makeMenu('ugc','dd','University Grants Commission','http://www.ugc.ac.lk','','185','23')
oCMenu3.makeMenu('mhe','dd','Ministry of Higher Education','','','185','23')

	
		
//Leave this line - it constructs the menu

oCMenu3.construct()

	
