jQuery(document).ready(function(a){a('a[rel*="external"]').click(function(){window.open(this.href);return false});a("marquee").marquee();a("#image-swapper img:not(#is-home)").css("opacity","0");a("#nav-events a").hover(function(){a("#is-events").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-events").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});a("#nav-jukebox a").hover(function(){a("#is-jukebox").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-jukebox").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});a("#nav-bookings a").hover(function(){a("#is-bookings").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-bookings").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});a("#nav-gallery a").hover(function(){a("#is-gallery").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-gallery").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});a("#nav-menus a").hover(function(){a("#is-menus").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-menus").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});a("#nav-links a").hover(function(){a("#is-links").css("z-index","10").stop(true,false).animate({opacity:"1"},1000,"easeOutQuad").addClass("current")},function(){a("#is-links").css("z-index","1").stop(true,false).animate({opacity:"0"},2000,"easeOutQuad").removeClass("current")});jQuery(function(){jQuery.fn.getTitle=function(){var c=jQuery("a.fancybox");jQuery.each(c,function(){var d=jQuery(this).children("img").attr("title");jQuery(this).attr("title",d)})};var b='a:has(img)[href$=".jpg"], a:has(img)[href$=".png"]';jQuery(b).addClass("fancybox").attr("rel","fancybox").getTitle();jQuery("a.fancybox").fancybox({transitionIn:"elastic",transitionOut:"elastic",easingIn:"easeInOutExpo",easingOut:"easeInOutExpo",changeFade:0})})});
