var howOften = 10; //number often in seconds to rotate
var current = 0; //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]="<h3 class='index_h3'>Welcome to JB Tax and Finance</h3><p class='index_text'>Providing education, direction, and support.</p><img alt='JB Tax and Finance' src='../images/jb_tax_finance.png' />";
    items[1]="<h3 class='index_h3'>Family and Life Stage Planning</h3><p class='index_text'><b>Plan</b> - dignity and independence</p><p class='index_textb'><b>Choose</b> - your standard of living</p><p class='index_textc'><b>Implement</b> - ongoing income streams</p><p class='index_textd'><b>Review</b> - use the sharpest tools</p><p class='index_link'><span class='pglink'><a href='renton_wealth_planning.php' title='JB Tax and Finance Wealth Planning'>Plan your future with JB Tax and Finance</a></span></p><img alt='Renton Family Planning' src='images/renton_family_planning.jpg' />";
    items[2]="<h3 class='index_h3'>Need Tax Help and Advice?</h3><p class='index_text'>Laws are changing  - Get the facts that will benefit you and your family now and in the future.</p><p class='index_link'><span class='pglink'><a href='renton_tax_preparation_services.php' title='JB Tax and Finance Tax Preparation'>Prepare your taxes with JB Tax and Finance</a></span></p><img alt='Renton Tax Services' src='images/renton_tax_services.jpg' />";
	items[3]="<h3 class='index_h3'>Business Solutions</h3><p class='index_text'>Create a partnership with <b>JB Tax and Finance</b> for strategic business processes on financial documentation, tax reductions, hiring, risk management and wealth planning.</p><p class='index_link'><span class='pglink'><a href='renton_small_business_services.php' title='JB Tax and Finance Business Services'>JB Tax and Finance Business Solutions</a></span></p><img alt='Renton Business Services' src='images/renton_small_business_services.jpg' />";
function rotater() {
    document.getElementById("placeholder").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
    setTimeout("rotater()",howOften*1000);
}

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;
