﻿NumberOfImagesToRotate = 14;

FirstPart = '<img src="images/Photos/Slideshow/slide_';
LastPart = '.jpg" alt="Muddy Boots Software Ltd" align="right" width="361px" height="196px"/>';

function printImage() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
document.write(FirstPart + r + LastPart);
}