Nav_HPath='http://www.rcast.u-tokyo.ac.jp/en/';
Nav_IPath='http://www.rcast.u-tokyo.ac.jp/en/img/';

Nav_AVal={
'Rcast':['GNURcastNow.gif','GNURcastStart.gif','GNURcastHover.gif',148,21,'About RCAST','rcast/'],
'Research':['GNUResearchNow.gif','GNUResearchStart.gif','GNUResearchHover.gif',148,21,'About Research','research/'],
'People':['GNUPeopleNow.gif','GNUPeopleStart.gif','GNUPeopleHover.gif',148,21,'About People','people/alpha-a.html'],
'Laboratories':['GNULaboratoriesNow.gif','GNULaboratoriesStart.gif','GNULaboratoriesHover.gif',148,21,'About Laboratories','laboratories/'],
'Prospective':['GNUProspectiveNow.gif','GNUProspectiveStart.gif','GNUProspectiveHover.gif',148,21,'For Prospective Students','prospective/'],
'Partners':['GNUPartnersNow.gif','GNUPartnersStart.gif','GNUPartnersHover.gif',148,21,'For Industrial Partners','partners/'],
'Researchers':['GNUResearchersNow.gif','GNUResearchersStart.gif','GNUResearchersHover.gif',148,21,'For Visiting Researchers','researchers/'],
'Faculty':['GNUFacultyNow.gif','GNUFacultyStart.gif','GNUFacultyHover.gif',148,21,'For Faculty Members','faculty/'],
'Students':['GNUStudentsNow.gif','GNUStudentsStart.gif','GNUStudentsHover.gif',148,21,'For Students','students/'],
'Alumni':['GNUAlumniNow.gif','GNUAlumniStart.gif','GNUAlumniHover.gif',148,21,'For Alumni','alumni/'],
'Working':['GNUWorkingNow.gif','GNUWorkingStart.gif','GNUWorkingHover.gif',148,33,'Staff &amp; Employment Opportunities','working/'],
'Sitemap':['FSitemapNow.gif','','FSitemapHover.gif',50,11,'Sitemap','sitemap/']
};

function Nav(Nav_Act,Nav_ID){
 if(Nav_AVal[Nav_ID]&&document.getElementById){
  Nav_NVal=Nav_AVal[Nav_ID];
  Nav_NElem=document.getElementById(Nav_ID);
  if(Nav_Act=='Now'){
   Nav_NElem.innerHTML='<img src="'+Nav_IPath+Nav_NVal[0]+'" width="'+Nav_NVal[3]+'" height="'+Nav_NVal[4]+'" alt="Now: '+Nav_NVal[5]+'">';
  }else if(Nav_Act=='Start'){
   Nav_NElem.innerHTML='<a title="Start: '+Nav_NVal[5]+'" href="'+Nav_HPath+Nav_NVal[6]+'"><img src="'+Nav_IPath+Nav_NVal[1]+'" width="'+Nav_NVal[3]+'" height="'+Nav_NVal[4]+'" alt="Start: '+Nav_NVal[5]+'" onmouseover="this.src=\''+Nav_IPath+Nav_NVal[2]+'\';" onmouseout="this.src=\''+Nav_IPath+Nav_NVal[1]+'\';"></a>';
  }
 }
}
