$(document).ready(function() {
	$('.workshopmid-box h5 a').click(function(){
		if( $(this).parents('h5').next().hasClass('active') ) {
			$(this).parents('h5').next().slideUp().removeClass('active');
			$(this).text('[+]');
			Cufon.refresh('.workshopmid-box h5 a');
		} else {
			$(this).parents('h5').next().slideDown();
			$(this).parents('h5').next().addClass('active');
			$(this).text('[-]');
			Cufon.refresh('.workshopmid-box h5 a');
		}
		return false;
	});
	
	$('.participants').click(function(){
		if ( $('.semenarbox').hasClass('active') ) {
			$('.semenarbox').slideUp().removeClass('active');
			$(this).children('span').text('[+]');
			Cufon.refresh('.participants');
			
		} else {
			$('.semenarbox').slideDown().addClass('active');
			$(this).children('span').text('[-]');
			Cufon.refresh('.participants');
		}
		return false;
	});
	
	
	$('.get_what').children('h3').children('a').click(function(){
		if ( $(this).parent().next('ul').hasClass('active') ) {
			$(this).parent().next('ul').slideUp();
			$(this).parent().next('ul').removeClass('active');
			$(this).children('img').attr('src', 'images/plus.jpg');
		} else {
			$(this).parent().next('ul').slideDown();
			$(this).parent().next('ul').addClass('active');
			$(this).children('img').attr('src', 'images/minus.jpg');
		}
		return false;
	});
	
	$('.get_what').children('ul').children('li').children('a').click(function(){
		if ( $(this).next().hasClass('active') ) {
			$(this).next().slideUp();
			$(this).next().removeClass('active');
			$(this).children('img').attr('src', 'images/plus.jpg');
		} else {
			$(this).next().slideDown();
			$(this).next().addClass('active');
			$(this).children('img').attr('src', 'images/minus.jpg');
		}
		return false;
	});

	
});
