var screenshot1 = new DivObj("screenshot1","screenshot1");
var screenshot2 = new DivObj("screenshot2","screenshot2");
var screenshot3 = new DivObj("screenshot3","screenshot3");
var screenshot4 = new DivObj("screenshot4","screenshot4");
var screenshot5 = new DivObj("screenshot5","screenshot5");
var screenshot6 = new DivObj("screenshot6","screenshot6");
var screenshot7 = new DivObj("screenshot7","screenshot7");
var screenshot8 = new DivObj("screenshot8","screenshot8");
var screenshot9 = new DivObj("screenshot9","screenshot9");

function initPage() {
  new AjaxTiny("Shot1", { width:1030, height:700 });
  new AjaxTiny("ShotText1", { width:800, height:200 });
  new AjaxTiny("Shot2", { width:1030, height:700 });
  new AjaxTiny("ShotText2", { width:800, height:200 });
  new AjaxTiny("Shot3", { width:1030, height:700 });
  new AjaxTiny("ShotText3", { width:800, height:200 });
  new AjaxTiny("Shot4", { width:1030, height:700 });
  new AjaxTiny("ShotText4", { width:800, height:200 });
  new AjaxTiny("Shot5", { width:1030, height:700 });
  new AjaxTiny("ShotText5", { width:800, height:200 });
  new AjaxTiny("Shot6", { width:1030, height:700 });
  new AjaxTiny("ShotText6", { width:800, height:200 });
  new AjaxTiny("Shot7", { width:1030, height:700 });
  new AjaxTiny("ShotText7", { width:800, height:200 });
  new AjaxTiny("Shot8", { width:1030, height:700 });
  new AjaxTiny("ShotText8", { width:800, height:200 });
  new AjaxTiny("Shot9", { width:1030, height:700 });
  new AjaxTiny("ShotText9", { width:800, height:200 });
  new AjaxTiny("TopText", { width:800, height:200 });
  new AjaxTiny("Thumb1", { width:220, height:200 });
  new AjaxTiny("Thumb2", { width:220, height:200 });
  new AjaxTiny("Thumb3", { width:220, height:200 });
  new AjaxTiny("Thumb4", { width:220, height:200 });
  new AjaxTiny("Thumb5", { width:220, height:200 });
  new AjaxTiny("Thumb6", { width:220, height:200 });
  new AjaxTiny("Thumb7", { width:220, height:200 });
  new AjaxTiny("Thumb8", { width:220, height:200 });
  new AjaxTiny("Thumb9", { width:220, height:200 });
}

function showDump(nr) {
  eval("screenshot" + nr).fadeIn();
}

function moreShots(nr) {
  document.getElementById("screenshot" + nr).style.display = "none";
  nr++;
  if (nr == 10) nr = 1;
  if (document.getElementById("ShotText" + nr + "_static").innerHTML.length == 0) moreShots(nr);
  else document.getElementById("screenshot" + nr).style.display = "block";
}
