function openScreenshot(filename, width, height) {
  window.open(filename, "screenshot", "height = " + height + ", width = " + width); 
}