// 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 = 18;
    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] = "#0A00FF";
    RotateArray[2] = "#2000FF";
    RotateArray[3] = "#3100FF";
    RotateArray[4] = "#3900FF";
    RotateArray[5] = "#4300FF";
    RotateArray[6] = "#5400FF";
    RotateArray[7] = "#6B00FF";
    RotateArray[8] = "#7400FF";
    RotateArray[9] = "#8B00FF";
    RotateArray[10] = "#A000FD";
    RotateArray[11] = "#AD00FF";
    RotateArray[12] = "#B700FF";
    RotateArray[13] = "#C000FF";
    RotateArray[14] = "#CE00FF";
    RotateArray[15] = "#D900FF";
    RotateArray[16] = "#E100FF";
    RotateArray[17] = "#FF00FF";
    RotateArray[18] = "#E100FF";
    RotateArray[19] = "#D900FF";
    RotateArray[20] = "#CE00FF";
    RotateArray[21] = "#C000FF";
    RotateArray[22] = "#B700FF";
    RotateArray[23] = "#AD00FF";
    RotateArray[24] = "#A000FD";
    RotateArray[25] = "#8B00FF";
    RotateArray[26] = "#7400FF";
    RotateArray[27] = "#6B00FF";
    RotateArray[28] = "#5400FF";
    RotateArray[29] = "#4300FF";
    RotateArray[30] = "#3900FF";
    RotateArray[31] = "#3100FF";
    RotateArray[32] = "#2000FF";
    RotateArray[33] = "#0A00FF";

    TextArray[0] = ">S</font>";
    TextArray[1] = ">a</font>";
    TextArray[2] = ">x</font>";
    TextArray[3] = ">o</font>";
    TextArray[4] = ">p</font>";
    TextArray[5] = ">h</font>";
    TextArray[6] = ">o</font>";
    TextArray[7] = ">n</font>";
    TextArray[8] = ">u</font>";
    TextArray[9] = ">n</font>";
    TextArray[10] = ">t</font>";
    TextArray[11] = ">e</font>";
    TextArray[12] = ">r</font>";
    TextArray[13] = ">r</font>";
    TextArray[14] = ">i</font>";
    TextArray[15] = ">c</font>";
    TextArray[16] = ">h</font>";
    TextArray[17] = ">t</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);
    }

