<!--
var yPosition = 104;
new ypSlideOutMenu("menu1", "down", 391, yPosition + 41, 250, 180)
new ypSlideOutMenu("menu2", "down", 197, yPosition + 41, 250, 180)
new ypSlideOutMenu("menu3", "down", 298, yPosition + 41, 250, 180)
new ypSlideOutMenu("menu4", "down", 497, yPosition + 41, 250, 180)
new ypSlideOutMenu("menu4a", "right",678, yPosition + 113, 160, 100)
new ypSlideOutMenu("menu5", "down", 297, yPosition + 41, 250, 180)
new ypSlideOutMenu("menu5a", "right", 478, yPosition + 48, 250, 180)
new ypSlideOutMenu("menu5b", "right", 443, yPosition + 67, 250, 180)
new ypSlideOutMenu("menu5ba", "right", 601, yPosition + 67, 250, 180)
new ypSlideOutMenu("menu5c", "right", 443, yPosition + 93, 250, 180)
new ypSlideOutMenu("menu5d", "right", 443, yPosition + 171, 250, 180)
new ypSlideOutMenu("menu6", "down", 685, yPosition + 41, 250, 180)
		
		
		function repositionMenu(menu, offset)
		{
			var newLeft = getWindowWidth() / 2 + offset;
			menu.container.style ? menu.container.style.left = newLeft + "px" : menu.container.left = newLeft;
		}
		function getWindowWidth()
		{
			return window.innerWidth ? window.innerWidth : document.body.offsetWidth;
		}	


    ypSlideOutMenu.writeCSS();