var picture = ["door.jpg", "birmingham1.jpg", "birmingham2.jpg", "birmingham3.jpg", 
	"birmingham4.jpg", "birmingham5.jpg", "birmingham6.jpg", "birmingham7.jpg"];
var i = 0;
function preloadImages() {
	var d=document; if(d.images){ if(!d.p) d.p=new Array();
	var h,j=d.p.length,a=preloadImages.arguments; for(h=0; h<a.length; h++)
	if (a[h].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[h];}}
	changePic(picture);
}
function changePic(picture) {
	if (i < (picture.length - 1)) {
		document.getElementById('change').src='pix/' + picture[i];
		i++;
		setTimeout("changePic(picture)", 4000);
	}
	else {
		document.getElementById('change').src='pix/' + picture[i];
		i = 0;
		setTimeout("changePic(picture)", 4000);
	}
}