// JavaScript Document

function fntoplnk()
		{
			
			var str="";				
			str+="<div style='width:80px; text-align:center; padding-left:6px; float:right;'><img src='images/icon_contactus.gif' width='12' height='9' style='padding-bottom:3px;' border='0' title='' /><br /><a href='contact_us.html' title='Contact Us'><b>Contact Us</b></a></div>";
			str+="<div style='float:right; margin-right:2px; width:1px;'><hr / class='hr'></div>";
			str+="<div style='width:41px; padding-right:4px; text-align:center;'><img src='images/icon_home.gif' width='11' height='12' border='0' title='Home' /><br /><a href='index.html' title='Home'><b>Home</b></a></div>";
			str+="</div>";
			str+="<div class='logo'><a href='index.html'><img src='images/logo.jpg' width='580' height='110' border='0' title='Ocean & Atmospheric Science And Technology Cell (OASTC)' /></a></div>";			
		    
			document.write(str);
		}

function fnmenu()
		{
		
		var str ="";
		str+="<table cellspacing='0' cellpadding='0' width='223' border='0' align='center' bgcolor='ffffff'>";
		str+="<tr><td><a href='about_oastc.html'title='About the OASTC' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Home','','images/menu_abt_oastc_hover.gif',1)\"><img src='images/menu_abt_oastc.gif' alt='About the OASTC' name='About the OASTC' width='223' height='35' border='0' id='Home' /></a></td></tr>";
		str+="<tr><td><a href='management_board.html'title='The Management Board'  onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('The Management Board','','images/menu_manage_board_hover.gif',1)\"><img src='images/menu_manage_board.gif' alt='The Management Board' name='The Management Board' width='223' height='33' border='0' id='The Management Board' /></a></td></tr>";
		str+="<tr><td><a href='facilities.html' title='Facilities Available' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Facilities available','','images/menu_facilities_avail_hover.gif',1)\"><img src='images/menu_facilities_avail.gif' alt='Facilities Available' name='Facilities available' width='223' height='36' border='0' id='Facilities available' /></a></td></tr>";
		str+="<tr><td><a href='thrust_area_research.html' title='Trust Area Of Research' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Management Board Activities','','images/menu_thrust_res_hover.gif',1)\"><img src='images/menu_thrust_res.gif' alt='Thrust Area of Research' name='Thrust Area of Research' width='223' height='33' border='0' id='Management Board Activities' /></a></td></tr>";
		str+="<tr><td><a href='objectives.html' title='Objectives of Research' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Objectives of Research','','images/menu_object_research_hover.gif',1)\"><img src='images/menu_object_research.gif' alt='Objectives of Research' name='Objectives of Research' width='223' height='33' border='0' id='Objectives of Research' /></a></td></tr>";
		str+="<tr><td><a href='projects_completed.html' title='Projects Completed' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Projects completed','','images/menu_projects_comple_hover.gif',1)\"><img src='images/menu_projects_comple.gif' alt='Projects completed' name='Projects completed' width='223' height='36' border='0' id='Projects completed' /></a></td></tr>";
		str+="<tr><td><a href='publications.html' title='Publications' onmouseout='MM_swapImgRestore()' onmouseover=\"MM_swapImage('Publications','','images/menu_publications_hover.gif',1)\"><img src='images/menu_publications.gif' alt='Publications' name='Publications' width='223' height='35' border='0' id='Publications' /></a></td></tr>";
		str+="</table>";	
	document.write(str);
		}
		
