var index = 0;
var t;
var speed = 4000;

var bannerVars = new Array();
bannerVars[0] = "Complex Needs";
bannerVars[1] = "Same Day Emergencies";
bannerVars[2] = "Experience, Dedication & Caring";

function StartScroller()
 {
    t = setTimeout("StepScroller()", speed);
}

function StepScroller()
 {
    if (index == bannerVars.length - 1)
    return;
    else
    index++;

    document.getElementById("txtScrollText").value = bannerVars[index];
    stopCount();
    t = setTimeout("StepScroller()", speed);
}
function stopCount()
 {
    clearTimeout(t);
}

var path = "images/OfficePics/";
fadeimages[0] = [path + "frontDesk1.jpg", "", ""];
fadeimages[1] = [path + "frontDesk2.jpg", "", ""];
fadeimages[2] = [path + "frontDesk3.jpg", "", ""];
fadeimages[3] = [path + "frontDesk4.jpg", "", ""];
fadeimages[4] = [path + "officeStaff2.jpg", "", ""];
fadeimages[5] = [path + "officeStaff4.jpg", "", ""];
fadeimages[6] = [path + "officeStaff5.jpg", "", ""];
fadeimages[7] = [path + "officeStaff6.jpg", "", ""];
