﻿$('document').ready(function(){
    $('#photo_box div').addClass('main_menu_landing');
    switch(currentPage){
        case 'Information Center' :
            $('#menu_information_center').show();
            $('#information_center').each(function(){
                swap_over($(this));
                $(this).css('border-bottom-color', '#A3B5BC');
                $(this).attr('landing', true);
            });
            break;
        case 'Change Your Habits' :
            $('#menu_change_your_habits').show();
            $('#change_your_habits').each(function(){
                swap_over($(this));
                $(this).css('border-bottom-color', '#A3B5BC');
                $(this).attr('landing', true);
            });
            break;
        case 'Maternity & Children' :
            $('#menu_maternity_and_children').show();
            $('#maternity_and_children').each(function(){
                swap_over($(this));
                $(this).css('border-bottom-color', '#A3B5BC');
                $(this).attr('landing', true);
            });
            break;
        case 'Men\'s & Women\'s Health' :
            $('#menu_mens_and_womens_health').show();
            $('#mens_and_womens_health').each(function(){
                swap_over($(this));
                $(this).css('border-bottom-color', '#A3B5BC');
                $(this).attr('landing', true);
            });
            break;
        case 'Chronic Illnesses' :
            $('#menu_chronic_illnesses').show();
            $('#chronic_illnesses').each(function(){
                swap_over($(this));
                $(this).css('border-bottom-color', '#A3B5BC');
                $(this).attr('landing', true);
            });
            break;
    }
});

