function randomcontent() {
  var randimage = new Array();

  randimage[1] = '<IMG src="gfx/proreelsicon.png" width="180" height="114" vspace="4" border="2" alt="Pro Reels Haunted House">';
  randimage[2] = '<IMG src="gfx/imagiconicon.png" width="180" height="114" vspace="4" border="2" alt="Imagicon">';
  randimage[3] = '<IMG src="gfx/screenmagicon.png" width="180" height="114" vspace="4" border="2" alt="Screenshot Magic">';
  randimage[4] = '<IMG src="gfx/gemstonesicon.png" width="180" height="114" vspace="4" border="2" alt="Gemstones">';
  randimage[5] = '<IMG src="gfx/goldspinnericon.png" width="180" height="114" vspace="4" border="2" alt="Goldspinner">';
  randimage[6] = '<IMG src="gfx/starstormicon.png" width="180" height="114" vspace="4" border="2" alt="Star Storm">';
  randimage[7] = '<IMG src="gfx/timebombicon.png" width="180" height="114" vspace="4" border="2" alt="TimeBomb">';
  randimage[8] = '<IMG src="gfx/volcanoicon.png" width="180" height="114" vspace="4" border="2" alt="Volcano">';

  var randindex=Math.floor(Math.random()*randimage.length);

  if (randindex == 0) {
    randindex = 1;
  }

  document.write(randimage[randindex]);
}

randomcontent();
