function OpenUp(url,pWidth,pHeight){
		window.open(url,'fen1','fullscreen=no,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width='+pWidth+',height='+pHeight+',top=10,left=10,true');
}

// popup simple sans barre outils
function popup_noTools(url,pWidth,pHeight){
	var large=screen.width;
	large=(large/2)-(pWidth/2);
	var haut=screen.height;
	haut=(haut/2)-(pHeight/2);
	window.open(url,'fen1','fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+pWidth+',height='+pHeight+',top='+haut+',left='+large+',true');
}

// on centre la fenêtre dans l'écan
// ATTENTION ! toujours appeler cette fonction DANS LE BODY de la page !
function center_popup()
{
	// récupération de la taille de l'écran
	screenWidth = screen.availWidth;
	screenHeight = screen.availHeight;
	// récupération de la taille de la fenêtre à centrer
	if (parseInt(navigator.appVersion) > 3) 
	{
		if (navigator.appName == "Netscape") 
		{
			windowWidth = window.innerWidth;
			windowHeight = window.innerHeight;
		}
		if (navigator.appName.indexOf("Microsoft") != -1) 
		{
			windowWidth = document.body.offsetWidth;
			windowHeight = document.body.offsetHeight;
		}
	}
	// calcul des nouvelles coordonnées pour le centrage
	newX = (screenWidth - windowWidth) / 2;
	newY = (screenHeight - windowHeight) / 2;
	// centrage
	self.moveTo(newX, newY);
}