<!-- // original content taken from Nic's JavaScript Page with permission
// lack of these three lines will result in copyright infringment
// made by: Nic's JavaScript Page - http://www.javascript-page.com 
//                         Images                                  -->

var currentdate = 0;
var core = 0;

function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}


image = new initArray(

"http://www.chipping-campden.net/images/chipping-camden/coatofarms.jpg",
"http://www.chipping-campden.net/images/chipping-camden/coatofarms.jpg",
"http://www.chipping-campden.net/images/chipping-camden/coatofarms.jpg",
"http://www.chipping-campden.net/images/chipping-camden/from-markethall2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/stjames-gatehouse2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/stjames-gatehouse2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/gateshouses2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/gateshouses2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/highstreet4.jpg",
"http://www.chipping-campden.net/images/chipping-camden/church-street.jpg",
"http://www.chipping-campden.net/images/chipping-camden/street2.jpg",
"http://www.chipping-campden.net/images/chipping-camden/markethall-sidestreet.jpg",
"http://www.chipping-campden.net/images/chipping-camden/markethall.jpg",
"http://www.chipping-campden.net/images/chipping-camden/markethall.jpg"
);

text = new initArray(
"Chipping Campden Coat of Arms",
"Chipping Campden Coat of Arms",
"Chipping Campden Coat of Arms",
"View from Market Hall",
"St James' Church and Gatehouse",
"St James' Church and Gatehouse",
"Gatehouses",
"Gatehouses",
"High Street",
"Church Street",
"High Street",
"High Street and Market Hall",
"Market Hall",
"Market Hall"
);

width = new initArray(
"196",
"196",
"196",
"190",
"145",
"145",
"220",
"220",
"190",
"220",
"190",
"190",
"190",
"190"
);

height = new initArray(
"159",
"159",
"159",
"132",
"191",
"191",
"146",
"146",
"140",
"165",
"145",
"143",
"142",
"142"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % text.length;
var imgheight  = height[core];
var imgwidth  = width[core];
var rantext  = text[core];
var ranimage = image[core];

document.write('<img src=\"' +ranimage+ '\" align="right" hspace="6" border="0" height=\"'+imgheight+'\" width=\"'+imgwidth+'\" alt=\"'+rantext+'\">');
  
