function fnTop(page)
	{
	var str="";
	str+="<table cellpadding='0' cellspacing='0' border='0'>";
	str+="<tr><td colspan='3'><img src='" + linkPath + "images/menu.gif' border='0' width='780' height='27' alt='' usemap='#menu_Map'></td></tr>";
	str+="<tr onMouseOver='hideall();'>";
	str+="		<td height='112' valign='top' style='padding-left:15px; padding-top:5px;' width=117 rowspan=2><a href='" + linkPath + "index.asp'><img src='" + linkPath + "images/logo.gif' border=0 width=89 height=91 alt=''></a>";
	str+="		<td valign='top' style='padding-top:12px;' width=518><a href='" + linkPath + "index.asp'><img src='" + linkPath + "images/psg_college.gif' border=0 width=412 height=51 alt=''></a>";
	if(page=='home')
		str+="		<td align='right' valign='middle' style='padding-right:5px;' rowspan=2 width=111><img src='" + linkPath + "images/front_edusat1.gif' style='cursor:hand; border='0' width='241' height='82' alt='' usemap='#top_img'></td>";
	else
		str+="		<td align='right' valign='middle' style='padding-right:5px;' rowspan=2 width=111><img src='" + linkPath + "images/front_edusat1.gif' style='cursor:hand;' border='0' width='241' height='82' alt='' usemap='#top_img'></td>";
	str+="</tr>";
	str+="<tr onMouseOver='hideall();'><td valign=top height=46><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='310' height='30'><param name='movie' value='" + linkPath + "media/caption.swf'><param name='quality' value='high'><param name='MENU' value='FALSE'><param name='wmode' value='transparent'><embed src='" + linkPath + "media/caption.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='310' height='30'></embed></object></td></tr>";
	str+="</table>";

	str+="<map name='menu_Map'>";
	str+="	<area shape=rect coords='0,9,69,26'    href='" + linkPath + "psg_trust.html' onMouseOver='hideall();'>";
	str+="	<area shape=rect coords='70,9,150,26'  href='javascript:void(0);' onMouseOver='menu(1);'>";
	str+="	<area shape=rect coords='151,9,203,26' href='javascript:void(0);' onMouseOver='menu(2);'>";
	str+="	<area shape=rect coords='204,9,289,26' href='javascript:void(0);' onMouseOver='menu(3);'>";
	str+="	<area shape=rect coords='290,9,389,26' href='javascript:void(0);' onMouseOver='menu(4);'>";
	str+="	<area shape=rect coords='390,9,465,26' href='javascript:void(0);' onMouseOver='menu(5);'>";
	str+="	<area shape=rect coords='466,9,569,26' href='" + linkPath + "infrastructure.html' onMouseOver='hideall();'>";
	str+="	<area shape=rect coords='570,9,656,26' href='javascript:void(0);' onMouseOver='menu(6);'>";
	str+="	<area shape=rect coords='657,9,707,26' href='" + linkPath + "alumni/index.asp' onMouseOver='hideall();'>";
	str+="	<area shape=rect coords='708,9,780,26' href='javascript:void(0);' onMouseOver='menu(7);'>";
	str+="</map>";

	str+="<map name='top_img'>";
	str+="	<area shape='rect' coords='1,63,39,83'  href='" + linkPath + "index.asp'>";
	str+="	<area shape='rect' coords='42,62,96,85' href='" + linkPath + "calendars/events.asp' >";
	str+="	<area shape='rect' coords='98,63,153,84' href='" + linkPath + "Edu_sat.html' >";
	//str+="	<area shape='rect' coords='98,63,153,84' target='_blank'  onclick=javascript:window.open('" + linkPath + "edusat.html','','height=559,width=796,left=50,top=80,toolbar=no,scrollbars=yes,menubar=no,resize=false')>";
	str+="	<area shape='rect' coords='156,65,201,84' href='" + linkPath + "calendars/clubs.asp' >";
	str+="	<area shape='rect' coords='3,0,198,59'>";
	str+="</map>";
	
	document.write(str);
	}

