 function rotate() {
    if (document.images) {
        if (firstTime) {
            thisPicture = Math.floor((Math.random() * imgCt));
            firstTime = false;
        }
        else {
            thisPicture++;
            if (thisPicture == imgCt) {
                thisPicture = 0;
            }
        }
        document.slide.src="images/"+images[thisPicture];
        document.slide.alt=imagesAlt[thisPicture];
//        document.getElementById('banner').innerHTML='';
//        document.getElementById('banner').innerHTML=imagesAlt[thisPicture];
        setTimeout("rotate()", 6 * 1000);
    }
 }

function bannerRotate() {
if (img.length-1 >0 || myCount ==0) {
if(myCount > img.length-1){myCount=0;}

if ((document.all) && (!document.getElementById))
    {
    // old IE code goes here.
    document.all['banner'].innerHTML='';
    document.all['banner'].innerHTML=img[myCount];
    }
else
    {
// Write out rotation
document.getElementById('banner').innerHTML='';
document.getElementById('banner').innerHTML=img[myCount];
    }
setTimeout("bannerRotate()", 5000);
myCount++;
}
}
