// variable Declarations
var over = 'no';
var browser = navigator.appName;
var whichOne = ' ';

// turns previous layer off if any and then turns current layer on (visible)
function on(pic)
{
        if (document.images) 
		{
                over = 'yes';
                if (browser == 'Netscape')  
				{
                        if (whichOne != ' ')  
						{
                                eval('document.' + whichOne + 'Menu.visibility = "hidden"');
                        }
                        eval('document.' + pic + 'Menu.visibility = "visible"');
                        whichOne = pic;
                        }
                else 
				{
                        if (whichOne != ' ')  
						{
                                eval(whichOne + 'Menu.style.visibility = "hidden"');
                        }
                        eval(pic + 'Menu.style.visibility = "visible"');
                        whichOne = pic;
                }
        }
}

// called by onmouseout event handle on images that popup rollovers
// sets over to no and begins the timeout. whichOne is used by on
// so the next div/layer knows which previous div/layer to turn off (hide)
function overChecker(pic) 
{
        whichOne = pic;
        over = 'no';
        setTimeout("off()", 500);
}

// the reverse of on(). Turns the div called 'whichOne' to hidden (off)
function off()
{
        if (document.images) 
		{
                if (over == 'no')  
				{
                        if (browser == 'Netscape')  
						{
                                eval('document.' + whichOne + 'Menu.visibility = "hidden"');
                        }
                        else 
						{
                                eval(whichOne + 'Menu.style.visibility = "hidden"');
                        }
                }
        }
}

// -->



