	window.onresize = new Function("window.location.reload();");
	var ie=(document.all)?1:0;
	var hide=-1;
	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;
	opera=window.opera?1:0;

	var isMozilla=false;
	var bDom = document.getElementById?1:0;
	var bVersion=navigator.appVersion;
	isMozilla=(bDom&&parseInt(bVersion)>=5)?1:0;

	//var menu_x=(screen.width == 800)?[3,71,151,206,294,394,571,610]:[113,183,263,318,404,504,683,718];
	var menu_x=[3,71,151,206,294,394,571,610];
	var menu_y=26;
	
	var str="";
	str+="<style>\n";
	str+="a.menu{font-family:arial; font-size:12px; color:#000000; text-decoration:none;}\n";
	str+="a.menu:hover{font-family:arial; font-size:12px; color:#000000; text-decoration:none;}\n";
if(ie)
	{
	str+="#Mmenu0{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[0] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu1{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[1] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu2{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[2] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu3{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[3] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu4{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[4] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu5{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[5] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu6{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[6] + ";visibility:hidden;z-index:10;}\n"; 
	str+="#Mmenu7{filter:alpha(opacity=95); position:absolute;top:" + menu_y +  ";left:" + menu_x[7] + ";visibility:hidden;z-index:10;}\n"; 
	}
