﻿var n=0;
var imgDB=new Array("photo0.jpg","photo1.jpg","photo2.jpg");
function change(){
	n++;
	if(n==3)n=0;
	document.img.src=imgDB[n];
}