// JavaScript Document var redirect = {'index.html':'index.php', 'introduction.html':'introduction.php', 'fromthedirector.html':'from-the-director.php', 'fromheadoficb.html':'from-head-of-icb.php', 'network.html':'network.php', 'network_en.html':'network-eng.php', 'whatsnew.html':'event.php', 'activities.html':'programme.php', 'photogallery.html':'photogallery.php', 'postgraduate.html':'postgraduate.php', 'seniorexecutive.html':'seniorexecutive.php', 'corporate.html':'corporatetraining.php', 'ipm.html':'ipm.php', 'cfim.html':'cfim.php', 'imc.html':'imc.php', 'ohrm.html':'ohrm.php', 'mm.html':'mm.php', 'imao.html':'imao.php', 'gom.html':'gom.php', 'oncampus.html':'oncampus.php', 'teacher.html':'teacher.php', 'apply.html':'apply.php', 'application.html':'application.php', 'faq.html':'faq.php', 'studentplatform.html':'studentplatform.php', 'sitemap.html':'sitemap.php', 'contactus.html':'contactus.php', 'press.html':'index.php' }; hash = window.location.hash; pathname = window.location.pathname.substring(1); if (typeof redirect[pathname] == 'undefined') { window.location = 'index.php'; //go homepage } else { window.location = redirect[pathname]+hash; }