// JavaScript Document
<!-- Beginning of JavaScript Applet -------------------
/* Copyright (C)1996 Web Integration Systems, Inc. DBA Websys, Inc. All Rights Reserved.
   This applet can be re-used or modified, if credit is given in the source code.
   We will not be held responsible for any unwanted effects due to the 
   usage of this applet or any derivative.  No warrantees for usability 
   for any specific application are given or implied.
   Chris Skinner, January 30th, 1996.
*/


function scrollit_r2l(seed)
{
<!--        var m1  = "     "; -->
<!--         var m2  = "     -  Upcoming Events:        "; -->
<!--        var m3  = "       FAA 2005 Cyber Awareness Day - May 11th 2005 from 10:00am to 11:00am EDT  "; -->
<!--        var m4  = "       FAA Office of the Chief Counsel All Hands Meeting - May 17th 2005 from 2:00pm to 3:00pm EDT  "; -->
<!--        var m5  = "       BY 07 Exhibit 300 Kick-Off Ceremony - March 09th 2005 from 9:45am to 11:45am EDT  "; -->
<!--        var m6  = "     - News Flash:   U.S. Department of Transportation FY 2006 Budget Rollout On-Demand Video is Available  "; -->
<!--        var m7  = "     - News Flash:   AFSS A-76 Performance Decision Announcement On-Demand Video is Available  "; -->
<!--        var m8  = "     - News Flash:   Interview with Steve Creamer, Program Manager for the Domestic Reduced Vertical Separation Minima (DRVSM) Program On-Demand Video is Available  "; -->
<!--        var m9  = "     - News Flash:   Aviation Safety Town Hall Meeting On-Demand Video is Available  "; -->
<!--        var m10  = "    - News Flash:   FAA Administrator Marion Blakey, 'Honoring FAAers Serving in Iraq and Afghanistan' On-Demand Video is Available  "; -->	
<!--        var m11  = "    - News Flash:   FAA Administrator Marion Blakey's Town Hall meeting on the State of the FAA and 2005-2009 Flight Plan On-Demand Video is Available"; -->
<!--	    var m7  = "  "; -->
<!--        var m8  = "  "; -->
<!--        var m3  = "  "; -->
<!--        var m3  = "  "; -->
<!--        var m7  = "  "; -->
<!--        var m8  = "  "; -->
<!--        var m9  = "  "; -->
<!--   	    var m8  = "  "; -->

       var msg=;
        var out = " ";
        var c   = 1;
if (seed > 100) {
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 100 && seed > 0) {
                for (c=0 ; c < seed ; c++) {
                        out+=" ";
                }
                out+=msg;
                seed--;
                var cmd="scrollit_r2l(" + seed + ")";
                    window.status=out;
                timerTwo=window.setTimeout(cmd,100);
        }
        else if (seed <= 0) {
                if (-seed < msg.length) {
                        out+=msg.substring(-seed,msg.length);
                        seed--;
                        var cmd="scrollit_r2l(" + seed + ")";
                        window.status=out;
                        timerTwo=window.setTimeout(cmd,100);
                }
                else {
                        window.status=" ";
                        timerTwo=window.setTimeout("scrollit_r2l(100)",75);
                }

        }
}


/*      Put in the names of the images.                                 */
        pics = new 

Array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19',

'20');

/*      Pseudo-random number generator to use instead of 
        Math.random function (no, I didn't write this).
*/
        random.m=714025; random.a=4096; random.c=150889;
        random.seed = (new Date()).getTime()%random.m;
        function random() {
                random.seed = (random.seed*random.a + random.c) % random.m;
                return random.seed / random.m;
        }

/*      Math.random() thang                                                             */
        function random1() {
                return (Math.round((Math.random() * (pics.length - 1))));
        }

/*      random() thang                                                                  */
        function random2() {
                return (Math.round((random() * (pics.length - 1))));
        }

/*      Switch image!                                                                   */
        function switchImage() {
                document.images[3].src = '/Banners/' + pics[random2()] + '.jpg';
                window.setTimeout("switchImage();",15000);
        }

// -->