//Nomensa jquery init file
//author: nomensa
//website: http://www.nomensa.com

$(document).ready( function(){
    $('body').addClass('js');
        
    //if you want it to animate (slide) enter {animate: true} speed can be "slow" "normal" or "fast"
    $('#sitemap').nomSitemap({});
    
    
    $('.formInput').nomFormFocus(); 
    
    $('blockquote').nomBlockquote();
   
	ThumbnailSwitcher(".photoGallery")


    setLayoutSwitcher([{
        selector:".bodyContentOne #destinations .boxInner", ranges:new Array(
             // The default will be no class at 0-500
            {th:0},
            {th:950, className:"js-twoColumnLayout"}  
    )},{
        selector:".bodyContentTwo .holidayItem", ranges:new Array(
             // The default will be no class at 0-500
            {th:0},
            {th:950, className:"js-twoColumnLayout"}  
    )},{    
        selector:".listingsPage .holidayListings .holidayContent", ranges:new Array(
            {th:0},
            {th:950, className:"js-twoColumnLayout"}
    )},{              
        selector:".listingsPage .holidaySummary", ranges:new Array(
             // The default will be no class at 0-500
            {th:0},
            {th:950, className:"js-twoColumnLayout"}  
    )}]);
    
});


// HEADER PIPE REMOVAL 
$(document).ready( function(){
	$('#headerSectionOne li:last-child').addClass('last');
});

