/////////////////////////////////////////////////////////////////
//       SHOW HIDE / WEBRING DIVISION [MULTI-SITE TAGGED]      //
/////////////////////////////////////////////////////////////////

d                = document;
AnimatedFinished = 0;
SolidMenu        = 0;
Next             = 0;

function AnimateMenu()
    {
    if(AnimatedFinished == 0)
        {
d.getElementById('WebRing').style.marginTop = '0px';
    MenuHeight = document.getElementById('WebRing').offsetHeight;
d.getElementById('WebRing').style.marginTop = '-1500px';
    CurrentHeight = '-' + MenuHeight;
    d.getElementById('WebRing').style.marginTop = (0 - MenuHeight);
    ShowAnimated();
        }
    }

function ShowAnimated()
    {
CurrentHeight = (1 * CurrentHeight) + 5;
d.getElementById('WebRing').style.marginTop = CurrentHeight + 'px';
    if(CurrentHeight < 0)
        {
    setTimeout("ShowAnimated()",1);
    Next = 0;
        }
    else
        {
    d.getElementById('WebRing').style.marginTop = '0px';
    AnimatedFinished = 1;
    SolidMenu = 1;
    Next = 1;
        }
    }

function ShowHideMenu(TheAction)
    {
if (Next == 1)
    {
if(TheAction == 1)
        {
    if(SolidMenu == 1)
        {
    d.getElementById('WebRing').style.marginTop = '0px';
    AnimatedFinished = 1;
        }
        }
else
        {
    if(AnimatedFinished == 1)
        {
    d.getElementById('WebRing').style.marginTop = '-1500px';
    AnimatedFinished = 0;
        }
        }
    }
    }
    
function Dummy()
    {
    }