var testimonial_delay = 6000;   // delay between rotation (msec)
var testimonial_random = true;
var testimonials = [
"&quot;Excellent service, fast and efficient. Our early problems were fixed up very quickly. The program is perfect for us and is easy to use, even for a novice like me.&quot;<br /><br />"+
"David Millar<br />"+
"Executive Director<br />"+
"Concrete Pipe Association of Australasia",

"&quot; I Love You, Easy WebContent. Your update has made me so happy, Thanks for all your efforts.&quot;<br /><br />"+
"Dan<br />"+
"Moriah Glass",

"&quot; Easy web content is by far, the best online editing site. I have used several others in the past and this one is the greatest! It is so simple to use yet professional and efficient. Totally recommend it!!  many thanks,&quot;<br /><br />"+
"Dawn C<br />"+
"Florida",

"&quot;The Easy WebContent system is so easy to use even for the novice and is a great tool to have to keep your website up to date. I would recommend it to anyone looking for a website management tool that can be used without having to know HTML. &quot;<br /><br />"+
"Laura Head<br />"+
"CPS Healthcare, Inc."

];

function testimonial_next(){
    if (testimonial_random){
        current_testimonial += Math.floor(Math.random()*(testimonials.length-2))+1;
    }
    else {
        current_testimonial++;
    }
    while (current_testimonial>=testimonials.length)current_testimonial = current_testimonial-testimonials.length;
    document.getElementById('testimonial').innerHTML = testimonials[current_testimonial];
    window.setTimeout(testimonial_next, testimonial_delay);
}

var current_testimonial = 0;
if (testimonials.length>0){
    if (testimonial_random){
        current_testimonial = Math.floor(Math.random()*testimonials.length);
        while (current_testimonial>=testimonials.length)current_testimonial = current_testimonial-testimonials.length;
    }
    document.write('<p class="bannertextwhite" id="testimonial">'+testimonials[current_testimonial]+'</p>');
    window.setTimeout(testimonial_next, testimonial_delay);
}
else {
    document.write('<p class="bannertextwhite" id="testimonial">'+testimonials[current_testimonial]+'</div>');
}