// 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 = 35;
    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] = "#0000FF";
    RotateArray[1] = "#0B00FF";
    RotateArray[2] = "#1500FF";
    RotateArray[3] = "#1E00FF";
    RotateArray[4] = "#2800FF";
    RotateArray[5] = "#3300FF";
    RotateArray[6] = "#3D00FF";
    RotateArray[7] = "#4200FF";
    RotateArray[8] = "#4600FF";
    RotateArray[9] = "#5000FF";
    RotateArray[10] = "#5B00FF";
    RotateArray[11] = "#6500FF";
    RotateArray[12] = "#6E00FF";
    RotateArray[13] = "#7800FF";
    RotateArray[14] = "#7E00FF";
    RotateArray[15] = "#8300FF";
    RotateArray[16] = "#8800FF";
    RotateArray[17] = "#8D00FF";
    RotateArray[18] = "#9300FF";
    RotateArray[19] = "#9800FF";
    RotateArray[20] = "#A000FF";
    RotateArray[21] = "#AB00FF";
    RotateArray[22] = "#AE00FF";
    RotateArray[23] = "#B100FF";
    RotateArray[24] = "#B900FF";
    RotateArray[25] = "#C000FF";
    RotateArray[26] = "#C700FF";
    RotateArray[27] = "#CF00FF";
    RotateArray[28] = "#D700FF";
    RotateArray[29] = "#DF00FF";
    RotateArray[30] = "#E600FF";
    RotateArray[31] = "#EE00FF";
    RotateArray[32] = "#F400FF";
    RotateArray[33] = "#F700FF";
    RotateArray[34] = "#FF00FF";
    RotateArray[35] = "#F700FF";
    RotateArray[36] = "#F400FF";
    RotateArray[37] = "#EE00FF";
    RotateArray[38] = "#E600FF";
    RotateArray[39] = "#DF00FF";
    RotateArray[40] = "#D700FF";
    RotateArray[41] = "#CF00FF";
    RotateArray[42] = "#C700FF";
    RotateArray[43] = "#C000FF";
    RotateArray[44] = "#B900FF";
    RotateArray[45] = "#B100FF";
    RotateArray[46] = "#AE00FF";
    RotateArray[47] = "#AB00FF";
    RotateArray[48] = "#A000FF";
    RotateArray[49] = "#9800FF";
    RotateArray[50] = "#9300FF";
    RotateArray[51] = "#8D00FF";
    RotateArray[52] = "#8800FF";
    RotateArray[53] = "#8300FF";
    RotateArray[54] = "#7E00FF";
    RotateArray[55] = "#7800FF";
    RotateArray[56] = "#6E00FF";
    RotateArray[57] = "#6500FF";
    RotateArray[58] = "#5B00FF";
    RotateArray[59] = "#5000FF";
    RotateArray[60] = "#4600FF";
    RotateArray[61] = "#4200FF";
    RotateArray[62] = "#3D00FF";
    RotateArray[63] = "#3300FF";
    RotateArray[64] = "#2800FF";
    RotateArray[65] = "#1E00FF";
    RotateArray[66] = "#1500FF";
    RotateArray[67] = "#0B00FF";

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

    function SetTextCol(TGSource) {
        document.all.tgid.innerHTML = TGSource;
    }

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

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

        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()', 100);
    }
