
function extrait(id)
{
	var w=540;
	var h=460;
	var x=(screen.width-w)/2;
	var y=(screen.height-h)/2;
	window.open("./?p=mercureExtrait&id="+id, "", "top="+y+", left="+x+", width="+w+", height="+h+", toolbar=0, location=0, directories=0, status=0, copyhistory=0, menubar=0, scrollbars=0, resizable=0");
}

function OuvrirFenetre(url)
{
	window.open(url);
}

function OuvrirPopup(url,l,h)
{
	var x=(screen.width-l)/2;
	var y=(screen.height-h)/2;
	window.open(url,"","top="+y+",left="+x+",width="+l+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes");
}

function OuvrirPopupScroll(url,l,h)
{
	var x=(screen.width-l)/2;
	var y=(screen.height-h)/2;
	window.open(url,"","top="+y+",left="+x+",width="+l+",height="+h+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}

