$(document).ready(function(){
	//Hide (Collapse) the toggle containers on load
	if($(".toggle_container")){	
		$(".toggle_container").hide(); 
	
		//Switch the "Open" and "Close" state per click
		$("h2.trigger").toggle(function(){
			$(this).addClass("active");
			}, function () {
			$(this).removeClass("active");
		});
	
		//Slide up and down on click
		$("h2.trigger").click(function(){						   
			$(".toggle_container").hide(); 
			$(this).next(".toggle_container").slideToggle("slow");
		});
	}
	
	$("#bestRateToggle h2.trigger a").click();
	//Hide (Collapse) the toggle containers on load
	if($(".toggle_container02")){	
	
		$("h2.trigger02").addClass("active");
	
		//Switch the "Open" and "Close" state per click
		$("h2.trigger02").toggle(function(){
			$(this).removeClass("active");
			}, function () {
			$(this).addClass("active");
		});
	
		//Slide up and down on click
		$("h2.trigger02").click(function(){
			$(this).next(".toggle_container02").slideToggle("slow");
		});
	}
	
	
	
	
		$("#bestRateToggle h3.trigger a").click();
	//Hide (Collapse) the toggle containers on load
	if($(".toggle_container03")){	
	
		$("h2.trigger03").addClass("active");
	
		//Switch the "Open" and "Close" state per click
		$("h2.trigger03").toggle(function(){
			$(this).removeClass("active");
			}, function () {
			$(this).addClass("active");
		});
	
		//Slide up and down on click
		$("h2.trigger03").click(function(){
			$(this).next(".toggle_container03").slideToggle("slow");
		});
	}
	
	
	if($(".toggle_container04")){	
		$("h2.trigger04").addClass("active");
		clicked04 = 0;

		//Switch the "Open" and "Close" state per click
		$("h2.trigger04").toggle(function(){
			$(this).removeClass("active");
			clicked04 = 1;
			}, function () {
			clicked04 = 0;
			$(this).addClass("active");
		});
	
		//Slide up and down on click
		$("h2.trigger04").click(function(){
			if(clicked04 == 1)
			{
				$(".toggle_container04").animate({marginLeft:"-390px"}, 500);
			}
			else
			{
				$(".toggle_container04").animate({marginLeft:"0"}, 500);
			}
		});
	}
		

});




