var currentTab = ""; var headerContent = ""; var root = "http://template.msbcollege.edu/"; function drawHeader(html) { if (html != null) { headerContent = html; } document.write("
 
Menu
"); } function setHeaderContent(hc) { headerContent = hc; } function drawHeaderContent() { document.write(headerContent); } function setStatus(status) { var statusdiv = document.getElementById("status"); if (statusdiv != null && status != null) { statusdiv.innerHTML = status; } } function setContentHeader(pageName, cookieCrumb) { contentheaderdiv.innerHTML = "
" + pageName + "" + cookieCrumb + "

"; } function setMenu(menuhtml, menuid) { if (menuid == null) { menuid = 0; } var menudiv = document.getElementById("menu_" + menuid); if (menudiv != null) { menudiv.innerHTML = menuhtml; } } function drawStatus() { document.write(currentStatus); } function drawFooter() { document.write("
 
Copyright ©2005 Minnesota School of Business. All Rights Reserved  
"); } function setCurrentTab() { var url = window.location.hostname; if (url == "www.test.msbcollege.edu" || url == "www.msbcollege.edu") { currentTab = "main"; } else { currentTab = "students"; } } function tempMenu() { var html = ""; html += "Home
Financial Aid
Student Services
Email
Blackboard
Helpdesk
Library
" return html; } function drawTabs() { setCurrentTab(); drawTab("main", "http://www.msbcollege.edu"); drawDivider(); drawTab("students", "http://students.msbcollege.edu"); drawDivider(); drawTab("staff", "http://staff.msbcollege.edu"); } function drawTab(name, url) { var link = ""; var mouseAction = ""; var mode = ""; if (currentTab == "") { currentTab = "main"; } if (currentTab == name) { mode = "on"; } else { mode="off"; mouseAction = "onmouseover=\"hiliteTab('" + name + "', 'on')\" onmouseout=\"hiliteTab('" + name + "','off')\""; } document.write("" + name + " portal"); } function drawDivider() { document.write("divider"); } function hiliteTab(name, mode) { eval("document." + name + ".src='" + root + "images/tabs/" + name + "_" + mode + ".gif'"); }