jQuery.fn.fadeIn=function(speed,callback){return this.animate({opacity:'show'},speed,function(){if(jQuery.browser.msie)
this.style.removeAttribute('filter');if(jQuery.isFunction(callback))
callback();});};jQuery.fn.fadeOut=function(speed,callback){return this.animate({opacity:'hide'},speed,function(){if(jQuery.browser.msie)
this.style.removeAttribute('filter');if(jQuery.isFunction(callback))
callback();});};jQuery.fn.fadeTo=function(speed,to,callback){return this.animate({opacity:to},speed,function(){if(to==1&&jQuery.browser.msie)
this.style.removeAttribute('filter');if(jQuery.isFunction(callback))
callback();});};$(document).ready(function(){$('.clearField').clearField();$("#globalNav").hoverIntent(function(){$(this).stop().animate({height:'52px',paddingTop:'8px'},'fast');$("#globalNav li p").stop().fadeIn('slow');$("#globalNav li a").stop().animate({},'fast');$("#globalNav li#crossfit").stop().animate({marginTop:'0px'},'fast');},function(){$(this).stop().animate({height:'20px',paddingTop:'0'},'fast');$("#globalNav li a").stop().animate({},'fast');$("#globalNav li#crossfit").stop().animate({marginTop:'-7px'},'fast');$("#globalNav li p").fadeOut('fast');});$("#trigger h4").toggle(function(){$("#eventSelector").stop().animate({height:'411px'},'fast');$("#eventListing").stop().fadeIn();$("#trigger h4").css("background","url('/static/img/body.eventselector.arrowup.png') no-repeat center right");},function(){$("#eventListing").fadeOut('fast');$("#eventSelector").stop().animate({height:'22px'},'fast');$("#trigger h4").css("background","url('/static/img/body.eventselector.arrow.png') no-repeat center right");});$("#trigger h4").hover(function(){$(this).css("cursor","pointer");});$('#map').zoommap({width:'691px',height:'400px',blankImage:'/static/img/blank.gif',zoomDuration:200,bulletWidthOffset:'0px',bulletHeightOffset:'0px',zoomClass:'zoomable',popupSelector:'div.popup',popupCloseSelector:'a.close',showReturnLink:true,returnId:'returnlink',returnText:'« Return to Previous Map',map:{id:'regions',image:'/static/img/body.map.global.jpg',data:'/static/js/zoommap/global.html',maps:[{id:'united states',parent:'regions',image:'/static/img/body.map.unitedstates.jpg',data:'/static/js/zoommap/unitedstates.html',width:'97px',height:'21px',top:'140px',left:'116px',maps:[{id:'northwest',parent:'united states',image:'/static/img/body.map.northwest.jpg',data:'/static/js/zoommap/northwest.html',width:'78px',height:'22px',top:'73px',left:'71px'},{id:'southwest',parent:'united states',image:'/static/img/body.map.southwest.jpg',data:'/static/js/zoommap/southwest.html',width:'78px',height:'22px',top:'251px',left:'156px'},{id:'north central',parent:'united states',image:'/static/img/body.map.northcentral.jpg',data:'/static/js/zoommap/northcentral.html',width:'101px',height:'22px',top:'130px',left:'278px'},{id:'south central',parent:'united states',image:'/static/img/body.map.southcentral.jpg',data:'/static/js/zoommap/southcentral.html',width:'100px',height:'22px',top:'269px',left:'295px'},{id:'central east',parent:'united states',image:'/static/img/body.map.centraleast.jpg',data:'/static/js/zoommap/centraleast.html',width:'90px',height:'22px',top:'176px',left:'469px'},{id:'southeast',parent:'united states',image:'/static/img/body.map.southeast.jpg',data:'/static/js/zoommap/southeast.html',width:'74px',height:'22px',top:'258px',left:'512px'},{id:'northeast',parent:'united states',image:'/static/img/body.map.northeast.jpg',data:'/static/js/zoommap/northeast.html',width:'74px',height:'22px',top:'104px',left:'588px'}]},{id:'canada',parent:'regions',image:'/static/img/body.map.canada.jpg',data:'/static/js/zoommap/canada.html',width:'56px',height:'21px',top:'77px',left:'61px'},{id:'europe',parent:'regions',image:'/static/img/body.map.europe.jpg',data:'/static/js/zoommap/europe.html',width:'52px',height:'21px',top:'97px',left:'316px'},{id:'australia',parent:'regions',image:'/static/img/body.map.australia.jpg',data:'/static/js/zoommap/australia.html',width:'69px',height:'21px',top:'280px',left:'589px'}]}});});Shadowbox.init({overlayOpacity:.8,viewportPadding:50});
