$(document).ready(function()
{

$(".collapse-expand-toggle").click(function(event)
{
	event.preventDefault();
	$(this).parent().parent().children("div.box-in").slideToggle(1);
	
	
	
	var img = $(this).children("span.expcol").children("img");
	
	if(img.attr("src") == $(".expcol_imagetext").attr("img1"))
	{
		img.attr("src",$(".expcol_imagetext").attr("img2"));
	
		$(this).children("span").children("span.cet-text").html($(".expcol_imagetext").attr("txt2"));
	
	}
	else
	{
		img.attr("src",$(".expcol_imagetext").attr("img1"));
		
		$(this).children("span").children("span.cet-text").html($(".expcol_imagetext").attr("txt1"));
	
	}

});

$(".expand-all").click(function(event){
	$("div.box-in").slideDown(1);	
	$("div.box-title").children("div").children("span.expcol").children("span.cet-text").html($(".expcol_imagetext").attr("txt2"));
	$("div.collapse-expand-toggle").children("span.expcol").children("img").attr("src", $(".expcol_imagetext").attr("img2"));
});
$(".collapse-all").click(function(event){
	
	$("div.box-in").slideUp(1);
	$("div.box-title").children("div").children("span.expcol").children("span.cet-text").html($(".expcol_imagetext").attr("txt1"));
	$("div.collapse-expand-toggle").children("span.expcol").children("img").attr("src", $(".expcol_imagetext").attr("img1"));
	});
});