
var i = 0;
function rotate() {
    if (i >= testimonials.length)
            i = 0;

    var which = Math.floor(Math.random() * testimonials.length);
    document.getElementById('inner').innerHTML = unescape(testimonials[which]);
}

rotate();
//var pe = setTimeout(rotate,5000);

