/* ===================== */
/* = CUSTOM JAVASCRIPT = */
/* ===================== */
// Any custom code that is required for the application
// should be written in this file.


var howOften = 2; //number often in seconds to rotate
var current = 0; //start the counter at 0
var items = new Array();
    items[0]="Bigger truck doesn't equal better remodeler.";
    items[1]="Green to the core &mdash; practicing what we preach.";
    items[2]="Little spaces = Big character and charm.";
    items[3]="Show your home some of the appreciation it has shown you.";
    items[4]="No Coupons, No Gimmicks, No Special Promotions... Just Great Remodeling Projects";
    items[5]="We can do it, You can help.";
    items[6]="Make Your Home Your Castle.";
    items[7]="Them: 4 weeks planning, 8 week project <br />Us: 8 weeks planning, 4 week project"


function textRotator() {
    document.getElementById("rotateTextId").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
    setTimeout("textRotator()",howOften*2200);
}

