//functions.js
var $currentlyShown = null;
function showOptions($value)
{
 
    $currentlyShown = document.getElementById('form_' + $value);
 
    // Check for invalid selection or no available options.
    if($currentlyShown)
    {
        $currentlyShown.style.display = '';
    }
}
function hideOptions($value)
{
 
    $currentlyShown = document.getElementById('form_' + $value);
 
    // Check for invalid selection or no available options.
    if($currentlyShown)
    {
        $currentlyShown.style.display = 'none';
    }
}
