// (C) 2003 by CodeLifter.com Author: etLux
// Free for all users, but leave in this header.

var SlideShowSpeed = 3000;
var CrossFadeDuration = 2;

var Picture = new Array();
var Caption = new Array();
var showHot = false;


Picture[1]  = 'jan/2-emplacement-1.jpg';
Picture[2]  = 'jan/3-emplacement-2.jpg';
Picture[3]  = 'jan/4-emplacement-3.jpg';
Picture[4]  = 'jan/5-emplacement-4.jpg';
Picture[5]  = 'jan/6-emplacement-5.jpg';
Picture[6]  = 'jan/8-riviere.jpg';
Picture[7]  = 'jan/9-restanque.jpg';
Picture[8]  = 'jan/10-restanque-2.jpg';
Picture[9]  = 'jan/11-aire.jpg';
Picture[10]  = 'jan/12-borrie.jpg';
Picture[11]  = 'jan/13-charrue.jpg';
Picture[12]  = 'jan/14-borrie.jpg';
Picture[13]  = 'jan/15-tepee.jpg';
Picture[14]  = 'jan/16-biblioteque.jpg';
Picture[15]  = 'jan/17-cuisine.jpg';
Picture[16]  = 'jan/18-barbecue.jpg';
Picture[17]  = 'jan/19-fin-visite.jpg';
Picture[18]  = 'jan/20-accueil.jpg';





Caption[1]  = ".";
Caption[2]  = ".";
Caption[3]  = ".";
Caption[4]  = ".";
Caption[5]  = ".";
Caption[6]  = ".";
Caption[7]  = ".";
Caption[8]  = ".";
Caption[9]  = ".";
Caption[10]  = ".";
Caption[11]  = ".";
Caption[12]  = ".";
Caption[13]  = ".";
Caption[14]  = ".";
Caption[15]  = ".";
Caption[16]  = ".";
Caption[17]  = ".";
Caption[18]  = ".";
Caption[19]  = ".";


 

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
}}