function fnBottom()
	{
	var str="";
	str+="<a href='" + linkPath + "psgcas/about_the_college.html' class='btmlnks'>PSGCAS</a> &nbsp; - &nbsp; ";
	str+="<a href='" + linkPath + "programmes/under_graduate.html' class='btmlnks'>Programmes</a> &nbsp; - &nbsp;  ";
	str+="<a href='" + linkPath + "alumni/index.asp' class='btmlnks'>Alumni</a> &nbsp; - &nbsp;  ";
	str+="<a href='" + linkPath + "contact.html' class='btmlnks'>Contact</a> &nbsp; - &nbsp;  ";
	str+="<a href='" + linkPath + "feedback.html' class='btmlnks'>Parental Feedback</a> &nbsp; - &nbsp;  ";
	str+="<a href='" + linkPath + "disclaimer.html' class='btmlnks'>Disclaimer</a> &nbsp; - &nbsp;  ";
	str+="<a href='" + linkPath + "sitemap.html' class='btmlnks'>Sitemap</a> ";
	str+="<br>&copy; 2005 PSG College of Arts & Science. All rights reserved. ";
	document.write(str);
	}
function fntop1()
	{
		str=str+"<tr><td align='left'  valign='top'  class='schedule'><a href='theory.html' class='toplnks'>Theory-Regular</a> | <a href='arrear.html' class='toplnks'>Theory-Arrear</a> | <a href='practical.html' class='toplnks'>Practical</a> | <a href='typwriting.html' class='toplnks'>Typewriting</a></td></tr>";

	document.write(str);
	}
	
function fnSide(smenu)
	{
	var str="";
	str+="<table cellpadding='0' cellspacing='0' border='0' width='200'>";
	if (smenu=='psgcas')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Psgcas();</script></td></tr>";
	if (smenu=='authorities')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Authorities();</script></td></tr>";
	if (smenu=='programmes')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Programmes();</script></td></tr>";
	if (smenu=='admissions')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Admissions();</script></td></tr>";
	if (smenu=='examinations')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Examinations();</script></td></tr>";
	if (smenu=='calendars')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Calendars();</script></td></tr>";
	if (smenu=='faculty')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Faculty();</script></td></tr>";
	if (smenu=='library')
		str+="<tr><td><script language='JavaScript' type='text/javascript'>fnSmenu_Library();</script></td></tr>";

	if (smenu!='')
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/courses_offered.jpg' border='0' width='200' height='123' alt=''></td></tr>";
	str+="<tr><td><a href='" + linkPath + "library/home.html'><img src='" + linkPath + "images/library_home.jpg' border='0' width='200' height='97' alt='Library'></a></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="<tr><td><a href=javascript:fnAcademicEvolution('" + linkPath + "');><img src='" + linkPath + "images/academic_evolution.jpg' border='0' width='200' height='83' alt='Academic Evolution of PSGCAS'></a></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="<tr><td><a href='" + linkPath + "placements.html'><img src='" + linkPath + "images/placements.jpg' border='0' width='200' height='60' alt='Placements'></a></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="<tr><td><a href=javascript:fnOpen('" + linkPath + "tour.html');><img src='" + linkPath + "images/college_tour.jpg' border='0' width='200' height='60' alt='College Tour'></a></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	if(smenu=='trust')
	{
	str+="<tr><td height=30> &nbsp; &nbsp; &nbsp; <img src='" + linkPath + "images/bullet1.gif' border='0' vspace=2>&nbsp; <a href='" + linkPath + "managing_trustees.html'>Managing Trustees</a></td></tr>";
	}
	str+="<tr><td height=30> &nbsp; &nbsp; &nbsp; <img src='" + linkPath + "images/bullet1.gif' border='0' vspace=2>&nbsp; <a href='" + linkPath + "recognitions.html'>Recognitions</a></td></tr>";
	str+="<tr><td height=30> &nbsp; &nbsp; &nbsp; <img src='" + linkPath + "images/bullet1.gif' border='0' vspace=2>&nbsp; <a href='" + linkPath + "press_note.html'>Press Notes</a></td></tr>";
	str+="<tr><td height=30> &nbsp; &nbsp; &nbsp; <img src='" + linkPath + "images/bullet1.gif' border='0' vspace=2>&nbsp; <a href='" + linkPath + "examinations/regulations.html#Ragging'>Ragging is an Offence</a></td></tr>";
	str+="<tr><td><img src='" + linkPath + "images/white.gif' border='0' width='200' height='1' alt=''></td></tr>";
	str+="</table>";
	document.write(str);
	}
	
	function fnOpen(str)
	{
	window.open(str,'',"width=780px, height=434px, top=10, left=100, resizable=no, toolbar=no,menubar=no,location=no,scrollbar=no");
	}

