$(document).ready(function(){
	$('.right_block').mouseover(function(){
		//$(this).find('div').css('backgroundPosition','bottom left');
		$(this).addClass('mOver');
		$(this).click(function(){
			document.location = $(this).find('a').attr('href');
		});
	});
	$('.right_block').mouseout(function(){
		//$(this).find('div').css('backgroundPosition','top left');
		$(this).removeClass('mOver');
		$(this).click(function(){
			//
		});
	});
});

function showAnswers(link) {
	
	if ($('.answers').is('.vis')) {
		$('.answers').removeClass('vis');
		$(link).text('Lösungen verstecken');
	}
	else {
		$('.answers').addClass('vis');
		$(link).text('Lösungen zeigen');
	}	
}
