window.onload = function(){
	setInterval("album.swapImage()", 4000);
}
var album = {
	imageURL : [
				"images/P316.jpg",
				"images/P317.jpg",
				"images/P318.jpg",
				"images/P319.jpg",
				"images/P320.jpg",
				"images/P321.jpg",
				"images/P322.jpg",
				"images/P324.jpg",
				"images/P325.jpg",
				"images/P326.jpg",
				"images/P327.jpg",
				"images/P328.jpg",
				"images/P329.jpg",
				"images/P330.jpg"
				],
	swapImage : function() {
		this.count++;
		if (this.count >= this.imageURL.length) this.count = 0;
		document.getElementById("photo").src = this.imageURL[this.count];
	},
	count : 0
};