function fnAcademicEvolution(path)
	{
	window.open(path + "psgcas/academic_evolution.html","","titlebar=yes,height="+screen.height+",width="+screen.width+",top=0,left=0,scrollbars=yes");
	}

function fnSmenu_Psgcas()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_psgcas.gif' border='0' width='200' height='211' alt='' usemap='#smenu_psgcas'></div>";
	str+="<map name='smenu_psgcas'>";
	str+="	<area shape='rect' coords='31,38,149,53'   href='" + linkPath + "psgcas/about_the_college.html'>";
	str+="	<area shape='rect' coords='31,69,137,83'   href='" + linkPath + "psgcas/the_background.html'>";
	str+="	<area shape='rect' coords='31,98,129,112'  href='" + linkPath + "psgcas/vision_and_mission.html'>";
	str+="	<area shape='rect' coords='31,127,124,143' href='" + linkPath + "psgcas/quality_policy.html'>";
	str+="	<area shape='rect' coords='31,158,157,174' href=javascript:fnAcademicEvolution('" + linkPath + "');>";
	str+="	<area shape='rect' coords='31,189,188,202' href='" + linkPath + "psgcas/college_status.html'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Authorities()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_authorities.gif' border='0' width='200' height='180' alt='' usemap='#smenu_psgcas'></div>";
	str+="<map name='smenu_psgcas'>";
	str+="	<area shape='rect' coords='32,38,101,53'   href='" + linkPath + "authorities/president.html'>";
	str+="	<area shape='rect' coords='31,68,103,83'   href='" + linkPath + "authorities/president.html'>";
	str+="	<area shape='rect' coords='31,98,98,113'  href='" + linkPath + "authorities/principal.html'>";
	str+="	<area shape='rect' coords='31,128,158,143'  href='" + linkPath + "authorities/college_committee.html'>";
	str+="	<area shape='rect' coords='31,158,145,172' href='" + linkPath + "authorities/governing_body.html'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Programmes()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_programmes.gif' border='0' width='200' height='300' alt='' usemap='#smenu_programmes'></div>";
	str+="<map name='smenu_programmes'>";
	str+="	<area shape='rect' coords='32,37,146,53'   href='" + linkPath + "programmes/under_graduate.html'>";
	str+="	<area shape='rect' coords='32,68,132,84'   href='" + linkPath + "programmes/post_graduate.html'>";
	str+="	<area shape='rect' coords='31,96,131,114'   href='" + linkPath + "programmes/self_financing.html'>";
	str+="	<area shape='rect' coords='31,127,162,144'  href='" + linkPath + "programmes/diploma.html'>";
	str+="	<area shape='rect' coords='31,158,141,173'  href='" + linkPath + "programmes/add_on_courses.html'>";
	str+="	<area shape='rect' coords='31,188,155,204'  href='" + linkPath + "programmes/innovative_courses.html'>";
	str+="	<area shape='rect' coords='31,218,104,233' href='" + linkPath + "programmes/research.html'>";
	str+="	<area shape='rect' coords='31,248,125,263' href='" + linkPath + "programmes/credit_system.html'>";
	str+="	<area shape='rect' coords='31,278,130,293' href='" + linkPath + "programmes/co_curricular.html'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Admissions()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_admissions.gif' border='0' width='200' height='150' alt='' usemap='#smenu_admissions'></div>";
	str+="<map name='smenu_admissions'>";
	str+="	<area shape='rect' coords='31,38,170,53'   href='" + linkPath + "admissions/admission_procedures.html'>";
	//str+="	<area shape='rect' coords='31,69,180,83'   href='" + linkPath + "admissions/download_applications.html'>";
	str+="	<area shape='rect' coords='31,98,125,112'  href='" + linkPath + "admissions/fee_structure.html'>";
	str+="	<area shape='rect' coords='31,127,112,143' href='" + linkPath + "admissions/scholarship.html'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Examinations()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_examinations.gif' border='0' width='200' height='120' alt='' usemap='#smenu_examinations'></div>";
	str+="<map name='smenu_examinations'>";
	str+="	<area shape='rect' coords='31,38,85,53'    href='" + linkPath + "examinations/results.asp'>";
	str+="	<area shape='rect' coords='31,68,110,83'   href='" + linkPath + "examinations/regulations.html'>";
	str+="	<area shape='rect' coords='31,98,100,112'  href='" + linkPath + "examinations/theory.html'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Calendars()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_calendars.gif' border='0' width='200' height='133' alt='' usemap='#smenu_calendars'></div>";
	str+="<map name='smenu_calendars'>";
	str+="	<area shape='rect' coords='31,37,145,67'   href='" + linkPath + "calendars/college_academic_calendar.asp'>";
	str+="	<area shape='rect' coords='31,81,140,96'   href='" + linkPath + "calendars/events.asp'>";
	str+="	<area shape='rect' coords='31,111,130,125' href='" + linkPath + "calendars/photogallery.asp'>";
	str+="</map>";
	document.write(str);
	}

