﻿<!--
function jumpMenu(targ,selObj,restore) { eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; }

// StyleSwitcher functions written by Paul Sowden
// http://www.alistapart.com/stories/alternate/

function setActiveSS(Increment) { 
	var i, a, main, ssTitle, textSize; ssTitle = ''; 
	textSize = currentTextSize + Increment; 
	if (textSize > 2) {textSize = 2;}	
	else if (textSize < 0){textSize = 0;}
	switch (textSize) {case 0:	break;case 1: ssTitle = 'Large Text'; break; case 2: ssTitle = 'Larger Text'; break;} 
	for (i=0; (a = document.getElementsByTagName("link")[i]); i++) 
	{
		if (a.getAttribute("rel") && a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) 
		{	
			a.disabled = true;
			if(a.getAttribute("title") == ssTitle) 
			{
				a.disabled = false; 
			}
		} 
	} 
	currentTextSize = textSize;
}
//function getActiveSS() { var i, a; for (i=0; (a = document.getElementsByTagName("link")[i]); i++) { if (a.getAttribute("rel") && a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled ) return a.getAttribute("title"); } return null; }
var currentTextSize=0;
function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else expires = ""; document.cookie = name+"="+value+expires+"; path=/"; }
function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; }
window.onload = function(e) 
{ 
	var size;
	var cookie = readCookie("size"); 
	if (cookie != null){
		size = cookie ? parseInt(cookie) : 0;
	}
	else {
		size = 0;
	}
	currentTextSize = size;
	setActiveSS(0); 
}
var cookie = readCookie("size");
//currentTextSize = cookie ? parseInt(cookie) : 0;
window.onunload = function(e) {createCookie("size", currentTextSize, 365); }
setActiveSS(0);

var domain = window.location.hostname.toLowerCase();

if (domain == "lakeforestmba.edu") {
	// window.location='http://www.lakeforestmba.edu'
	window.location='http://www.lakeforestmba.edu' + window.location.pathname + window.location.hash + window.location.search
}

//-->