// JavaScript Document



var i = 0;
var fotoButton = new Array();
fotoButton[0] =  "images/_TESTS/foto.png";
fotoButton[1] =  "images/_TESTS/foto_blank.png";

var filmButton = new Array();
filmButton[0] =  "images/_TESTS/film.png";
filmButton[1] =  "images/_TESTS/film_blank.png";

var timer;

function imgChange()
{	
	
	document.images.foto.src = fotoButton[i];
	document.images.film.src = filmButton[i];
	i+=1 
	timer = setTimeout ("imgChange()",3000);
	if (i>1){stoper()}
}

function stoper()
{
		
	clearTimeout(timer);
	i=0;
}

