var timerID = null;
var timerRunning = false;
var id,pause=0,position=0;

function ticker() {

        var i,k,msg=" New for 2005 Walking Tours of Millenium Park, and Ethnic Neighborhoods Tour. "
        k=(76/msg.length)+1;

        for(i=0;i<=k;i++) msg+=" "+msg;
        document.form2.ticker.value=msg.substring(position,position+75);

        if(position++==202) position=0;
        id=setTimeout("ticker()",1500/10); }

function action() {

        if(!pause) {
                clearTimeout(id);
                pause=1; }

        else {
                ticker();
                pause=0; } }

// --End Hiding Here -->
//<!--

if (document.images) {

normal = new MakeImageArray(8)
over = new MakeImageArray(8)
picture2 = new MakeImageArray(8)
blurb = new MakeStringArray(8)

normal[3].src = "bouton/services0.gif"
normal[4].src = "bouton/tours0.gif"
normal[5].src = "bouton/rates0.gif"
normal[6].src = "bouton/about%20us0.gif"
normal[7].src = "bouton/contact%20us0.gif"
normal[8].src = "bouton/weather0.gif" 

over[3].src = "bouton/services1.gif"
over[4].src = "bouton/tours1.gif" 
over[5].src = "bouton/rates1.gif"
over[6].src = "bouton/about%20us1.gif"
over[7].src = "bouton/contact%20us1.gif"
over[8].src = "bouton/weather1.gif"

picture2[3].src = "bouton/busbus1.gif"
picture2[4].src = "bouton/busbus2.gif"
picture2[5].src = "bouton/busbus3.gif"
picture2[6].src = "bouton/busbus4.gif"
picture2[7].src = "bouton/busbus5.gif"
picture2[8].src = "bouton/busbus6.gif"
picture2[1].src = "bouton/busbus0.gif"

blurb[3] = "Services available and provided by our tour guides and interpreters"
blurb[4] = "Sightseeing Tours With A Step-on Guide"
blurb[5] = "Year 2001 Rates" 
blurb[6] = "About Chicago Tour Guides Institute, Inc."
blurb[7] = "Contact us"
blurb[8] = "Yahoo! Weather"

}

function MakeImageArray(n) {
this.length = n

for (var i = 1; i<=n; i++) {
this[i] = new Image()

}

return this
}

function MakeStringArray(n) {
this.length = n

for (var i = 1; i<=n; i++) {
this[i] = new String()

}

return this

}

function msover(num) {

if (document.images) { 
document.images[num+1].src = over[num].src
window.status = blurb[num]
document.images[1].src = picture2[num].src

}

}

function msout(num) {

if (document.images) {

document.images[num+1].src = normal[num].src
window.status = blurb[1]
document.images[1].src = picture2[1].src

} 

}

// -->
