function image_open(link, width, height) {
  var photoWindow = window.open(link,"image", 'toolbar=0,location=0,directories=0,status=0, menubar=0,scrollbars=0,resizable=0,width='+width+',height='+height);
}