function fntop(page)
		{
		var str ="";
		str+="<table cellspacing='0' cellpadding='0' width='780' border='0' align='center'>";
		str+="<tr onmouseover='hideall();'><td class='top'>";
		str+="	<table cellspacing='0' cellpadding='0' width='727' border='0' >";
		str+="	<tr> ";
		str+=" 		<td width='225' class='logo'><a href='index.php'><img src='" + linkPath + "images/logo.gif' width='180' height='44' border='0' title='Autosound Ltd., - Suppliers of Audio &amp; video Systems' /></a></td>";
		str+=" 		<td width='150' style='width:260px; height:60px; background-color:#CCCCCC;'></td>";
		str+="		<td width='100' class='top_links'><img src='" + linkPath + "images/img_top_links.gif' width='96' height='32' border='0' usemap='#Map' title='' /></td>";
		str+=" </tr>";
		str+=" </table>";	
		str+="<tr><td>";
		str+="	<table cellpadding='0' cellspacing='0' border='0' idth='763' align='center'>";
		str+="	<tr><td class='menubg'>";	
		str+="		<a href='" + linkPath + "about_us.php' onmouseover='hideall();' class='menu'>About Us</a>  <span style='padding-left:57px;'><a onMouseOver='hideall();menu(0);' href= 'javascript:void(0);' class='menu'>Professional Products</a></span>  <span style='padding-left:57px;'><a onMouseOver='hideall();menu(1);' href= 'javascript:void(0);' class='menu'>Leisure Products</a></span>   <span style='padding-left:57px;'><a onMouseOver='hideall();menu(2);' href= 'javascript:void(0);' class='menu'>Service & Repair</a></span>    <span style='padding-left:57px;'><a href='" + linkPath + "contact_us.php' onmouseover='hideall();' class='menu'>Contact Us</a></span>";
		str+="	</td></tr>";
		str+="	<tr><td height='4' onmouseover='hideall();'></td></tr>";
		str+="	</table>";	
		str+="</td></tr>";
		if (page=='about_us')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_abt_us.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}
		else if (page=='p_products')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_p_products.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}
		else if (page=='l_products')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_l_products.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}
		else if (page=='service_repair')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_service_repair.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}		
		else if (page=='contact_us')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_contact_us.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}	
		else if (page=='latest_news')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_latest_news.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}		
		else if (page=='sitemap')
				{	
		str+="<tr onmouseover='hideall();'><td align='center'><img src='" + linkPath + "images/in_banner_abt_us.jpg' width='763' height='176'  border='0' title='Autosound Ltd., - Suppliers of Audio & video Systems' /></td></tr>";
				}						
		str+="<tr><td height='4' onmouseover='hideall();'></td></tr>";
		str+="</table>";
		
		str+="<map name='Map'>";
		str+="  <area shape='rect' coords='3,2,32,33' href='" + linkPath + "index.php' title='Home'>";
		str+="  <area shape='rect' coords='58,2,94,30' href='" + linkPath + "sitemap.php' title='Sitemap'>";
		str+="</map>";
	
		document.write(str);
		}		
		
function fnbottom()
		{
		var str="";
		str+="<table cellspacing='0' cellpadding='0' width='780' border='0' align='center' height='30'>";
		str+="<tr><td class='footer' >";
		str+="<div style='margin-top:7px;'><a href='index.html' class='btmlnk' title='Home'>Home</a>&nbsp;  &brvbar;  &nbsp;<a href='about_oastc.html' class='btmlnk' title='About the OASTC'>About the OASTC</a>&nbsp;  &brvbar;  &nbsp;<a href='management_board.html' class='btmlnk' title='Management Board'>Management Board</a>&nbsp;  &brvbar; &nbsp;<a href='facilities.html' class='btmlnk' title='Facilities'>Facilities</a>&nbsp; &brvbar;   &nbsp;<a href='thrust_area_research.html' class='btmlnk' title='Area of Research'>Area of Research</a>&nbsp; &brvbar; &nbsp;<a href='objectives.html' class='btmlnk' title='Objectives of Research'>Objectives of Research</a>&nbsp;  &brvbar;  &nbsp;<a href='publications.html' class='btmlnk' title='Publications'>Publications</a>&nbsp; &brvbar; &nbsp;<a href='contact_us.html' title='Contact Us' class='btmlnk'>Contact Us</a>";
		str+="<br /><font class='coprit'>© 2007 Ocean & Atmospheric Science And Technology Cell (OASTC), All Rights Reserved.</font></div>";
		str+="</td></tr>";
		str+="</table>";	
		document.write(str);
		}
function fnhomebottom()
		{
		var str="";
		str+="<table cellspacing='0' cellpadding='0' width='780' border='0' align='center' height='30'>";
		str+="<tr><td class='footer' >";
		str+="<div style='margin-top:7px;'><a href='index.html' class='btmlnk' title='Home'>Home</a>&nbsp;  &brvbar;  &nbsp;<a href='about_oastc.html' class='btmlnk' title='About the OASTC'>About the OASTC</a>&nbsp;  &brvbar;  &nbsp;<a href='management_board.html' class='btmlnk' title='Management Board'>Management Board</a>&nbsp;  &brvbar; &nbsp;<a href='facilities.html' class='btmlnk' title='Facilities'>Facilities</a>&nbsp; &brvbar;   &nbsp;<a href='thrust_area_research.html' class='btmlnk' title='Area of Research'>Area of Research</a>&nbsp; &brvbar; &nbsp;<a href='objectives.html' class='btmlnk' title='Objectives of Research'>Objectives of Research</a>&nbsp;  &brvbar;  &nbsp;<a href='publications.html' class='btmlnk' title='Publications'>Publications</a>&nbsp; &brvbar; &nbsp;<a href='contact_us.html' title='Contact Us' class='btmlnk'>Contact Us</a>";
		str+="<br /><font class='coprit'>© 2007 Ocean & Atmospheric Science And Technology Cell (OASTC), All Rights Reserved. Websolutions By: <a href='http://www.aes.in' target='_blank' class='white'>AES Technologies (India) Pvt. Ltd.,</a></font></div>";
		str+="</td></tr>";
		str+="</table>";	
		document.write(str);
		}
	
	


