$(document).ready(function(){$("div.tmx-sec h2").hover(function(){$(this).nextAll("div.section").removeClass("starting-tab");$(this).prevAll("div.section").removeClass("starting-tab");$(this).addClass("starting-tab");$(this).next("div.section").addClass("starting-tab");$(this).nextAll("div.tmx-sec h2").removeClass("starting-tab");$(this).prevAll("div.tmx-sec h2").removeClass("starting-tab")},function(){})});$(function(){$("#slideshow").cycle({speed:200,timeout:5000,pager:"#nav",pagerEvent:"mouseover",pauseOnPagerHover:true})});$(document).ready(function(){function c(){$(this).addClass("hovering")}function b(){$(this).removeClass("hovering")}var a={interval:300,sensitivity:3,over:c,timeout:200,out:b};$("li.mega").hoverIntent(a)});$(function(){$(".bubbleInfo").each(function(){var h=10;var g=500;var c=100;var b=null;var e=false;var d=false;var a=$(".trigger",this);var f=$(".popup",this).css("opacity",1);$([a.get(0),f.get(0)]).mouseover(function(){if(b){clearTimeout(b)}if(e||d){return}else{e=true;f.css({top:100,left:10,display:"block"}).animate({top:"+="+h+"px",opacity:1},g,"swing",function(){e=false;d=true})}return false}).mouseout(function(){if(b){clearTimeout(b)}b=setTimeout(function(){b=null;f.animate({top:"-="+h+"px",opacity:0.9},g,"swing",function(){d=false;f.css("display","none")})},c);return false})})});