﻿function backColor() {
    window.setTimeout("backColor()", 3000);
    var index = Math.round(Math.random() * 9);
    var ColorValue = "White";
    if (index == 1)
        ColorValue = "purple";
    if (index == 2)
        ColorValue = "Pink";
    if (index == 3)
        ColorValue = "A6BEFF";
    if (index == 4)
        ColorValue = "Aqua";
    if (index == 5)
        ColorValue = "silver";
    if (index == 6)
        ColorValue = "99FF99";
    if (index == 7)
        ColorValue = "FFFF99";
    if (index == 8)
        ColorValue = "FFCC99";
    if (index == 9)
        ColorValue = "CCCCCC";
    document.fgColor = ColorValue;
}
