<!-- Hide from old browsers


var indexI = 1;
var banner1= new Image();
banner1.src = "rb/rb1.gif";
var banner2 = new Image();
banner2.src = "rb/rb2.gif";
var banner3 = new Image();
banner3.src = "rb/rb3.gif";
var banner4= new Image();
banner4.src = "rb/rb4.gif";
var banner5= new Image();
banner5.src = "rb/rb5.gif";
var banner6= new Image();
banner6.src = "rb/rb6.gif";

var description = new Array();
description[1] = "Click to visit the Blue Heron French Cheese Company";
description[2] = "Click to visit the Silver Sands Oceanfront Resort";
description[3] = "Click to visit The UPS Store's Online Printing Service";
description[4] = "Click to visit Harborview Inn & RV Park";
description[5] = "Click to visit IAC WebMedia Web Designs";
description[6] = "Click to Contact the Tillamook Area Chamber of Commerce about having your Business Banner here!";

var links = new Array();
links[1] = "http://www.blueheronoregon.com/store/pg/21-Join-Our-Email-List.aspx";
links[2] = "http://www.oregonsilversands.com/";
links[3] = "http://www.theupsstorelocal.com/6057/";
links[4] = "http://www.harborviewfun.com/";
links[5] = "http://www.iacwebmedia.com/";
links[6] = "erates.htm";


function startTime()
{
        var curDate= new Date();
        hours= curDate.getHours();
        mins= curDate.getMinutes();
        secs= curDate.getSeconds();
        closeTime=hours*3600+mins*60+secs;
        closeTime+=10;	// How many seconds til the next rotation
        Timer();
}

function Timer(){
        var curDate= new Date();
        hours= curDate.getHours();
        mins= curDate.getMinutes();
        secs= curDate.getSeconds();
        curTime=hours*3600+mins*60+secs
        if (curTime>=closeTime)
        {
    		if (indexI < 6)// The number (6) is the amount of banners that you have
            {
    			indexI++;
    			document.getElementById("banner").src = eval("banner" + indexI + ".src");
    		}
    		else
            {
    			indexI = 1;
    			document.getElementById("banner").src = eval("banner" + indexI + ".src");
    		}
    		startTime();
    	}
        else
        {
                window.setTimeout("Timer()",1000)
        }

}

function clickLink(){
	top.location = links[indexI];
}

function descript(){
	window.status = description[indexI];
}

// -->
