// JavaScript Document
// Type the number of images you are rotating.
NumberOfImagesToRotate = 5;
// Specify the first and last part of the image tag.
FirstPart = '<img src="http://www.commerce.wa.gov.au/global/images/headers/commerce_Image';
LastPart = '.jpg" height="177" width="1300">';
function printImage() {
  var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
  f = FirstPart + r + LastPart;
  document.write(f);
}
