﻿function ShowHideDiv(divID)
{
    var div = document.getElementById(divID);
    if (!div)
        return;

    if(div.style.visibility == 'hidden')
    {
      div.style.visibility = 'visible';
      div.style.display = 'block';
    }
    else if(div.style.visibility == 'visible')
    {
      div.style.visibility = 'hidden';
      div.style.display = 'none';
    }
}

// Search Box
function searchFocus(box, text)
{
    if (box.value == text)
    {
        box.value = '';
    }
}

function searchBlur(box, text)
{
    if (box.value == '')
    {
        box.value = text;
    }
}
