document.write ("<style>#optionalbackground { display: none }</style>");
var ti;

function FlipFlop(id)
{
    var off = id + "1";
    var on = id + "2";
    var el = document.getElementById(off);
    if (el)
        el.style.display = "none";
    el = document.getElementById(on);
    if (el)
        el.style.display = "block";
}
function Show(idx)
{
    window.clearTimeout(ti);
    var n = 6;
    if (document.getElementById)
    {
        var blk = document.getElementById("homeleft" + idx);
        if (blk)
        {
            for (var i = 0; i <=n; i++)
            {
                var x = document.getElementById("homeleft" + i);
                if (x)
                {
                    if (i == idx)
                        x.style.display = "block";
                    else
                        x.style.display = "none";
                }
            }
        }
    }
}

function ShowBackgroundInfo()
{
    if (document.getElementById)
    {
        var back = document.getElementById("optionalbackground");
        if (back)
        {
            back.style.display = "block";
            document.getElementById("showbackground").style.display = "none";
        }
    }
}