// JavaScript Random Image Selector

var Picture=new Array();

Picture[0]   = "assets/hm_bgpic_1.jpg";
Picture[1]   = "assets/hm_bgpic_2.jpg";
Picture[2]   = "assets/hm_bgpic_3.jpg";

var Q = Picture.length;
var whichPicture=Math.round(Math.random()*(Q-1));

function showPicture() {
	document.write("<img src='"+Picture[whichPicture]+"' alt='Inside the Stanley Spencer Gallery'>");
}