$(document).ready(function(){
	$.easing.def = "easeInOutQuad";
	
	
	/*
	$('div.dropdown-plus').click(function(e){
		//var question = $((this).parent() + div.answers-block).css('border','3px solid red');
		if ($(this).hasClass('dropdown-plus'))
		{
			$(this).attr('class','dropdown-minus');
		}
		else
		{
			$(this).attr('class','dropdown-plus');
		}
		var answer = $(this).parent().next();
				
		$('.answer').slideUp('fast');
		answer.slideToggle('fast');
	})	
	*/
	
	
	
	$('div.questions-block').click(function(e){
		
		//var question = $((this).parent() + div.answers-block).css('border','3px solid red');
		
		
		
		
		
		
		
		if ($(this).children('div').hasClass('dropdown-plus'))
		{
			$(this).children('div').attr('class','dropdown-minus');
		}
		else
		{
			$(this).children('div').attr('class','dropdown-plus');
		}
		
		
		
		
		
		var answer = $(this).next();
				
		$('.answer').slideUp('fast');
		answer.slideToggle('fast');
		return false;
	})	
});
