function OpenImage(image, w, h) {
  var popUpValues = ""
  
  var width = w + 40
  var height = h + 30
  var screenX = 0
  var screenY = 0
  var left = 100
  var top = 100
  var toolbar = "no"
  var directories = "no"
  var location = "no"
  var status = "no"
  var menubar = "no"
  var resizable = "no"
  var scrollbars = "yes"

  popUpValues = popUpValues + " width=" + width
  popUpValues = popUpValues + " height=" + height
  popUpValues = popUpValues + " screenX=" + screenX
  popUpValues = popUpValues + " screenY=" + screenY
  popUpValues = popUpValues + " left=" + left
  popUpValues = popUpValues + " top=" + top
  popUpValues = popUpValues + " toolbar=" + toolbar
  popUpValues = popUpValues + " directories=" + directories
  popUpValues = popUpValues + " location=" + location
  popUpValues = popUpValues + " status=" + status
  popUpValues = popUpValues + " menubar=" + menubar
  popUpValues = popUpValues + " resizable=" + resizable
  popUpValues = popUpValues + " scrollbars=" + scrollbars
  
  newwindow = window.open(image, "Image", popUpValues);
  if (window.focus) {newwindow.focus()}
  return false;  
}