// JavaScript Document
//script for task bar reader board. 

function scroll_bar(seed)
{
   var tx1  = "   Join in the fun of DamTour 2010     ~            ";
    var tx2  = "   Sign Up for the Dam Tour from the About DamTour page, using PayPal .      ~            ";
    var tx3  = "   Please visit our sponsors.  ~   Be sure to drop in at the Backstage Bistro - Walla Walla     ~    ";
    var tx4  = "   Open to Riders from all over the Northwest.        ~     ";
    var tx5  = "   20 'Dam' Good Places to Ride!     ~     ";
    var tx6  = "   Have Some Great Life Experiences!        ~       ";
    var tx7  = "   Have fun and meet new friends        ~     ";
    var tx8  = "   Ride Safe!!    And  ...  have some 'Dam' good rides !!   "; 
        
        var msg=tx1+tx2+tx3+tx4+tx5+tx6+tx7+tx8;
        var display = " ";
        var c   = 1;

        if (seed > 100) {
                seed--;
                var cmd="scroll_bar(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        display+=" ";
                }
                display+=msg;
                seed--;
                var cmd="scroll_bar(" + seed + ")";
                    window.status=display;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        display+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scroll_bar(" + seed + ")";
                        window.status=display;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scroll_bar(75)",75);
                }
        }
}

// -->

<!--
scroll_bar(100,1)
// -->