<!--
var mafenetre;
var mafenetrefull;

function launchwin(winurl,winname,winWidth,winHeight)
	{
	var ns4 = (document.layers)? true:false;			//NS 4
	var ie4 = (document.all)? true:false;			//IE 4
	var dom = (document.getElementById)? true:false;	//DOM
	var xMax, yMax, xOffset, yOffset;

	if (ie4 || dom)
		{
		xMax = screen.width;
		yMax = screen.height;
		}
	else if (ns4)
		{
		xMax = window.outerWidth;
		yMax = window.outerHeight;
		}
	else
		{
		xMax = 800;
		yMax = 600;
		}
	xOffset = (xMax - winWidth)/2;
	yOffset = (yMax - winHeight)/2;
	mafenetre = window.open(winurl,winname,'width='+winWidth+',height='+winHeight+',screenX='+xOffset+',screenY='+yOffset
+',top='+yOffset+',left='+xOffset+',menubar=no,scrollbars=no,resizable=no,status=no,toolbar=no');
setTimeout('mafenetre.focus();',250);
}
	
function closewin()
{
	top.close();
}

function launch_full(winurl)
{
	var ns4 = (document.layers)? true:false;			//NS 4
	var ie4 = (document.all)? true:false;			//IE 4
	var dom = (document.getElementById)? true:false;	//DOM
	//alert('ns4 : ' + ns4 + 'ie4 : '+ie4+' dom : '+dom);
	var xMax, yMax,haut,gauche;
	if (ie4 || dom) {
		xMax = screen.availWidth;
		yMax = screen.availHeight;
	} else if (ns4) {
		xMax = window.outerWidth;
		yMax = window.outerHeight;
	} else {
		xMax = 800;
		yMax = 600;
	}
	//alert('xmax : '+xMax + 'ymax : '+yMax);
	mafenetrefull = window.open(winurl,'nva','width='+(xMax-10)+',height='+(yMax-27)+',top=0,left=0,menubar=no,scrollbars=no,resizable=no,status=no,toolbar=no');
	setTimeout('mafenetrefull.focus();',250);
}
//-->
