function change(max){
	img=document.doro.src;
	num=parseInt(img.substring(img.length-5,img.length-4));
	srcmain=img.substring(0,img.length-5);
	srcext=img.substring(img.length-4,img.length);
	num++
	if(num>max){num=1}
	document.doro.src=srcmain+num+srcext;
}

function changeimg(max,defimg){
	if(navigator.appName=="Netscape"){document.write('<A HREF="#" onclick=\'change(max)\'>')}
	document.write('<IMG ALT="" SRC="'+ defimg +'" WIDTH="320" HEIGHT="240"  onclick=\'change(max)\' name="doro">');
	if(navigator.appName=="Netscape"){document.write('</A>')}

}