$(document).ready(function(){function addMega(){$(this).addClass("hovering");}
function removeMega(){$(this).removeClass("hovering");}
var megaConfig={interval:150,sensitivity:4,over:addMega,timeout:500,out:removeMega};$("li.mega").hoverIntent(megaConfig);});function ff2_inline_stack_fix()
{if($.browser.mozilla&&$.browser.version.substr(0,3)=="1.8")
{$('form label').each(function(){if($(this).css('display')=='-moz-inline-stack')
{var labelContent=this.innerHTML;var labelWidth=document.defaultView.getComputedStyle(this,'').getPropertyValue('width');var labelSpan=document.createElement('span');labelSpan.style.display='block';labelSpan.style.width=labelWidth;labelSpan.innerHTML=labelContent;this.innerHTML=null;this.appendChild(labelSpan);}});}}
$(document).ready(function(){var $tracker=$('#id-testimonial-tracker');if($tracker.length){$("#id-testimonial-tracker").jCarouselLite({auto:8000,speed:1200,circular:true,visible:1,easing:'easeInOutBack',vertical:true});}});$(document).ready(function(){$('a[rel*=facebox]').facebox();$('.carousel').each(function(){$(this).show();});$('ul.tab-nav').tabs('div.tab-panes > div',{history:false});ff2_inline_stack_fix();init_input_default_text();CAROUSEL_TRIPS_VISIBLE=3;init_featured_trips();init_carousels();});function init_carousels()
{var $carousel=$('.carousel');if($carousel.length){$carousel.jCarouselLite({'visible':1,'btnNext':".carousel .next",'btnPrev':".carousel .prev"});}}
