
/*hs4Arr=[

["images/bandeau/small/01.JPG","images/bandeau/big/01.JPG","Alt Text 1"],
["images/bandeau/small/02.JPG","images/bandeau/big/02.JPG","Alt Text 1"],
["images/bandeau/small/03.JPG","images/bandeau/big/03.JPG","Alt Text 1"],
["images/bandeau/small/04.JPG","images/bandeau/big/04.JPG","Alt Text 1"],
["images/bandeau/small/05.JPG","images/bandeau/big/05.JPG","Alt Text 1"],
["images/bandeau/small/06.JPG","images/bandeau/big/06.JPG","Alt Text 1"],
["images/bandeau/small/07.JPG","images/bandeau/big/07.JPG","Alt Text 1"],
["images/bandeau/small/08.JPG","images/bandeau/big/08.JPG","Alt Text 1"],
["images/bandeau/small/09.JPG","images/bandeau/big/09.JPG","Alt Text 1"],
["images/bandeau/small/10.JPG","images/bandeau/big/10.JPG","Alt Text 1"],
["images/bandeau/small/11.JPG","images/bandeau/big/11.JPG","Alt Text 1"],
["images/bandeau/small/12.JPG","images/bandeau/big/12.JPG","Alt Text 1"],
["images/bandeau/small/13.JPG","images/bandeau/big/13.JPG","Alt Text 1"],
["images/bandeau/small/14.JPG","images/bandeau/big/14.JPG","Alt Text 1"],
["images/bandeau/small/17.JPG","images/bandeau/big/17.JPG","Alt Text 1"],
["images/bandeau/small/18.JPG","images/bandeau/big/18.JPG","Alt Text 1"],
["images/bandeau/small/19.JPG","images/bandeau/big/19.JPG","Alt Text 1"],
["images/bandeau/small/20.JPG","images/bandeau/big/20.JPG","Alt Text 1"],
["images/bandeau/small/21.JPG","images/bandeau/big/21.JPG","Alt Text 1"],
["images/bandeau/small/22.JPG","images/bandeau/big/22.JPG","Alt Text 1"] // no comma at the end of last index

]*/

dir=0 // 0 = left 1 = right
speed=2
imageSize=100  // % set to zero to use fixedWidth and fixedHeight values
fixedWidth=100 // set a fixed width
fixedHeight=60 // set a fixed height
spacerWidth=10 // space between images

alwaysCenter=1 // center the popup 0 = no 1 = yes
popupLeft=0 // popup default left, use if not centering
popupTop=0 // popup default top, use if not centering

biggest=0
ieBorder=0
totalWidth=0
hs4Timer=null



function initHS4(Rept, hs4Arr){
aff1=document.getElementById(Rept)
preload=new Array()
for(var i=0;i<hs4Arr.length;i++){
preload[i]=new Image()
preload[i].src=hs4Arr[i][0]
}
for(var j=0;j<hs4Arr.length;j++){

aff1.innerHTML+='<a href="'+hs4Arr[j][1]+'" target="_new_"><img src="'+preload[j].src+'" alt="'+hs4Arr[j][2]+'" title="'+hs4Arr[j][2]+'" ></img></a>'


}

}
var timeDelay = 3;
var howMany = 5;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = h4Arr[PicCurrentNum][1];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = h4Arr[PicCurrentNum][1];
document["ChangingPix"].src = PicCurrent.src;
}
