

function Popup(page, largeur, hauteur, posX, posY, PopupName) {
  var yes = 1;
  var no = 0;
  var menubar = no; 	// The File, Edit, View Menus
  var scrollbars = no;	// Horizontal and vertical scrollbars
  var locationbar = no; 	// The location box with the site URL
  var directories = no; 	// the "What's New", "What Cool" links
  var resizable = no; 	// Can the window be resized?
  var statusbar = no; 	// Status bar (with "Document: Done")
  var toolbar = no; 	// Back, Forward, Home, Stop toolbar
  windowprops = "width="+largeur;
  windowprops += ",height="+hauteur;
  windowprops += ",top="+posY;
  windowprops += ",left="+posX;
  windowprops += (menubar ? ",menubars" : "") +
  (scrollbars ? ",scrollbars" : "") +
  (locationbar ? ",location" : "") +
  (directories ? ",directories" : "") +
  (resizable ? ",resizable" : "") +
  (statusbar ? ",status" : "") +
  (toolbar ? ",toolbar" : "");

  window.open(page, PopupName, windowprops);
}
