function category_filter_listen() {
jQuery('.aside .items .category').click(function(){
		id=jQuery(this).attr('id')+"_ul";
		if(jQuery(this).parents('li').attr("class")=="active")
		{

			jQuery(this).parents('li').attr("class","");
			jQuery("#"+id).animate({
			opacity: 'hide',
			height: 'hide'
			}, 500, function() {
				jQuery(this).hide();
			});

		}
		else
		{
			jQuery(this).parents('li').attr("class","active");

			jQuery("#"+id).animate({
			opacity: 'show',
			height: 'show'
			}, 500, function() {
				jQuery(this).show();				
			});			
		}
		
		return false;
	});
}
jQuery(document).ready(function(){
	jQuery('.info-holder .article .info-hover').mouseover(function(){
		jQuery(this).find('.popup').show();/*animate({
			opacity: 'show'
			}, 500, function() {
						
			});			*/
	}).mouseleave(function() {
		jQuery(this).find('.popup').hide();
		/*.animate({
			opacity: 'hide'
			}, 500, function() {
						
			});			*/
	});
        
        jQuery('.popup-flag-view .info-hover').mouseover(function(){
		jQuery(this).find('.popup').show();/*animate({
			opacity: 'show'
			}, 500, function() {
						
			});			*/
	}).mouseleave(function() {
		jQuery(this).find('.popup').hide();
		/*.animate({
			opacity: 'hide'
			}, 500, function() {
						
			});			*/
	});
        
	category_filter_listen() ;
	
});


