$(document).ready(function() {
    //alert(location.pathname);
    if (location.pathname == '/' || location.pathname == '/Home.aspx') $("#Menu .nav_home").addClass('highlighted');
    if (location.pathname == '/About-Us.aspx') $("#Menu .nav_about").addClass('highlighted');
    if (location.pathname == '/Home/Retirement-Living-Defined.aspx') $("#Menu .nav_what").addClass('highlighted');
    if (location.pathname == '/Contact-Us.aspx') $("#Menu .nav_contact").addClass('highlighted');

    $('.req_checkboxes td:nth-child(1) label').SetBubblePopup({
        imageFolder: '/CMSTemplates/RetirementLiving/assets/bp_images',
        color: 'violet',
        innerHtml: '<p><b>Retirement Living</b></p><p>Offers independence with piece of mind of a secure living environment, with a 24hour House Manager and resident lounge for socialising.</p>'
    });

    $('.req_checkboxes td:nth-child(2) label').SetBubblePopup({
        imageFolder: '/CMSTemplates/RetirementLiving/assets/bp_images',
        color: 'violet',
        innerHtml: '<p><b>Assisted Living</b></p><p>Offer independence with piece of mind of a secure living environment with 24hour house manager and resident lounge for socialising. Plus waitress service restaurant domestic and personal help and wheelchair friendly properties.</p>'
    });
    
});
