// Set slideRunSpeed (milliseconds)
var slideRunSpeed = 1000;
// Duration of crossfade (seconds)
var crossFadeTimer1 = 10000;
// Specify the image files
var Slide = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Slide[0] = 'immuno.bmp'
Slide[1] = 'constenergy.bmp'
Slide[2] = 'calcimight.bmp'
Slide[3] = 'essentials.bmp'
Slide[4] = 'Q10.bmp'
Slide[5] = 'bcontrolled.bmp'
Slide[6] = 'multiwonders.bmp'
Slide[7] = 'evryoung.bmp'
Slide[8] = 'zest.bmp'
Slide[9] = 'alwayshlthy.bmp'
Slide[10] = 'bioteen.bmp'
Slide[11] = 'second.jpg'
Slide[12] = 'constenergy.bmp'
Slide[13] = 'calcimight.bmp'
Slide[14] = 'essentials.bmp'
Slide[15] = 'Q10.bmp'
Slide[16] = 'bcontrolled.bmp'
Slide[17] = 'multiwonders.bmp'
Slide[18] = 'evryoung.bmp'
Slide[19] = 'zest.bmp'
Slide[20] = 'alwayshlthy.bmp'
Slide[21] = 'bioteen.bmp'
Slide[22] = 'immuno.bmp'
Slide[23] = 'constenergy.bmp'
Slide[24] = 'calcimight.bmp'
Slide[25] = 'essentials.bmp'
Slide[26] = 'Q10.bmp'
Slide[27] = 'bcontrolled.bmp'
Slide[28] = 'bcontrolled.bmp'


// do not edit anything below this line
var t;
var j = 0;
var p = Slide.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Slide[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow1.style.filter="blendTrans(duration=2)";
document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow1.filters.blendTrans.Apply();
document.images.SlideShow2.style.filter="blendTrans(duration=4)";
document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow2.filters.blendTrans.Apply();
document.images.SlideShow3.style.filter="blendTrans(duration=6)";
document.images.SlideShow3.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow3.filters.blendTrans.Apply();
document.images.SlideShow4.style.filter="blendTrans(duration=8)";
document.images.SlideShow4.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow4.filters.blendTrans.Apply();
document.images.SlideShow5.style.filter="blendTrans(duration=10)";
document.images.SlideShow5.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow5.filters.blendTrans.Apply();
document.images.SlideShow6.style.filter="blendTrans(duration=12)";
document.images.SlideShow6.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow6.filters.blendTrans.Apply();
document.images.SlideShow7.style.filter="blendTrans(duration=14)";
document.images.SlideShow7.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow7.filters.blendTrans.Apply();
document.images.SlideShow8.style.filter="blendTrans(duration=14)";
document.images.SlideShow8.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow8.filters.blendTrans.Apply();
document.images.SlideShow9.style.filter="blendTrans(duration=14)";
document.images.SlideShow9.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow9.filters.blendTrans.Apply();
document.images.SlideShow10.style.filter="blendTrans(duration=14)";
document.images.SlideShow10.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow10.filters.blendTrans.Apply();
document.images.SlideShow11.style.filter="blendTrans(duration=14)";
document.images.SlideShow11.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow11.filters.blendTrans.Apply();
document.images.SlideShow12.style.filter="blendTrans(duration=14)";
document.images.SlideShow12.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow12.filters.blendTrans.Apply();
document.images.SlideShow13.style.filter="blendTrans(duration=14)";
document.images.SlideShow13.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow13.filters.blendTrans.Apply();
document.images.SlideShow14.style.filter="blendTrans(duration=14)";
document.images.SlideShow14.style.filter="blendTrans(duration=crossFadeTimer1)";
document.images.SlideShow14.filters.blendTrans.Apply();
}
document.images.SlideShow1.src = preLoad[j+0].src;
document.images.SlideShow2.src = preLoad[j+1].src;
document.images.SlideShow3.src = preLoad[j+2].src;
document.images.SlideShow4.src = preLoad[j+3].src;
document.images.SlideShow5.src = preLoad[j+4].src;
document.images.SlideShow6.src = preLoad[j+5].src;
document.images.SlideShow7.src = preLoad[j+6].src;
document.images.SlideShow8.src = preLoad[j+7].src;
document.images.SlideShow9.src = preLoad[j+8].src;
document.images.SlideShow10.src = preLoad[j+9].src;
document.images.SlideShow11.src = preLoad[j+10].src;
document.images.SlideShow12.src = preLoad[j+11].src;
document.images.SlideShow13.src = preLoad[j+12].src;
document.images.SlideShow14.src = preLoad[j+13].src;
if (document.all) {
document.images.SlideShow1.filters.blendTrans.Play();
document.images.SlideShow2.filters.blendTrans.Play();
document.images.SlideShow3.filters.blendTrans.Play();
document.images.SlideShow4.filters.blendTrans.Play();
document.images.SlideShow5.filters.blendTrans.Play();
document.images.SlideShow6.filters.blendTrans.Play();
document.images.SlideShow7.filters.blendTrans.Play();
document.images.SlideShow8.filters.blendTrans.Play();
document.images.SlideShow9.filters.blendTrans.Play();
document.images.SlideShow10.filters.blendTrans.Play();
document.images.SlideShow11.filters.blendTrans.Play();
document.images.SlideShow12.filters.blendTrans.Play();
document.images.SlideShow13.filters.blendTrans.Play();
document.images.SlideShow14.filters.blendTrans.Play();
}
j = j + 1;
if ((j + 14) > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideRunSpeed);
}



var colors= new Array('#111111','#222222','#333333','#990099','#555555','#bbbbbb','#dddddd','#eeeeee','#ffffff');
 function change(i)
  {
    var color = colors[Math.floor(colors.length*Math.random())]
    if (document.layers)
        window.document.layers['id' + i].bgColor = color;
    else if (document.all)
        window.document.all['id' + i].style.background = color;
  }

  function loop()
  {
   change(Math.floor(9*Math.random()));
   setTimeout('loop()',200);
  }


//  End -->