var temp = 3000 ;

function objet() {
this.length = objet.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet.arguments[i]
}
var nom = new objet ("42.gif", "46.gif","47.gif","55.jpeg","57.jpeg","56.gif","61.gif","65.jpeg",'59.gif');
var numero = 1;
function changer() {
document.image.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image1.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image2.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image3.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image4.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image5.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
document.image6.src = "../imagejeux/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;

setTimeout("changer()", temp);
}

var num=0 
function zoom(obj) {
temp = 10000;
if (num == 0) {
num = 1;
obj.width = obj.width + 2;
obj.height = obj.height + 5;
}
else {
num = 0;
obj.width = 80;
obj.height = 77;
}
}
function rep(obj) {
zoom(obj);
temp = 3000 ;
}

