
var num=0, num1=0, num2=0, num3=0, num4=0, num5=0, num6=0, num7=0, num8=0, num9=0, num10=0, num11=0, num12=0, num13=0, num14=0, nbim=0;
function changer() {
switch(nbim){
case 1 :
if (num == 0) {
num = 1;
document.image1.src = "images/diablotin1.jpg";// grande image
document.image1.width = 400;
document.image1.height = 482;
}
else {
num = 0;
document.image1.src = "images/diablotin1.jpg";// petite image
document.image1.width = 100;
document.image1.height = 120;
}
break;
case 2 :
if (num2 == 0) {
num2 = 1;
document.image2.src = "images/diablotin2.jpg";// grande image
document.image2.width = 400;
document.image2.height = 172;
}
else {
num2 = 0;
document.image2.src = "images/diablotin2.jpg";// petite image
document.image2.width = 100;
document.image2.height = 43;
}
break;
case 3 :
if (num3 == 0) {
num3 = 1;
document.image3.src = "images/diablotin3.jpg";// grande image
document.image3.width = 400;
document.image3.height = 482;
}
else {
num3 = 0;
document.image3.src = "images/diablotin3.jpg";// petite image
document.image3.width = 100;
document.image3.height = 120;
}
break;
case 4 :
if (num4 == 0) {
num4 = 1;
document.image4.src = "images/diablotin4.jpg";// grande image
document.image4.width = 124;
document.image4.height = 400;
}
else {
num4 = 0;
document.image4.src = "images/diablotin4.jpg";// petite image
document.image4.width = 31;
document.image4.height = 100;
}
break;
case 5 :
if (num5 == 0) {
num5 = 1;
document.image5.src = "images/diablotin5.jpg";// grande image
document.image5.width = 400;
document.image5.height = 125;
}
else {
num5 = 0;
document.image5.src = "images/diablotin5.jpg";// petite image
document.image5.width = 100;
document.image5.height = 31;
}
break;
case 6 :
if (num6 == 0) {
num6 = 1;
document.image6.src = "images/chauve-souris1.jpg";// grande image
document.image6.width = 400;
document.image6.height = 146;
}
else {
num6 = 0;
document.image6.src = "images/chauve-souris1.jpg";// petite image
document.image6.width = 100;
document.image6.height = 37;
}
break;
case 7 :
if (num7 == 0) {
num7 = 1;
document.image7.src = "images/chauve-souris2.jpg";// grande image
document.image7.width = 400;
document.image7.height =482;
}
else {
num7 = 0;
document.image7.src = "images/chauve-souris2.jpg";// petite image
document.image7.width = 100;
document.image7.height = 120;
}
break;
case 8 :
if (num8 == 0) {
num8 = 1;
document.image8.src = "alexandrie/bidon_vert1.jpg";// grande image
document.image8.width = 400;
document.image8.height =268;
}
else {
num8 = 0;
document.image8.src = "alexandrie/bidon_vert1.jpg";// petite image
document.image8.width = 100;
document.image8.height = 67;
}
break;
case 9 :
if (num9 == 0) {
num9 = 1;
document.image9.src = "alexandrie/bidon_bleu1.jpg";// grande image
document.image9.width = 400;
document.image9.height =332;
}
else {
num9 = 0;
document.image9.src = "alexandrie/bidon_bleu1.jpg";// petite image
document.image9.width = 100;
document.image9.height = 83;
}
break;
case 10 :
if (num10 == 0) {
num10 = 1;
document.image10.src = "alexandrie/bidon_rouge1.jpg";// grande image
document.image10.width = 400;
document.image10.height =112;
}
else {
num10 = 0;
document.image10.src = "alexandrie/bidon_rouge1.jpg";// petite image
document.image10.width = 100;
document.image10.height = 28;
}
break;
case 11 :
if (num11 == 0) {
num11 = 1;
document.image11.src = "alexandrie/la_poignee1.jpg";// grande image
document.image11.width = 400;
document.image11.height =268;
}
else {
num11 = 0;
document.image11.src = "alexandrie/la_poignee1.jpg";// petite image
document.image11.width = 100;
document.image11.height = 67;
}
break;
case 12 :
if (num12 == 0) {
num12 = 1;
document.image12.src = "alexandrie/premiere_allumette.jpg";// grande image
document.image12.width = 400;
document.image12.height =268;
}
else {
num12 = 0;
document.image12.src = "alexandrie/premiere_allumette.jpg";// petite image
document.image12.width = 100;
document.image12.height = 67;
}
break;
case 13 :
if (num13 == 0) {
num13 = 1;
document.image13.src = "alexandrie/deuxieme_allumette.jpg";// grande image
document.image13.width = 400;
document.image13.height =473;
}
else {
num13 = 0;
document.image13.src = "alexandrie/deuxieme_allumette.jpg";// petite image
document.image13.width = 100;
document.image13.height = 118;
}
break;
case 14 :
if (num14 == 0) {
num14 = 1;
document.image14.src = "alexandrie/medaillon_d_alexandrie2.jpg";// grande image
document.image14.width = 400;
document.image14.height =416;
}
else {
num14 = 0;
document.image14.src = "alexandrie/medaillon_d_alexandrie2.jpg";// petite image
document.image14.width = 100;
document.image14.height = 104;
}
break;
}
}
