var g_ClassificationImageNames = {
  'investigator': 'Invstgtrs',
  'jfrc_fellow': 'JFRCSci',
  'international_scholar': 'IntlSchol',
  'early_career_scientist': 'ECS',
};

$(document).ready(function () {
    var classificationCode = g_CurrentClassification.replace(/ /g, '_').toLowerCase();

    $("#" + classificationCode + '-link').each(
        function () {
            $(this).attr('onmouseover', null);
            $(this).attr('onmouseout', null);
            $(this).find('img').each(function (i) {
                $(this).attr('src', '/images/' + g_ClassificationImageNames[classificationCode] + '_static.gif');
            });

	    // FF supports only "display: table-row" here, IE supports only "block".
 	    // Empty string allows each to use its default.
            $("#" + classificationCode + '-submenu').each(function () {
                 $(this).css('display', '');
            });
            $("#" + classificationCode + '-submenu-sep').each(function () {
                 $(this).css('display', '');
            });
    });
});
