

/*****************************************************************************

Default browsercheck

******************************************************************************/

function lib_bwcheck(){ //Browsercheck (needed)

	this.ver=navigator.appVersion; this.agent=navigator.userAgent

	this.dom=document.getElementById?1:0

	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;

	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;

	this.ie4=(document.all && !this.dom)?1:0;

	this.ie=this.ie4||this.ie5||this.ie6

	this.mac=this.agent.indexOf("Mac")>-1

	this.opera5=this.agent.indexOf("Opera 5")>-1

	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;

	this.ns4=(document.layers && !this.dom)?1:0;

	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)

	return this

}

var bw=new lib_bwcheck()

var mDebugging=0



oCMenu=new makeCoolMenu("oCMenu")

oCMenu.useframes=0

oCMenu.frame=""

oCMenu.useNS4links=1

oCMenu.NS4padding=2

oCMenu.checkselect=0

oCMenu.offlineUrl="/homepage/"

oCMenu.onlineUrl="http://www.srilankawebhosting.com/"



oCMenu.pagecheck=1

oCMenu.checkscroll=0

oCMenu.resizecheck=0

oCMenu.wait=1000



oCMenu.usebar=0

oCMenu.barcolor="#FFCC00"

oCMenu.barwidth="menu"

oCMenu.barheight="menu"

oCMenu.barx="menu"

oCMenu.bary="menu"

oCMenu.barinheritborder=0



oCMenu.rows=1

oCMenu.fromleft=0

oCMenu.fromtop=72

oCMenu.pxbetween=0

oCMenu.menuplacement="left"

oCMenu.NS4hover=1



oCMenu.level[0]=new Array()

oCMenu.level[0].width=107

oCMenu.level[0].height=19

oCMenu.level[0].bgcoloroff="#FFCC00"

oCMenu.level[0].bgcoloron="#000066"

oCMenu.level[0].textcolor="#000000"

oCMenu.level[0].hovercolor="#FFFFFF"

oCMenu.level[0].style="font-family:Arial,Helvetica,sans-serif; font-size:12px;  text-align:center;"

oCMenu.level[0].border=1

oCMenu.level[0].bordercolor="#003366"

oCMenu.level[0].offsetX=-110

oCMenu.level[0].offsetY=19

oCMenu.level[0].NS4font="arial,helvetica"

oCMenu.level[0].NS4fontSize="2"

oCMenu.level[0].NS4fontColor="white"

oCMenu.level[0].align="left"



oCMenu.level[1]=new Array()

oCMenu.level[1].height=18

oCMenu.level[1].offsetX=-218

oCMenu.level[1].offsetY=0

oCMenu.level[1].style="font-family:Arial,Helvetica,sans-serif; font-size:12px; font-weight:normal"//dynamic effect (controllable for each level)

oCMenu.level[0].clip=1

oCMenu.level[0].clippx=6

oCMenu.level[0].cliptim=2



//special animation filters (IE5.5+ only, controllable for each level).

