


var crossFadeDuration = 4;
var pic = new Array();

pic[0]="store.jpg";
pic[1]="store12.jpg";
pic[2]="store2.jpg";
pic[3]="store13.jpg";
pic[4]="store4.jpg";
pic[5]="store19.jpg";
pic[6]="store8.jpg";
pic[7]="store7.jpg";



var t;
var j = 0;
var p = pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
//this will loop images - 
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', 4000);
}
                                                                                         //end of slideshow function


{
function showem()   {
window.document.getElementById("histCapt").style.visibility="visible";   }
 }
{
function hidem()     {
window.document.getElementById("histCapt").style.visibility="hidden";   }
}
{
function showem1()    {
window.document.getElementById("constCapt").style.visibility="visible";  }
}
{
function hidem1()     {
window.document.getElementById("constCapt").style.visibility="hidden";   }
}
{
function showem2()   {
window.document.getElementById("operCapt").style.visibility="visible";     }
}
{
function hidem2()    {
window.document.getElementById("operCapt").style.visibility="hidden";    }
}
{
function showem3()  {
window.document.getElementById("storCapt").style.visibility="visible";      }
}
{
function hidem3()    {
window.document.getElementById("storCapt").style.visibility="hidden";     }
}
{
function showem4()   {
window.document.getElementById("mercCapt").style.visibility="visible";   }
}
{
function hidem4()       {
window.document.getElementById("mercCapt").style.visibility="hidden";   }
}
{
function showem5()    { 
window.document.getElementById("contCapt").style.visibility="visible";     }
}
{
function hidem5()     {
window.document.getElementById("contCapt").style.visibility="hidden";     } 
}							
{
function showem6()    { 
window.document.getElementById("locCapt").style.visibility="visible";     }
}
{
function hidem6()     {
window.document.getElementById("locCapt").style.visibility="hidden";     } 
}						         //end of caption functions

