﻿function menuRollover(div) 
{
    var option = ['educationsub', 'inspirationsub', 'actionsub'];
    for (var i = 0; i < option.length; i++) 
    {
        if (document.getElementById(option[i])) 
        {
            obj = document.getElementById(option[i]);
            obj.style.display = (option[i] == div) ? "block" : "none";
        }
    }
}

function menuRolloverClear() 
{
    var option = ['educationsub', 'inspirationsub', 'actionsub'];
    for (var i = 0; i < option.length; i++) 
    {
        if (document.getElementById(option[i])) 
        {
            obj = document.getElementById(option[i]);
            obj.style.display = "none";
        }
    }
}