oCMenu.level[0].filter=0



	oCMenu.makeMenu('top0','','&nbsp;About Royal','../aboutroyal/aboutroyal.shtml','')

	oCMenu.makeMenu('sub0_0','top0',' Founder','../aboutroyal/founder.shtml')

	oCMenu.makeMenu('sub0_1','top0',' Past Principals','../aboutroyal/pastprincipals.shtml')

	oCMenu.makeMenu('sub0_2','top0',' College Song','../aboutroyal/collegesong.shtml')

	oCMenu.makeMenu('sub0_3','top0',' Crest ','../aboutroyal/crest.shtml')

	oCMenu.makeMenu('sub0_4','top0',' Flag ','../aboutroyal/flag.shtml')

	oCMenu.makeMenu('sub0_5','top0',' Motto ','../aboutroyal/motto.shtml')



	oCMenu.makeMenu('top1','',' Administration','../administration/administration.shtml')

	oCMenu.makeMenu('sub1_1','top1',' Principal ','../administration/principal.shtml')

	oCMenu.makeMenu('sub1_2','top1',' Senior Admin. ','../administration/adminprincipal.shtml')

	oCMenu.makeMenu('sub1_3','top1',' Tutorial Staff ','')

	oCMenu.makeMenu('sub1_3_1','sub1_3',' Upper School ','../administration/upperschool.shtml')

	oCMenu.makeMenu('sub1_3_2','sub1_3',' Middle School ','../administration/middleschool.shtml')

	oCMenu.makeMenu('sub1_3_3','sub1_3',' Lower School ','../administration/lowerschool.shtml')

	oCMenu.makeMenu('sub1_3_4','sub1_3',' Primary Section ','../administration/primarysection.shtml')

	oCMenu.makeMenu('sub1_3_5','sub1_3',' Teachers Guild ','../administration/teachersguild.shtml')

	oCMenu.makeMenu('sub1_4','top1',' Non Academic Staff ','../administration/nonacademicstaff.shtml')

	oCMenu.makeMenu('sub1_5','top1',' Prefects / Stewards ','../administration/prefects_stewards.shtml')

	oCMenu.makeMenu('sub1_6','top1',' School Dev.Society ','../administration/schooldev_society.shtml')

	oCMenu.makeMenu('sub1_7','top1',' Room Mothers ','../administration/roommothers.shtml')

	oCMenu.makeMenu('sub1_8','top1',' Admission Criteria ','../administration/admission_criteria.shtml')




	oCMenu.makeMenu('top2','',' Academic','../academic/academic.shtml')

	oCMenu.makeMenu('sub2_1','top2',' Performances ','')

	oCMenu.makeMenu('sub2_1_1','sub2_1',' A/L ','../academic/performances_al.shtml')

	oCMenu.makeMenu('sub2_1_2','sub2_1',' O/L ','../academic/performances_ol.shtml')

	oCMenu.makeMenu('sub2_2','top2',' Curriculum ','../academic/curriculum.shtml')

	oCMenu.makeMenu('sub2_3','top2',' Prizes ','../academic/prizes.shtml')

	oCMenu.makeMenu('sub2_4','top2',' Endows& Schols ','../academic/endowments.shtml')



	oCMenu.makeMenu('top3','',' Co Curricular','../sports/coreactivatesintro.shtml	')

	oCMenu.makeMenu('sub3_1','top3',' Clubs & Societies ','../clubs/clubsandsociety.shtml')

	oCMenu.makeMenu('sub3_2','top3',' Indoor Sports','')

	oCMenu.makeMenu('sub3_2_1','sub3_2',' Ashiara Karate ','../sports/sports_karate.shtml')

	oCMenu.makeMenu('sub3_2_2','sub3_2',' Badminton ','../sports/sports_badminton.shtml')

	oCMenu.makeMenu('sub3_2_3','sub3_2',' Boxing ','../sports/sports_boxing.shtml')

	oCMenu.makeMenu('sub3_2_4','sub3_2',' Scrabble ','../sports/sports_scrabble.shtml')

	oCMenu.makeMenu('sub3_2_5','sub3_2',' Squash ','../sports/sports_squash.shtml')

	oCMenu.makeMenu('sub3_2_6','sub3_2',' Table Tennis ','../sports/sports_tabletennis.shtml')

	oCMenu.makeMenu('sub3_2_7','sub3_2',' Wushu ','../sports/sports_wushu.shtml')

	oCMenu.makeMenu('sub3_2_8','sub3_2',' Carrom ','../sports/sports_caroom.shtml')

	oCMenu.makeMenu('sub3_2_9','sub3_2',' Chess ','../sports/sports_chess.shtml')

	oCMenu.makeMenu('sub3_2_10','sub3_2',' Gymnastic ','../sports/sports_gymnastics.shtml')

	oCMenu.makeMenu('sub3_3','top3',' Outdoor Sports ','')

	oCMenu.makeMenu('sub3_3_1','sub3_3',' Athletics ','../sports/sports_athletics.shtml')

	oCMenu.makeMenu('sub3_3_2','sub3_3',' Baseball ','../sports/sports_baseball.shtml')

	oCMenu.makeMenu('sub3_3_3','sub3_3',' Basketball ','../sports/sports_basketball.shtml')

	oCMenu.makeMenu('sub3_3_4','sub3_3',' Cricket ','../sports/sports_cricket.shtml')

	oCMenu.makeMenu('sub3_3_5','sub3_3',' Hockey ','../sports/sports_hockey.shtml')

	oCMenu.makeMenu('sub3_3_6','sub3_3',' Rowing ','../sports/sports_rowing.shtml')

	oCMenu.makeMenu('sub3_3_7','sub3_3',' Swimming ','../sports/sports_swimming.shtml')

	oCMenu.makeMenu('sub3_3_8','sub3_3',' Rugby ','../sports/sports_rugby.shtml')

	oCMenu.makeMenu('sub3_3_9','sub3_3',' Soccer ','../sports/sports_soccer.shtml')

	oCMenu.makeMenu('sub3_3_10','sub3_3',' Volley Ball ','../sports/sports_volleyball.shtml')

	oCMenu.makeMenu('sub3_3_11','sub3_3',' Tennis ','../sports/sports_tennis.shtml')

	oCMenu.makeMenu('sub3_3_12','sub3_3',' Cycling ','../sports/sports_cycling.shtml')

	oCMenu.makeMenu('sub3_4','top3',' Colours','../news/pdf file ish.pdf')

	oCMenu.makeMenu('sub3_5','top3',' Leadershiptraining','../news/leadershiptraining_prefects.shtml')

	oCMenu.makeMenu('sub3_6','top3',' Other Activities','')

