var rotatingTextElement;
var rotatingText = new Array();
var ctr = 0;

function initRotateText() {
rotatingTextElement = document.getElementById("rotate");
rotatingText[0] = rotatingTextElement.innerHTML; // store the content that's already on the page
rotatingText[1] = "<br />eStorm acts as the IT Support department for a number of companies across a multitude of industries.";
rotatingText[2] = "<br />eStorm Australia provides fast and effective service for all your IT issues.";
rotatingText[3] = "<br /><br />Virtualisation is a key component of future IT.";
rotatingText[4] = "<br />A technician onsite within 2 hours of an emergency service call.";
rotatingText[5] = "<br /><br />eStorm has access to all major brands in computing.";
rotatingText[6] = "<br /><br />eStorm is an authorized Apple reseller.";
setInterval(rotateText, 10000);
}
function rotateText() {
ctr++;
if(ctr >= rotatingText.length) {
ctr = 0;
}
rotatingTextElement.innerHTML = rotatingText[ctr];
}
window.onload = initRotateText;