﻿// JScript File

$(document).ready(function()
{
    var nav = location.pathname.toLowerCase();

    // Get all the nav items in the SubMenu and Footer
    var menuItems = $(".Footer a, .DottedPanel a");
    
    menuItems.each(
        function( intIndex ){
            // If the href == current url highlight it
            if ( $(this).attr('href').toLowerCase() == nav ){
                $(this).addClass( "active" );
            }
        }
    )
});

var DisplaySubMenu = function( itemNum ){};
var HideAllSubMenus = function(){};

$(document).ready(function(){
  $.preloadCssImages();
}); 
