// Created with Matrikz's HTML TextGradient 4.0
// Copyright © 2000 by Matrikz aka ghettostepper
// E-Mail: Matrikz@topmail.de
// URL: http://myHomepage.home.pages.de
// Please leave this comment here

    var CharCount = 34;
    var LineCount = CharCount -2;
    var RotateCount = CharCount *2 -3;
    var GlobalIndex = 0;

    var ColorArray = new Array(CharCount);
    var RotateArray = new Array(CharCount *2 -2);
    var TextArray = new Array(CharCount);


    RotateArray[0] = "#000098";
    RotateArray[1] = "#0000A9";
    RotateArray[2] = "#0000B9";
    RotateArray[3] = "#0000C7";
    RotateArray[4] = "#0000D8";
    RotateArray[5] = "#0000E4";
    RotateArray[6] = "#0000F7";
    RotateArray[7] = "#0010F1";
    RotateArray[8] = "#0021E0";
    RotateArray[9] = "#002FD2";
    RotateArray[10] = "#003CC5";
    RotateArray[11] = "#004EB3";
    RotateArray[12] = "#005BA5";
    RotateArray[13] = "#006996";
    RotateArray[14] = "#007988";
    RotateArray[15] = "#008879";
    RotateArray[16] = "#009669";
    RotateArray[17] = "#00A55B";
    RotateArray[18] = "#00B34A";
    RotateArray[19] = "#00A74A";
    RotateArray[20] = "#009C4A";
    RotateArray[21] = "#0F943C";
    RotateArray[22] = "#1E8233";
    RotateArray[23] = "#2E6F00";
    RotateArray[24] = "#3D6500";
    RotateArray[25] = "#505200";
    RotateArray[26] = "#653E00";
    RotateArray[27] = "#784419";
    RotateArray[28] = "#8B1300";
    RotateArray[29] = "#A00000";
    RotateArray[30] = "#B50000";
    RotateArray[31] = "#C00000";
    RotateArray[32] = "#CA0000";
    RotateArray[33] = "#E20000";
    RotateArray[34] = "#CA0000";
    RotateArray[35] = "#C00000";
    RotateArray[36] = "#B50000";
    RotateArray[37] = "#A00000";
    RotateArray[38] = "#8B1300";
    RotateArray[39] = "#784419";
    RotateArray[40] = "#653E00";
    RotateArray[41] = "#505200";
    RotateArray[42] = "#3D6500";
    RotateArray[43] = "#2E6F00";
    RotateArray[44] = "#1E8233";
    RotateArray[45] = "#0F943C";
    RotateArray[46] = "#009C4A";
    RotateArray[47] = "#00A74A";
    RotateArray[48] = "#00B34A";
    RotateArray[49] = "#00A55B";
    RotateArray[50] = "#009669";
    RotateArray[51] = "#008879";
    RotateArray[52] = "#007988";
    RotateArray[53] = "#006996";
    RotateArray[54] = "#005BA5";
    RotateArray[55] = "#004EB3";
    RotateArray[56] = "#003CC5";
    RotateArray[57] = "#002FD2";
    RotateArray[58] = "#0021E0";
    RotateArray[59] = "#0010F1";
    RotateArray[60] = "#0000F7";
    RotateArray[61] = "#0000E4";
    RotateArray[62] = "#0000D8";
    RotateArray[63] = "#0000C7";
    RotateArray[64] = "#0000B9";
    RotateArray[65] = "#0000A9";

    TextArray[0] = ">I</font>";
    TextArray[1] = ">s</font>";
    TextArray[2] = ">l</font>";
    TextArray[3] = ">a</font>";
    TextArray[4] = ">n</font>";
    TextArray[5] = ">d</font>";
    TextArray[6] = ">p</font>";
    TextArray[7] = ">f</font>";
    TextArray[8] = ">e</font>";
    TextArray[9] = ">r</font>";
    TextArray[10] = ">d</font>";
    TextArray[11] = ">e</font>";
    TextArray[12] = ">f</font>";
    TextArray[13] = ">r</font>";
    TextArray[14] = ">e</font>";
    TextArray[15] = ">u</font>";
    TextArray[16] = ">n</font>";
    TextArray[17] = ">d</font>";
    TextArray[18] = ">e</font>";
    TextArray[19] = "> </font>";
    TextArray[20] = ">B</font>";
    TextArray[21] = ">e</font>";
    TextArray[22] = ">n</font>";
    TextArray[23] = ">s</font>";
    TextArray[24] = ">h</font>";
    TextArray[25] = ">e</font>";
    TextArray[26] = ">i</font>";
    TextArray[27] = ">m</font>";
    TextArray[28] = "> </font>";
    TextArray[29] = ">e</font>";
    TextArray[30] = ">.</font>";
    TextArray[31] = "> </font>";
    TextArray[32] = ">V</font>";
    TextArray[33] = ">.</font>";

    function SetTextCol(TGSource) {
         if ((document.all) && (!document.getElementById)) document.all.tgid.innerHTML = TGSource; //für alten IE
         if (document.getElementById) document.getElementById("tgid").innerHTML = TGSource;
         /*else if (document.layers)
         {
         TGSource = "<center><b><font size='+2' face='Comic Sans MS,VERDANA,ARIAL,HELVETICA'>" + TGSource + "</font></b></center>";
         document.nstgid.document.open();
         document.nstgid.document.write(TGSource);
         document.nstgid.document.close();

         }*/

    }

    function IncreaseIndex() {
        GlobalIndex++;
        if (GlobalIndex > RotateCount)
            GlobalIndex = 0;
    }

    function ChangeColor() {
        var DummySource = "<font ";
        var OldIndex = GlobalIndex;
        var delay = 100;


        for (i = 0; i < CharCount; ++i) {
            ColorArray[i] = RotateArray[GlobalIndex];
            IncreaseIndex();
        }

        GlobalIndex = OldIndex;
        IncreaseIndex();

        for (i = CharCount; i > 0; i--) {
            DummySource = DummySource +"color=" +ColorArray[i -1] +TextArray[CharCount -i];
            if (i >= 1) {
                DummySource = DummySource +"<font\n";
            }
        }

        SetTextCol(DummySource);

        setTimeout('ChangeColor()', delay);
    }