var fname = new Array() fname[1] = 'message_short.php' fname[2] = 'welcome.php' fname[11] = 'logo.gif' fname[31] = 'intro.php' fname[32] = 'activity.php' fname[33] = 'news.php' fname[34] = 'contact.php' fname[35] = 'links.php' fname[40] = 'pro_vision.php' fname[41] = 'pro_philosophy.php' fname[42] = 'pro_location.php' fname[43] = 'pro_badge.php' fname[44] = 'pro_song.php' fname[45] = 'pro_teachers.php' fname[46] = 'pro_students.php' fname[55] = 'man_message.php' fname[47] = 'man_main.php' fname[48] = 'man_curriculum.php' fname[49] = 'man_hem.php' fname[50] = 'man_cocurriculum.php' fname[51] = 'man_pibg.php' fname[52] = 'man_clubs.php' fname[53] = 'man_association.php' fname[54] = 'man_other.php' function cms_open(cmsID) { parent.frames['content'].location.href='/network/kjtm.sm.kita.net.my/'+fname[cmsID]; } function cms_home() { parent.frames['content'].location.href='/content.php'; } function cms_sys_open(id) { switch(id) { case '3': parent.frames['content'].location.href='/sys_latestNews.php'; break; case '4': parent.frames['content'].location.href='/sys_moreNews.php'; break; case '5': parent.frames['content'].location.href='/sys_login.php'; break; case '6': parent.frames['content'].location.href='/sys_calendar.php'; break; case '7': parent.frames['content'].location.href='/sys_eventlist.php'; break; case '8': parent.frames['content'].location.href='/content.php'; break; case '10': parent.frames['content'].location.href='/sys_news.php'; break; case '11': parent.frames['content'].location.href='/sys_profile.php?utype=TC'; break; case '17': parent.frames['content'].location.href='/sys_userprofile.php?utype=TC'; break; case '18': parent.frames['content'].location.href='/sys_userprofile.php?utype=ST'; break; } } function cms_open_contact() { parent.frames['content'].location.href='/sys_profile.php'; }