	function popup(pForm, largeur, hauteur)
	{
		leftPos = 100
		topPos = 100
		if (screen) {
				leftPos = (screen.width / 2) - largeur / 2
				topPos = (screen.height / 2) - hauteur / 2
				}
		Popup = window.open (pForm, "","width="+largeur+",height="+hauteur+",left="+leftPos+",top="+topPos+",scrollbars=1,resizable=yes",true);
	}
	
	function popup_securite()
	{
		leftPos = 100
		topPos = 100
		if (screen) {
				leftPos = (screen.width / 2) - 350
				topPos = (screen.height / 2) - 350
				}
		Popup_securite = window.open ("securite.php", "","width=350,height=150,left="+leftPos+",top="+topPos+",scrollbars=1",true);
	}
	
function photo_popup(pForm, largeur, hauteur)
	{
		leftPos = 100;
		topPos = 100;
		if (screen) {
				leftPos = (screen.width / 2) - largeur / 2;
				topPos = (screen.height / 2) - hauteur / 2;
				}
		var Popup;
		var NewForm = "Photos_Popup.php?img="+pForm;
		//alert(NewForm);
		Popup = window.open (NewForm, null,"width="+largeur+",height="+hauteur+",left="+leftPos+",top="+topPos+",scrollbars=1,resizable=yes",true);
	}
	
function popupmsg(pForm)
	{
		leftPos = 100
		topPos = 100
		if (screen) {
				leftPos = (screen.width / 2) - 350
				topPos = (screen.height / 2) - 350
				}
		Popup = window.open (pForm, "","width=500,height=500,left="+leftPos+",top="+topPos+",scrollbars=1",true);
	}

function popupdest(pForm)
	{
		leftPos = 100
		topPos = 100
		if (screen) {
				leftPos = (screen.width / 2) - 350
				topPos = (screen.height / 2) - 350
				}
		Popup = window.open (pForm, "","width=600,height=600,left="+leftPos+",top="+topPos+",scrollbars=1",true);
	}

function video_popup(nom_de_la_page, nom_interne_de_la_fenetre)
{
	leftpos=100
	toppos=100
	if (screen) {
		leftpos=(screen.width/2)-288
		toppos=(screen.height/2)-300
		}
	window.open (nom_de_la_page, nom_interne_de_la_fenetre, "height=480, width=560,left="+leftpos+",top="+toppos,true);
}

function youtube(nom_de_la_page, nom_interne_de_la_fenetre,pwidth,pheight)
{
	leftpos=100
	toppos=100
	if (screen) {
		leftpos=(screen.width/2)-288
		toppos=(screen.height/2)-300
		}
	window.open (nom_de_la_page, nom_interne_de_la_fenetre, "height="+pheight+", width="+pwidth+",left="+leftpos+",top="+toppos,true);
}