// JQuery
	$(document).ready(function() {
		$('.moretext').hide(); /*was hide*/
		$('.closelink').hide(); /*was hide*/
	});
	 
	$(document).ready(function() {
		$('.morelink').click(function() {
			var mirko = $(this).attr("class");
			
			if (mirko == "morelink")	{
				$('.moretext').animate({height: 'hide',opacity:'show'}, '750');
				$(this).next().animate({height: 'show',opacity:'show'}, '1000');
				$(this).animate({opacity:'show'}, '1000'); /*was hide*/ 
				$(this).children().animate({opacity:'show'}, '1000'); /*was hide*/ 
			}
			if (mirko == "morelink pero")	{
				$(this).next().animate({height: 'hide',opacity:'hide'}, '750');
				$('.morelink').animate({opacity:'show'}, '1000');
				$(this).children('.closelink').animate({opacity:'hide'}, '1000'); /*was hide*/ 
				}
				$(this).toggleClass("pero");

		});

//		$('.closelink').click(function() {
//			$(this).parent().animate({height: 'hide',opacity:'hide'}, '750');
//			$('.morelink').animate({opacity:'show'}, '1000');
//			$(this).parent('.categorySingle').next.toggleClass("pero");
//			
//		});
	});
