﻿// JScript File
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();
}

var sw = screen.width;
var sh = screen.height;
function opencentre( url, nom, tx, ty) {
  xleft = ( sw - tx) / 2;
  ytop = ( sh - ty) / 2;
  fenetre=window.open( url, nom, 'scrollbars=no,width=' + tx + ',height=' + ty);
  fenetre.focus();
  fenetre.moveTo( xleft, ytop);
}