﻿

totalImages = 8;
imgName = '<img class="center" src="images/random-img/rt';
imgType = '.jpg" />';

window.onload  = function displayRandom() 
{
  var imgRandom = Math.ceil(Math.random() * totalImages);
  document.getElementById('pictureHolder').innerHTML = imgName + imgRandom + imgType;
}


