
// Code by John Mounsey sometime in 2005 - then amended in 2007... and then again in 2011 :-/

function picList(a,b,c,d,e,f,g,h,i)
	{   
     	this[0] = a;
  	this[1] = b;
	this[2] = c;
	this[3] = d;
	this[4] = e;
	this[5] = f;
	this[6] = g;
	this[7] = h;
	this[8] = i
   	}
   
function choosePic(list)

{
var today 	= new Date();
var page 	= today.getSeconds() % picList.length;

document.homePhoto.src = 'gfx/photographs/home/'+ (list[page])+ '.jpg';
//document.getElementById('frame').title= list[page];
}

pictures = new picList

(
"brooklands-plaque",
"rutland",
"hassop",
"kensington",
"chatsworth-gardens-bridge",
"anglo-mill",
"chester-square",
"orleans-gate",
"castlefield-canal-basin"
);