//	oCMenu.makeMenu('sub3_6_1','sub3_6',' Cadet Band ','../sports/sports_cadetband.html')

	oCMenu.makeMenu('sub3_6_2','sub3_6',' Cadet Contingent ','../sports/sports_cadetconntingent.shtml')

	oCMenu.makeMenu('sub3_6_3','sub3_6',' Ves.Dancers ','../sports/vesdances.shtml')

	oCMenu.makeMenu('sub3_6_4','sub3_6',' Scouting ','../currentprojects/scout_complex.shtml')



	oCMenu.makeMenu('top4','',' Infrastructure','../infrastructure/infrastructure.shtml')

	//oCMenu.makeMenu('sub4_1','top4',' Map ','')

	oCMenu.makeMenu('sub4_2','top4',' Academic ','')

	oCMenu.makeMenu('sub4_2_1','sub4_2',' Libraries ','../infrastructure/libraries.shtml')

	//oCMenu.makeMenu('sub4_2_2','sub4_2',' Labs ','')

	oCMenu.makeMenu('sub4_2_3','sub4_2',' Computer Centre ','../infrastructure/computercenter.shtml')

	oCMenu.makeMenu('sub4_3','top4',' Sports ','')

	oCMenu.makeMenu('sub4_3_1','sub4_3',' JRJ Pavilion ','../infrastructure/jrjpav_committee.shtml')

	oCMenu.makeMenu('sub4_3_2','sub4_3',' Swimming Pool ','../infrastructure/swimmingpool.shtml')

	oCMenu.makeMenu('sub4_3_3','sub4_3',' Sports Complex ','../infrastructure/sports_complex.shtml')

	oCMenu.makeMenu('sub4_4','top4',' Accommodation ','')

	oCMenu.makeMenu('sub4_4_1','sub4_4',' Hostel ','../infrastructure/hostel.shtml')

	//oCMenu.makeMenu('sub4_5','top4',' Entertainment ','')

	//oCMenu.makeMenu('sub4_5_1','sub4_5',' Navarangahala ','../infrastructure/navaragahala.shtml')

	//oCMenu.makeMenu('sub4_5_2','sub4_5',' Little Theater ','../infrastructure/littletheatre.shtml')

	//oCMenu.makeMenu('sub4_6','top4',' Health Services ','')

	//oCMenu.makeMenu('sub4_6_1','sub4_6',' Dental Clinic ','../infrastructure/dental.shtml')

	//oCMenu.makeMenu('sub4_6_2','sub4_6',' Medical Center ','')

	//oCMenu.makeMenu('sub4_7','top4',' Other ','')



//	oCMenu.makeMenu('top5','',' Calendar','../sports/calendar.shtml')
	oCMenu.makeMenu('top5','',' Current News','http://www.inforoyal.com')





	oCMenu.makeMenu('top6','',' RCU & Projects','')

	oCMenu.makeMenu('sub6_1','top6',' Loyalty Pledge ','../currentprojects/loyaltypledge.shtml')

	oCMenu.makeMenu('sub6_2','top6',' Skills Centre ','../news/scouts_centre_project.shtml')

	oCMenu.makeMenu('sub6_3','top6',' Sports Complex ','../currentprojects/sports_complex.shtml')

	oCMenu.makeMenu('sub6_4','top6',' IT Centre ','../currentprojects/computercenter.shtml')

	oCMenu.makeMenu('sub6_5','top6',' Union ','../union/index.html')





//menu activation

oCMenu.makeStyle(); oCMenu.construct()