$(function(){		//Hide (Collapse) the toggle containers on load	$(".toggle_container").hide();//Switch the "more" and "less" state per click in book trip module	$(".trigger").toggle(function(){		$('.trigger').removeClass('down');		$(".toggle_container").slideDown("slow");		$(this).html('less info').addClass('up');		}, function () {		$(".toggle_container").slideUp("slow");		$(this).html('more info').addClass('down');	});// tabs switching	if($('.tabs').length > 0) {		tabMaxHeight = 0;		$('.tc_module').each(function(){			if(tabMaxHeight < $(this).height()) {				tabMaxHeight = $(this).height();			}				$(this).css({position: 'static', display: 'none'}).filter('.on').css({display: 'block'})		});		tabMaxHeight += 50;		$('.tabs_container').css({height: tabMaxHeight+'px'})		$('.tabs a').click(function(){			$('.tabs li').removeClass();			$(this).parent().addClass('on')			ind = $('.tabs a').index($(this));			$('.tabs_content .tc_module').slideUp();			$('.tabs_content .tc_module:eq('+ind+')').slideDown()			return false;		});	}});
