<!--
//SlideOutMenuScript
var Hw = (document.layers) ? 0 : 0;
var Hn = (document.layers) ? 200 : 200;
var Hr = (document.layers) ? 200 : 200;
var Hf = (document.layers) ? 200 : 200;
var Hb = (document.layers) ? 200 : 200;
var Hk = (document.layers) ? 200 : 200;
var Hm = (document.layers) ? 200 : 200;

new ypSlideOutMenu("m1", "down", 0, 0, 0, Hw)
var menu2 = new ypSlideOutMenu("m2", "down", 10, 120, 200, Hn)
var menu3 = new ypSlideOutMenu("m3", "down", 492, 120, 200, Hr)
var menu4 = new ypSlideOutMenu("m4", "down", 635, 120, 200, Hf)
var menu5 = new ypSlideOutMenu("m5", "down", 775, 120, 200, Hb)
var menu6 = new ypSlideOutMenu("m6", "down", 775, 120, 200, Hk)
var menu7 = new ypSlideOutMenu("m7", "down", 775, 120, 150, Hm)

		menu2.onactivate = function() { repositionMenu(menu2, -370); }
		menu3.onactivate = function() { repositionMenu(menu3, -300); }
		menu4.onactivate = function() { repositionMenu(menu4, -165); }
		menu5.onactivate = function() { repositionMenu(menu5, -60); }
		menu6.onactivate = function() { repositionMenu(menu6, 60); }
		menu7.onactivate = function() { repositionMenu(menu7, 225); }

    // 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;
		}	

//-->