function init(sel)
{
   $(document).ready(function(){
      // Init navigation
      $("#"+sel).css({
         backgroundPosition: "0px -60px"
      })

      $("#"+sel).siblings().show();

      // Init third navigation (see Accomodations)
      $("ul.tnav li:last-child").css({
         background: "none"
      })

      // Init store grid
      $("table.grid tr:last-child td").css({
         padding: "0px"
      })

      $("table.grid td:last-child").css({
         padding: "0px"
      })

      // Init tnav rollover
      $(".img_roll:first-child").show();
      $(".tnav li a").hover(function(){
         $(this).addClass("sel");
         var ind = $(".tnav li a").index(this)+1;
         $(".img_roll").hide();
         $(".img_roll:eq("+ind+")").toggle();
      }, function(){
         $(this).removeClass("sel");
         $(".img_roll").hide();
         $(".img_roll:first-child").show();
      })
   })
}

function init_table()
{
   $(document).ready(function(){
     // Init table.tbl
      $("table.tbl td:first-child").css({
         paddingLeft: "10px",
         fontSize: "12px",
         fontWeight: "bold",
         textAlign: "left",
         whiteSpace: "nowrap"
      })

      $("table.tbl tr:nth-child(even)").addClass("alt");
   })
}

function init_list()
{
   $(document).ready(function(){
      $("ul.lst li a.desc").click(function(e){
         e.preventDefault();
//         $("ul.lst li .info").slideUp();
         $(this).toggleClass("sel");
         $(this).siblings(".info").slideToggle();
      })
   })
}

function init_zoom()
{
   $(document).ready(function(){
      $(".tmb a").click(function(e){
         e.preventDefault();
         $(".zoom").fadeOut();
         $(this).siblings(".zoom").fadeIn();
      })

      $(".tmb .zoom").click(function(e){
         remove_zoom();
      })

      $(document).click(function(e){
         if (!$(e.target).parents().hasClass("tmb") && !$(e.target).siblings().hasClass("zoom")) remove_zoom();
      })

      function remove_zoom()
      {
         $(".tmb .zoom").fadeOut();
      }
   })
}

