jQuery(document).ready(function($) {
	
	
	//Add <a> tags inside <dt> elements
	$('dt').wrapInner('<a href=# />');
	
	$('#TJK_ToggleON').click(function(){
		$('dd').slideDown('fast');
	});
	
	$('#TJK_ToggleOFF').click(function(){ 
		$('dd').slideUp('fast');
	});

	//Switch the 'Open' and 'Close' state per click
	$('dt').toggle(function(){
		$(this).addClass('active');
		}, function () {
		$(this).removeClass('inactive');
	});

	//Slide up and down on click
	$('dt').click(function(){
		$(this).next('dd').slideToggle('fast');
	});
	

});


// $(document).ready(function(){
// 
// 	//Hide (Collapse) the toggle containers on load
// 	$('.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(){
// 		$(this).next('.toggle_container').slideToggle('slow');
// 	});
// 
// });
