$(document).ready(function() {

  $('#slideshow img').addClass('gone');

  $.preload( '#slideshow img', {
    onFinish: function() {
      $('#slideshow img').removeClass('gone');
      $('#slideshow').slideshow({ timeout: 4000, fadetime: 600, type: 'sequence' });
    }
  });
  
  $("a[rel='cbox']").colorbox();

  $("a[rel='floorplans']").colorbox();
  
  $("a[rel='floorplan_image']").colorbox();
  
  $("a[rel='sitemap']").colorbox();

  $(".cbox").colorbox({iframe:"true", transition:"none", width:"710px", height:"660px"});

  $(".movie").colorbox({iframe:"true", transition:"none", width:"640px", height:"480px"});

  $(".service_inline_cbox").colorbox({iframe:"true", transition:"none", width:"610px", height:"660px" });
  
  // Walkscore colorbox
  $(".rss").colorbox({width:"560px", height:"376px", inline:true, href:"#thewalkscore"});
    
});


// For Photogallery
$("document").ready(function(){
$("#hideBtn:first").css("display", "block");

$(".container_amenities:odd").css("margin-right", "0px");

});
// End Photogallery


