$.wl = {
  codename: 'duralex'
};

$.wl.index = {
  durationIn : 200,
  durationOut : 900,
  inactivePos: "(0 0)",
  activePos: "(-225px 0)"
};

$.wl.advise = {
  timeoutBefore: 2000,
  timeoutAfter: 15000,
  durationIn : 1000,
  durationOut: 1200
}

$(document).ready(function() {

	$('.title').attr('title', $.wl.title_article_show).click(function(){
    $(this).next('.detail').toggle('normal');

  });

  $(".reservation").hide();

  $(".showreservation").attr('title', $.wl.title_reservation_toggle);
  $(".showreservation").css('cursor', 'pointer');

  $(".showreservation").click(function(){
		$(this).next(".reservation").toggle("normal");
  });

  if(jQuery().mbTooltip)
  {
    $("[title]").mbTooltip({ // also $([domElement]).mbTooltip
      opacity : .75,       //opacity
      wait:300,           //before show
      cssClass:"default",  // default = default
      timePerWord:70,      //time to show in milliseconds per word
      hasArrow:true,                 // if you whant a little arrow on the corner
      hasShadow:false,
      imgPath:"images/",
      anchor:"parent", //or "parent" you can ancor the tooltip to the mouse  or to the element
      shadowColor:"green", //the color of the shadow
      mb_fade:200 //the time to fade-in
    });
  }


});

