function popup(page,nom,largeur,hauteur) {

	var top=(screen.height-hauteur)/2;

	var left=(screen.width-largeur)/2;

	fen = window.open(page,nom,"top=" + top + ",left=" + left + ",width=" + largeur + ",height=" + hauteur + ",toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no");

	fen.focus();

}



function popupscroll(page,nom,largeur,hauteur) {

	var top=(screen.height-hauteur)/2;

	var left=(screen.width-largeur)/2;

	fen = window.open(page,nom,"top=" +top +",left=" + left + ",width=" + largeur + ",height=" + hauteur + ",toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no");

	fen.focus();

}



function openfull(url) {

	pleinecran = window.open(url,'pleinecran','width='+screen.width+',height='+screen.height+'scrollbar=no,resizable=no,maximized=yes,status=no,fullscreen=yes');

		pleinecran.moveTo(0,0);

		if (document.all) {

			if ( navigator.userAgent.toLowerCase().indexOf('mac') != -1) {

				pleinecran.resizeTo( screen.availWidth, screen.availHeight);

			}

		} else if (isNS || isNS6) {

			pleinecran.outerHeight = screen.availHeight;

			pleinecran.width = screen.availWidth;

		}

		pleinecran.focus();

}



function pdf( pdf) {

  if ( isIE) {

  	window.open( pdf, 'pdf', 'top=10,left=20,width=750,height=450,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes');

  } else {

  	document.location.href = pdf;

  }

}

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}



