	
	function getFlashMovie(movieName) {
		var isIE = navigator.appName.indexOf("Microsoft") != -1;
		return (isIE) ? window[movieName] : document[movieName];
	}
	
	function fnShowTeam(text) {
		getFlashMovie("team").sendTextToFlash(text);
		return false;
	}

	function deptSelector(text){
		var ul = document.getElementById('deptSelect');
		var child = ul.firstChild;
		//loop through list setting li class to selected or null
		while(child != ul.lastChild){
			if(child.nodeType == 1){
				if(child.id == 'mt_'+text){
					document.getElementById('mt_'+text).className = 'selected';	
				}else{
					document.getElementById(child.id).className = '';	
				}
			}
			child = child.nextSibling;
		}
	}
