$(document).ready(function(){
//Hide (Collapse) the toggle containers on load
clicked1 = 0;
//clicked2 = 0;
//clicked3 = 0;

//if($(".toggle_container1")){
//$(".toggle_container1").animate({width: 'hide'});

//Switch the "Open" and "Close" state per click
//$("h2.trigger1").toggle(function(){
//$(this).addClass("active");
//}, function () {
//$(this).removeClass("active");
//});

//if($(".toggle_container2")){
//$(".toggle_container2").animate({width: 'hide'});

//Switch the "Open" and "Close" state per click
//$("h2.trigger2").toggle(function(){
//$(this).addClass("active");
//}, function () {
//$(this).removeClass("active");
//});

if($(".toggle_container")){
//$(".toggle_container3").animate({width: 'hide'});
//if(ie6==false){
	$(".toggle_container").animate({marginLeft:"0px"}, 500);
//}
//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.trigger1").click(function(){
//if (clicked1 == 0)
//{
//clicked1 = 1;
//$(this).next(".toggle_container1").animate({width: 'hide'});
//}
//else
//{
//clicked1 = 0;
//$(this).next(".toggle_container1").animate({width: 'show'});

//}
//});
//}

//Slide up and down on click
//$("h2.trigger2").click(function(){
//if (clicked2 == 0)
//{
//clicked2 = 1;
//$(this).next(".toggle_container2").animate({width: 'hide'});

//}
//else
//{
//clicked2 = 0;
//$(this).next(".toggle_container2").animate({width: 'show'});

//}
//});
//}

//Slide up and down on click
$("h2.trigger").click(function(){
								
if(ie6==false){
if (clicked1 == 0)
{
clicked1 = 1;
$(".toggle_container").animate({marginLeft:"278px"}, 500);
//$(this).next(".toggle_container3").animate({width: 'hide'});

}
else
{
clicked1 = 0;
$(".toggle_container").animate({marginLeft:"0px"}, 500);
//$(this).next(".toggle_container3").animate({width: 'show'});

}
}
});


}

});
