/*Shane's implimented rotator script */

var howOften = 10; //number often in seconds to rotate
var current = 5; //start the counter at 0
var ns6 = document.getElementById&&!document.all; //detect netscape 6


// place your images, text, etc in the array elements here

var items = new Array();
    items[0]=' "The staff is exceptional. They go out of their way to help you. They are very caring."<br><br/>~Parent';
    items[1]='"I have worked with skilled staff who knew what they were doing."<br><br/>~ Stakeholder'; 
    items[2]='"Since starting at Child Focus last year, we realize how little our previous day care did in the way of education. We are very happy with Child Focus and the staff.<br><br/>~ Parent';
    items[3]='"Thanks to the [Child Focus Therapist] for accomplishing what others could not. She is going to be missed. Thank God for Child Focus."<br/><br/>~ Parent';
    items[4]='"Very professional approach; staff were knowledgeable about coping strategies. The Crisis Response Team restored order to the building."<br/><br/>~ School Administrator';
    items[5]='"Our School-Based Mental Health Specialist has proven to be an outstanding resource and asset to our building. Her services have made our school stronger! On numerous occasions, I witnessed first-hand growth and progress from students who received services."<br/><br/>~Teacher';

function rotater() {
    if(document.layers) {
        document.placeholderlayer.document.write(items[current]);
        document.placeholderlayer.document.close();
    }
    if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current] 
        if(document.all)
            placeholderdiv.innerHTML=items[current];

    current = (current==items.length - 1) ? 0 : current + 1; //increment or reset
    setTimeout("rotater()",howOften*1000);
}
window.onload=rotater;
