var menus =
[
	//new ypSlideOutMenu("Container ID", "Direction of the animation (Down, Up, Left, Right)", 
	//'Position from Left', 'Position from Top', 'SubMenu Width', 'SubMenu Hight', 'Position from Left of Menu Link')
	
	new ypSlideOutMenu("submenu1", "down", 'auto', 'auto', 967, 127, -1),
	new ypSlideOutMenu("submenu2", "down", 'auto', 'auto', 967, 127, -141),
	new ypSlideOutMenu("submenu3", "down", 'auto', 'auto', 967, 225, -700)
]

for (var i=0; i<menus.length; i++)
{
	menus[i].onactivate = new Function("document.getElementById('menu" + i + "').className = 'over';");
	menus[i].ondeactivate = new Function("document.getElementById('menu" + i + "').className = '';");
}

ypSlideOutMenu.writeCSS();
