var maxx = 96;
var trig = 0;
function CountTime()
{ 
  trig = Math.floor(Math.random() * maxx) + 1;
  var imgname = getName(trig);
  if (count = 1)
  { placeImage('Picture',trig);}
// timeout 1000 = 1 sec 
  setTimeout("CountTime()",5000)
  }
window.onload = CountTime;