				/*menu*/
				// Set global variables for browser detection and reference building
			
				var menuNum = 2;						// # of flyout menus
				var navNum = 3;						// # of navigation buttons without flyouts
				var bgOff = "transparent";
				var bgOn = "#CCC9C5";					// mouseover color of nav and flyout menus - main level
				var bgOnSub = "#FDB843";				// mouseover color of nav - subnav level
				
				var isNav; var isNav5; var isIE;
				var coll = ""; var styleObj = "";
				
				if (document.layers) {
					isNav = true;
				}
				else if (document.all) {
					isIE=true;
					coll = "all.";
					styleObj = ".style";
				}
				else if (document.getElementById) {
					isNav5 = true;
				}

				function highlight(x) { 
					if(isIE) {
						document.all[x + 'area'].style.background = bgOn;	//highlight
					} else if(isNav5) {
						document.getElementById(x+'area').style.background = bgOn;	//highlight
					}
				}

				function highlightSub(x) { 
					if(isIE) {
						document.all[x + 'area'].style.background = bgOnSub;	//highlight
					} else if(isNav5) {
						document.getElementById(x+'area').style.background = bgOnSub;	//highlight
					}
				}

				function transparent(x) { 
					if(isIE) {
						document.all[x + 'area'].style.background = bgOff;	//highlight
					} else if(isNav5) {
						document.getElementById(x+'area').style.background = bgOff;	//highlight
					}
				}

		
				function showMenu(x) { 
					hideMenu();
					if(isIE) {
						document.all[x].style.visibility = "visible";
						document.all[x + 'area'].style.background = bgOn;	//highlight
					} else if(isNav) {
						document.layers[x].visibility = "show";
					} else if(isNav5) {
						document.getElementById(x).style.visibility = "visible";
						document.getElementById(x+'area').style.background = bgOn;	//highlight
					}
					positionIt(x);
				}
		
				function hideMenu() {
					if(isIE) {
						for(x=0; x < menuNum; x++){
							document.all['menu' + x].style.visibility = "hidden";
							document.all['menu' + x + 'area'].style.background = bgOff;
						}
						for(x=0; x < navNum; x++){
							document.all['nav' + x + 'area'].style.background = bgOff;
						}
					} else if(isNav) {
						for(x=0; x < menuNum; x++){
							document.layers['menu' + x].visibility = "hide";
						}
					} else if(isNav5) {
						for(x=0; x < menuNum; x++){
							//alert('menu' + x);
							document.getElementById('menu' + x).style.visibility = "hidden";
							document.getElementById('menu' + x + 'area').style.background = bgOff;
						}
					}
				}

				//	 Utility function to position an element at a specific x,y location
				function shiftTo(obj, x, y) {
					if (isNav) {
						obj.moveTo(x,y)
					} else if(isNav5){
						obj.style.pixelLeft = x
						obj.style.pixelTop = y
					} else {
						obj.pixelLeft = x
						obj.pixelTop = y
					}
				}
				
				// Center a positionable element whose name is passed as 
				// a parameter in the current window/frame, and show it
				function positionIt(layerName) {
					// 'obj' is the positionable object
					var obj;
					if(isNav5){
						obj = document.getElementById(layerName)
					} else{
						obj = eval("document." + coll + layerName + styleObj);
					}
					
					if(layerName == "menu0") {
						x = 160;
						y = 170;
					} 
					
						if(layerName == "menu1") {
						x = 160;
						y = 225;
					} 
					shiftTo(obj, x, y)
					if(isNav5){
						obj.style.left = x;
						obj.style.top = y;
					}
					obj.visibility = "visible"
				}