//partie pour le menu 16 06 06 DVP

var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
  	var xPosition = isIE ? 0 : 40;
  	var decalage = 7;
  	var width = 153 + decalage;
  	var yPosition = 33;

if (window.screen.width<1000)
{
	new ypSlideOutMenu("menu1","","down",190,yPosition,width,161);
	new ypSlideOutMenu("menu4","","down",470,yPosition,width,58);
	new ypSlideOutMenu("menu6","","down",330,yPosition,width,199);
	new ypSlideOutMenu("menu2","","down",610,yPosition,width,301);
	new ypSlideOutMenu("menu5","menu6","right",330+width,yPosition+56,width,58);
	new ypSlideOutMenu("menu8","menu6","right",330+width,yPosition,width,161);
	new ypSlideOutMenu("menu3","menu8","right",330+width+width,yPosition+56,width,171);
	new ypSlideOutMenu("menu7","menu8","right",330+width+width,yPosition,width,199);
} else {
	new ypSlideOutMenu("menu1","","down",250,yPosition,width,161);
	new ypSlideOutMenu("menu4","","down",630,yPosition,width,58);
	new ypSlideOutMenu("menu6","","down",440,yPosition,width,199);
	new ypSlideOutMenu("menu2","","down",820,yPosition,width,301);
	new ypSlideOutMenu("menu5","menu6","right",440+width,yPosition+56,width,58);
	new ypSlideOutMenu("menu8","menu6","right",440+width,yPosition,width,161);
	new ypSlideOutMenu("menu3","menu8","right",440+width+width,yPosition+56,width,171);
	new ypSlideOutMenu("menu7","menu8","right",440+width+width,yPosition,width,199);
}

// fin d ajout pour le menu