/*	var preloadFlag = false;
	var numMenus = 3;
	var ie = ((document.all) ? true : false); 
	var offset = -20;
	
	if(ie) {
		var menus = [
			new ypSlideOutMenu("menu1", "down", 342, 157, 156, 555),
			new ypSlideOutMenu("menu2", "down", 437, 157, 156, 595),
			new ypSlideOutMenu("menu3", "down", 579, 157, 156, 555)
		]
	} else {
		var menus = [
			new ypSlideOutMenu("menu1", "down", 353, 157, 156, 555),
			new ypSlideOutMenu("menu2", "down", 448, 157, 156, 595),
			new ypSlideOutMenu("menu3", "down", 591, 157, 156, 555)
		]
	}

	for (var i = 0; i < menus.length; i++) {
		menus[i].onactivate = new Function("document.getElementById('act" + i + "').className='menu_header';");
		menus[i].ondeactivate = new Function("document.getElementById('act" + i + "').className='menu_header';");
	}
	
	function deplaceMenu(num){
		if (ie) var larg = document.body.clientWidth;
		else var larg = window.innerWidth;
		var objC = document.getElementById("menu" + num + "Container")
		var x = parseInt((larg - 792) / 2 )
		if(ie) {
			if (x < 0) x = 10
			if (num == 1) xM = 25 + x
			if (num == 2) xM = 179 + x
			if (num == 3) xM = 333 + x
		} else {
			if (x < 0) x = 16
			if (num == 1) xM = 16 + x
			if (num == 2) xM = 171 + x
			if (num == 3) xM = 325 + x
		}
		objC.style.left = xM + 4 + offset;
	}

	function deplaceTousMenus(){
		for (var i = 1 ; i <= numMenus; i++){
			deplaceMenu(i)
		}
	}

	ypSlideOutMenu.writeCSS();
	window.onresize = deplaceTousMenus;*/

function openImageZoom(page, taille, hauteur, nom){
	options = 'toolbar=0,resizable=0,location=0,status=0,scrollbars=0,width='+taille+',height='+hauteur;
	var myPopUp = window.open('../zoom.php?type=produits&id='+page, nom, options); 
	myPopUp.focus();
	myPopUp.moveTo(80,80); // left, top
}
