﻿
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)}if(e.type=="mouseenter"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.bind('mouseenter',handleHover).bind('mouseleave',handleHover)}})(jQuery);
;;;
var _gaq=_gaq||[];$(document).ready(function(){$('#dnn_ContentPane .Title:first').addClass('first');$("footer").delay(400).animate({marginBottom:'0'},300);$('<span></span>').prependTo('.twitterEntry');function MMOpen(){$("#VenueMM").show("bounce",150);$(".subMM:first-child").addClass("clicked")}
function MMClose(){$("#VenueMM").slideUp(400,'swing');$(".subMM:first-child").removeClass("clicked")}
var MMconfig={sensitivity:2,interval:25,over:MMOpen,timeout:15,out:MMClose};$(".no-touch .subMM").hoverIntent(MMconfig);$(".touch .subMM").toggle(MMOpen,MMClose);function BBOpen(){$(this).animate({paddingTop:'64px',marginBottom:'-24px'},100);}
function BBClose(){$(this).animate({paddingTop:'39px',marginBottom:'0'},100);}
var BBconfig={sensitivity:2,interval:0,over:BBOpen,timeout:0,out:BBClose};$("#VenueBB a").hover(BBOpen,BBClose);function WTOpen(){var $lefty=$(this).children("ul");$lefty.animate({opacity:1,marginLeft:160},200);}
function WTClose(){var $lefty=$(this).children("ul");$lefty.animate({opacity:0,marginLeft:0},400);}
var WTconfig={sensitivity:2,interval:25,over:WTOpen,timeout:15,out:WTClose};$('#WhereTo div').hoverIntent(WTconfig);var filetypes=/\.(zip|exe|pdf|doc*|xls*|ppt*|mp3)$/i;$('#dnn_ContentPane a[href]').each(function(){var href=$(this).attr('href');if((href.match(/^https?\:/i))&&(!href.match(document.domain))){$(this).click(function(){var extLink=href.replace(/^https?\:\/\//i,'');_gaq.push(['_trackEvent','Link','External',extLink]);});$(this).addClass('externalLink');}
else if(href.match(/^mailto\:/i)){$(this).click(function(){var mailLink=href.replace(/^mailto\:/i,'');_gaq.push(['_trackEvent','Link','Email',mailLink]);});}
else if(href.match(filetypes)){$(this).click(function(){var extension=(/[.]/.exec(href))?/[^.]+$/.exec(href):undefined;var filePath=href.replace(/^https?\:\/\/(www.)domain\.com\//i,'');_gaq.push(['_trackEvent','Link','Download - '+ extension,filePath]);});$(this).addClass(extension);}});});
;;;
