
$(document).ready(function()
{
    mode__map_page_non_tpk_no_special_and_start_on_photos();
    activePane=-1;
    if (_showCategories != null) {
        if(_showCategories[0]){
            //do nothing photos open by default
        }else if(_showCategories[1]){
            activePane=0;
            openSection($(".sidebarsection").eq(0));
            bar_clicked($(".color-log").eq(2))
            $(".exp-content").eq(2).css("display","block");
            
            
            
        }else if(_showCategories[2]){
            activePane=1;
            openSection($(".sidebarsection").eq(1));
            bar_clicked($(".color-log").eq(3))
             $(".exp-content").eq(3).css("display","block");
        }else if(_showCategories[3]){
            activePane=2;
            openSection($(".sidebarsection").eq(2));
            bar_clicked($(".color-log").eq(4));
             $(".exp-content").eq(4).css("display","block");
        }else if(_showCategories[4]){
            activePane=3;
            openSection($(".sidebarsection").eq(3));
            $(".exp-content").eq(5).css("display","block");
            bar_clicked($(".color-log").eq(5))
        }
        
        //check all the checkboxes
        
       if(_showCategories[1]){
        $(".sectioncheck").eq(1).attr("checked", "checked");
       }
       if(_showCategories[2]){
        $(".sectioncheck").eq(2).attr("checked", "checked");
       }
       if(_showCategories[3]){
        $(".sectioncheck").eq(3).attr("checked", "checked");
       }
       if(_showCategories[4]){
       $(".sectioncheck").eq(4).attr("checked", "checked");
       }
   }
	   
});

/**
 * Stub method.
 * This is called in commonAjax.js to initialize travelpack functionality,
 * but, travelpacks are not in the customer map (yet) so this will
 * avoid the 'function undefined' problem.
 */
function TravelPack_Attach_Events()
{
}