else
	{
	str+="#Mmenu0{position:absolute;top:" + menu_y +  ";left:" + menu_x[0] + ";visibility:hidden;}";
	str+="#Mmenu1{position:absolute;top:" + menu_y +  ";left:" + menu_x[1] + ";visibility:hidden;}";
	str+="#Mmenu2{position:absolute;top:" + menu_y +  ";left:" + menu_x[2] + ";visibility:hidden;}";
	str+="#Mmenu3{position:absolute;top:" + menu_y +  ";left:" + menu_x[3] + ";visibility:hidden;}";
	str+="#Mmenu4{position:absolute;top:" + menu_y +  ";left:" + menu_x[4] + ";visibility:hidden;}\n";
	str+="#Mmenu5{position:absolute;top:" + menu_y +  ";left:" + menu_x[5] + ";visibility:hidden;}\n";
	str+="#Mmenu6{position:absolute;top:" + menu_y +  ";left:" + menu_x[6] + ";visibility:hidden;}\n";
	str+="#Mmenu7{position:absolute;top:" + menu_y +  ";left:" + menu_x[7] + ";visibility:hidden;}\n";
	}
	str+="</style>";
	document.write (str);

	function mout(x){
		
	}

	function hideall(){
		for(i=0;i<=7;i++) { 
			if(ie) eval("Mmenu"+i +".style.visibility='hidden';");
			else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+i);
				objMDiv.style.visibility="hidden";
			}
			else  document.layers[i].visibility="hide";
			}
	}
	function menu(x){
		temp=x;
		hideall();
		if(ie)eval("Mmenu"+ x).style.left = (mMenu.clientWidth>800?(mMenu.clientWidth-800)-((mMenu.clientWidth-800)/2)+menu_x[x]+9:menu_x[x]);
		if(ie)
		 eval("Mmenu"+ x +".style.visibility='visible';");
		else if (isMozilla){
				var objMDiv = document.getElementById("Mmenu"+ x);
				objMDiv.style.left = (window.innerWidth>800?(window.innerWidth-800)-((window.innerWidth-800)/2)+menu_x[x]:menu_x[x]-10);
				objMDiv.style.visibility="visible";
			}
		else  document.layers[x].visibility="show";
	}

	function smout(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#FFFFFF";
			eval("s"+x+y).childNodes[0].style.color = "#000000";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#FFFFFF";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#000000";
		}
	}

	function smover(x,y){
		if (!isMozilla){
			eval("s"+x+y).style.backgroundColor = "#587AA9";
			eval("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
		else{
			document.getElementById("s"+x+y).style.backgroundColor = "#587AA9";
			document.getElementById("s"+x+y).childNodes[0].style.color = "#ffffff";
		}
	}

	document.write("<div id='mMenu' style='width:100%'><img src='images/spacer.gif' width='100%' height='0'></div>");

	document.write ("<div id='Mmenu0'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='150'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s00' name='s00' onmouseover=smover('0','0');  onmouseout=smout('0','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/about_the_college.html'><a class='menu'>Founded Trust</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s01' name='s01' onmouseover=smover('0','1');  onmouseout=smout('0','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/the_background.html'><a class='menu'>Board Members</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu1'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='150'>");
//	document.write ("<tr bgcolor='#FFFFFF'><td id='s10' name='s10' onmouseover=smover('1','0');  onmouseout=smout('1','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/arts_and_science.html'><a class='menu'>Arts & Science</a></td></tr>");
//	document.write ("<tr bgcolor='#FFFFFF'><td id='s11' name='s11' onmouseover=smover('1','1');  onmouseout=smout('1','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/collegemitte.html'><a class='menu'>Collegemitte</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s12' name='s12' onmouseover=smover('1','2');  onmouseout=smout('1','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/president.html'><a class='menu'>President & Secretary</a></td></tr>");
//	document.write ("<tr bgcolor='#FFFFFF'><td id='s13' name='s13' onmouseover=smover('1','3');  onmouseout=smout('1','3') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/secretary.html'><a class='menu'>Secretary</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s14' name='s14' onmouseover=smover('1','4');  onmouseout=smout('1','4') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/principal.html'><a class='menu'>Principal</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s15' name='s15' onmouseover=smover('1','5');  onmouseout=smout('1','5') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/college_committee.html'><a class='menu'>College Committee</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s16' name='s16' onmouseover=smover('1','6');  onmouseout=smout('1','6') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "authorities/governing_body.html'><a class='menu'>Governing Body</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu2'>");
	document.write ("<table cellpadding=4 cellspacing=1 border=0 bgcolor='#000000' width='150'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s20' name='s20' onmouseover=smover('2','0');  onmouseout=smout('2','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/about_the_college.html'><a class='menu'>About the College</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s21' name='s21' onmouseover=smover('2','1');  onmouseout=smout('2','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/the_background.html'><a class='menu'>The Background</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s22' name='s22' onmouseover=smover('2','2');  onmouseout=smout('2','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/vision_and_mission.html'><a class='menu'>Vision & Mission</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s23' name='s23' onmouseover=smover('2','3');  onmouseout=smout('2','3') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/quality_policy.html'><a class='menu'>Quality Policy</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s24' name='s24' onmouseover=smover('2','4');  onmouseout=smout('2','4') style='cursor:hand;' onClick=javascript:fnAcademicEvolution('" + linkPath + "');><a class='menu'>Academic Evolution</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s25' name='s25' onmouseover=smover('2','5');  onmouseout=smout('2','5') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "psgcas/college_status.html'><a class='menu'>College Status</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu3'>");
	document.write ("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#000000' width='150'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s30' name='s30' onmouseover=smover('3','0'); onmouseout=smout('3','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/under_graduate.html'><a class='menu'>Under Graduate</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s31' name='s31' onmouseover=smover('3','1'); onmouseout=smout('3','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/post_graduate.html'><a class='menu'>Post Graduate</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s32' name='s32' onmouseover=smover('3','2'); onmouseout=smout('3','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/self_financing.html'><a class='menu'>Self Financing</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s33' name='s33' onmouseover=smover('3','3'); onmouseout=smout('3','3') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/diploma.html'><a class='menu'>Diploma/Certificate</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s34' name='s34' onmouseover=smover('3','4'); onmouseout=smout('3','4') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/add_on_courses.html'><a class='menu'>Add-on Courses</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s35' name='s35' onmouseover=smover('3','5'); onmouseout=smout('3','5') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/innovative_courses.html'><a class='menu'>Innovative Courses</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s36' name='s36' onmouseover=smover('3','6'); onmouseout=smout('3','6') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/research.html'><a class='menu'>Research</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s37' name='s37' onmouseover=smover('3','7'); onmouseout=smout('3','7') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/credit_system.html'><a class='menu'>Credit System</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s38' name='s38' onmouseover=smover('3','8'); onmouseout=smout('3','8') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "programmes/co_curricular.html'><a class='menu'>Co-Curricular</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");


	document.write ("<div id='Mmenu4'>");
	document.write ("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#000000' width='130'>");
	//document.write ("<tr bgcolor='#FFFFFF'><td id='s40' name='s40' onmouseover=smover('4','0'); onmouseout=smout('4','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "faculty/aided.html'><a class='menu'>Aided</a></td></tr>");
	//document.write ("<tr bgcolor='#FFFFFF'><td id='s41' name='s41' onmouseover=smover('4','1'); onmouseout=smout('4','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "faculty/faculty_self_financing.html'><a class='menu'>Self Financing</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s40' name='s40' onmouseover=smover('4','0'); onmouseout=smout('4','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "faculty/faculty.asp?Cname=1'><a class='menu'>Aided</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s41' name='s41' onmouseover=smover('4','1'); onmouseout=smout('4','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "faculty/faculty.asp?Cname=2'><a class='menu'>Self Financing</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu5'>");
	document.write ("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#000000' width='180'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s50' name='s50' onmouseover=smover('5','0'); onmouseout=smout('5','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "admissions/admission_procedures.html'><a class='menu'>Admission Procedures</a></td></tr>");
	// document.write ("<tr bgcolor='#FFFFFF'><td id='s51' name='s51' onmouseover=smover('5','1'); onmouseout=smout('5','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "admissions/download_applications.html'><a class='menu'>Download Applications</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s52' name='s52' onmouseover=smover('5','2'); onmouseout=smout('5','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "admissions/fee_structure.html'><a class='menu'>Fee Structure</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s53' name='s53' onmouseover=smover('5','3'); onmouseout=smout('5','3') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "admissions/scholarship.html'><a class='menu'>Scholarship</a></td></tr>");
//	document.write ("<tr bgcolor='#FFFFFF'><td id='s54' name='s54' onmouseover=smover('5','4'); onmouseout=smout('5','4') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "admissions/request_for_information.html'><a class='menu'>Request for more information</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");


	document.write ("<div id='Mmenu6'>");
	document.write ("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#000000' width='150'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s60' name='s60' onmouseover=smover('6','0'); onmouseout=smout('6','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "/results/'><a class='menu'>Results</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s61' name='s61' onmouseover=smover('6','1'); onmouseout=smout('6','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "examinations/regulations.html'><a class='menu'>Regulations</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s62' name='s62' onmouseover=smover('6','2'); onmouseout=smout('6','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "examinations/theory.html'><a class='menu'>Schedules</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

	document.write ("<div id='Mmenu7'>");
	document.write ("<table cellpadding=2 cellspacing=1 border=0 bgcolor='#000000' width='170'>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s70' name='s70' onmouseover=smover('7','0'); onmouseout=smout('7','0') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "calendars/college_academic_calendar.asp'><a class='menu'>College Academic Calendar</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s71' name='s71' onmouseover=smover('7','1'); onmouseout=smout('7','1') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "calendars/events.asp'><a class='menu'>Events at PSGCAS</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s72' name='s72' onmouseover=smover('7','2'); onmouseout=smout('7','2') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "calendars/photogallery.asp'><a class='menu'>Photo Gallery</a></td></tr>");
	document.write ("<tr bgcolor='#FFFFFF'><td id='s73' name='s73' onmouseover=smover('7','3'); onmouseout=smout('7','3') style='cursor:hand;' onClick=javascript:location.href='" + linkPath + "calendars/clubs.asp'><a class='menu'>Clubs</a></td></tr>");
	document.write ("</table>");
	document.write ("</div>");

