	var CurrentOn = 000;
	function TurnStuffOn(){
		if(pdGlobal.currentPages[0]){
			if(pdimageon = pdGlobal.currentPages[0].id){
				CurrentOn = pdimageon;
				switch(pdimageon){
					case 108655: 
						M_object('L1_108655').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_1_on.gif)";
						$("#L1_108655").addClass("L1_108655_on");
						break;
					case 108656: M_object('L1_108656').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_2_on.gif)";
						$("#L1_108656").addClass("L1_108656_on");
					break;
					case 108657: M_object('L1_108657').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_3_on.gif)";
						$("#L1_108657").addClass("L1_108657_on");					
					break;
					case 108658: M_object('L1_108658').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_4_on.gif)";
						$("#L1_108658").addClass("L1_108658_on");					
					break;					
					case 108659: M_object('L1_108659').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_5_on.gif)";
						$("#L1_108659").addClass("L1_108659_on");					
					break;					
					case 108660: M_object('L1_108660').style.backgroundImage = "url(/ftpimages/334/podium/Style485/L1_6_on.gif)";
						$("#L1_108660").addClass("L1_108660_on");					
					break;					
					case 0:	break;
					default:break;
				}
			}
		}
	}	
//Dropdown Code Starts Here
		
$(document).ready(function(){
	buildMenu(108655, 2);
	buildMenu(108656, 2);
	buildMenu(108657, 2);
	buildMenu(108658, 2);
	buildMenu(108659, 2);
	buildMenu(108660, 2);
	
    $("#nav-one li").hover(
        function(){ $("ul", this).show("fast"); }, 
        function() { } 
    );
	$("#nav-one ul").bgiframe({src:'/podium/blank.html'});
    if (document.all) {
        $("#nav-one li").hoverClass ("sfHover");
    }
});

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
};
var detect = navigator.userAgent.toLowerCase();
function buildMenu(pageID, level){
	//alert("build the menu - " + pageID);
	var firstItem = true;
	var menuString = "";
	
	for(var i = 0; i < schoolPageList.length; i++){
		if(schoolPageList[i].parentID == pageID && schoolPageList[i].level == level){
			if(firstItem){
				//menuString = "<ul><li><div id='header_"+pageID+"'></div></li>"
				menuString = "<ul class='menu_container_"+pageID+"'><li><div id='header_"+pageID+"'><!--  --></div></li>"
				if(!checkIt('msie')){
					menuString += "<li><div id='top_spacer'><!--  --></div></li>";
				}
			}
			target = ""
			if(schoolPageList[i].target) target = " target=\"_blank\"";
			menuString += "<li><a href=\"" + schoolPageList[i].pageURL + "\"" + target + "><span>" + schoolPageList[i].pageName + "</span></a></li>";
			firstItem = false;
		}
	}
	
	if(menuString.length > 0){
		if(!checkIt('msie')){
			menuString += "<li><div id='bottom_spacer'><!--  --></div></li>";
		}
		menuString += "<li class='footer'><div><!--  --></div></li></ul>";
		
		$("#L1_" + pageID).after(menuString);
	}
}
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}
//Dropdown Code Ends
function M_object(element) {
	if (arguments.length > 1) {
		for (var i = 0, elements = [], length = arguments.length; i < length; i++)
			elements.push(M_object(arguments[i]));
		return elements;
	}
	if (typeof element == 'string')
		element = document.getElementById(element);
	return element;
}