function fnSmenu_Faculty()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_faculty.gif' border='0' width='200' height='90' alt='' usemap='#smenu_calendars'></div>";
	str+="<map name='smenu_calendars'>";
	str+="	<area shape='rect' coords='31,38,83,53'   href='" + linkPath + "faculty/faculty.asp?Cname=1'>";
	str+="	<area shape='rect' coords='31,67,130,83'   href='" + linkPath + "faculty/faculty.asp?Cname=2'>";
	str+="</map>";
	document.write(str);
	}
function fnSmenu_Library()
	{
	var str="";
	str+="<div><img src='" + linkPath + "images/smenu_library.gif' border='0' width='200' height='330' alt='' usemap='#smenu_library'></div>";
	str+="<map name='smenu_library'>";
	str+="	<area shape='rect' coords='34,36,160,55'   href='" + linkPath + "library/genesis.html'>";
	str+="	<area shape='rect' coords='34,66,105,85'   href='" + linkPath + "library/timings.html'>";
	str+="	<area shape='rect' coords='34,96,105,115'  href='" + linkPath + "library/resources.html'>";
	str+="	<area shape='rect' coords='34,126,160,145'  href='" + linkPath + "library/digital.html'>";
	str+="	<area shape='rect' coords='34,156,130,175'  href='" + linkPath + "library/member.html'>";
	str+="	<area shape='rect' coords='34,186,158,205' href='" + linkPath + "library/automation.html'>";
	str+="	<area shape='rect' coords='34,216,133,235' href='" + linkPath + "library/services.html'>";
	str+="	<area shape='rect' coords='34,246,71,265' href='" + linkPath + "library/staffs.html'>";
	str+="	<area shape='rect' coords='34,276,158,295' href='" + linkPath + "library/rules.html'>";
	str+="	<area shape='rect' coords='34,325,118,310' href='" + linkPath + "library/recent_books.asp'>";

	str+="</map>";
	document.write(str);
	}
