<!--
//SlideOutMenuScript
var Hw = (document.layers) ? 0 : 0;
var Hn = (document.layers) ? 200 : 80;
var Hr = (document.layers) ? 200 : 70;
var Hf = (document.layers) ? 200 : 50;
var Hb = (document.layers) ? 200 : 50;
var Hk = (document.layers) ? 200 : 80;
var Hm = (document.layers) ? 120 : 50;

new ypSlideOutMenu("m1", "down", 0, 0, 0, Hw)
var menu2 = new ypSlideOutMenu("m2", "down", 10, 115, 120, Hn)
var menu3 = new ypSlideOutMenu("m3", "down", 492, 115, 200, Hr)
var menu4 = new ypSlideOutMenu("m4", "down", 635, 115, 140, Hf)
var menu5 = new ypSlideOutMenu("m5", "down", 775, 115, 141, Hb)
var menu6 = new ypSlideOutMenu("m6", "down", 775, 115, 250, Hk)
var menu7 = new ypSlideOutMenu("m7", "down", 775, 115, 110, Hm)

		menu2.onactivate = function() { repositionMenu(menu2, -370); }
		menu3.onactivate = function() { repositionMenu(menu3, -290); }
		menu4.onactivate = function() { repositionMenu(menu4, -133); }
		menu5.onactivate = function() { repositionMenu(menu5, 12); }
		menu6.onactivate = function() { repositionMenu(menu6, 110); }
		menu7.onactivate = function() { repositionMenu(menu7, 240); }

    // this function repositions a menu to the speicified offset from center
		function repositionMenu(menu, offset)
		{
      // the new left position should be the center of the window + the offset
			var newLeft = getWindowWidth() / 2 + offset;

      // setting the left position in netscape is a little different than IE
			menu.container.style ? menu.container.style.left = newLeft + "px" : menu.container.left = newLeft;
		}
		 
    // this function calculates the window's width - different for IE and netscape
		function getWindowWidth()
		{
			return window.innerWidth ? window.innerWidth : document.body.offsetWidth;
		}	

//-->