act = 1;
img_count = 0;
img_name = "";
img_ext = "";
function ImgNext() {
	document.animation.src = img_name + act + img_ext;
	act++ ;
	if (act == img_count) act=1;	
}

function ImgRotate (imgcount, imgname, imgext, delay ) {
	img_count = imgcount;
	img_name = imgname;
	img_ext = imgext;
	setTimeout('ImgNext()', delay);
}
function imgLarge(url) { //v2.0
  window.open('/imagezoom.php?image='+url,'ImageZoom','menubar=no,scrollbars=yes,toolbar=no');
}
