function showDummy(obj) {
  var objURI = new URI(location.href);
  obj.src = objURI.path.match(/.*\/Galerie\//) + '../assets/transparent640x480.gif';
  return(true);
}

function startTheShow(pic) {
  var objURI = new URI(location.href);
  var picNumber = -1;
  if (pic != null) {
    picNumber = pic.id.replace(/thumb/g, '') - 1;
  }
  var wndParams = 'path=' + objURI.path.match(/.*\//) + '&picNumber=' + picNumber;
  var wndURL = objURI.path.match(/.*\/Galerie\//) + 'diashow.html?' + wndParams;
  var wndName = 'scc_diashow';
  var width = 840;
  var height = 710;
  var left = (screen.availWidth - width) / 2;
  var top = (screen.availHeight - height) / 2;
  var wndOptions = new Array(
    'width=' + width,
    'height=' + height,
    'left=' + left,
    'top=' + top,
    'dependent=yes',
    'resizable=yes',
    'scrollbars=yes',
    'location=no',
    'status=no'
  );
  var diashow = window.open(wndURL, wndName, wndOptions.join(', '));
  diashow.focus();
  return(false);
}

