// 	evt = "";
	$(document).ready(
	function(){try{
	
		$("#user-dolaczyli").hide();
		$("#user-reputacja").hide();
		$("#user-posty").hide();
	
		var useroption = $("#form-user").find(':selected').val();
		$("#user-"+useroption).show();
	
	}catch(e){}});	
	  
	  
	  
	  $(document).ready(
	function(){try{
		$("#form-user").click(function () {


		var useroption = $(this).find(':selected').val();
		
		//$("#list-user").css({'background-color' : 'yellow'});
			
				
		switch(useroption)
		{
		case 'reputacja':
			$("#user-dolaczyli").hide();
			$("#user-reputacja").show();
			$("#user-posty").hide();
		  break;
		case 'dolaczyli':
			$("#user-dolaczyli").show();
			$("#user-reputacja").hide();
			$("#user-posty").hide();
		  break;
		case 'posty':
			$("#user-dolaczyli").hide();
			$("#user-reputacja").hide();
			$("#user-posty").show();
		  break;		  
		default:
		  
		}
		
		});
	}catch(e){}});	
	  
	  
	  $(document).ready(
	function(){try{
		$("#form-user").change(function () {
	

		var useroption = $(this).find(':selected').val();
		
		//$("#list-user").css({'background-color' : 'yellow'});
			
				
		switch(useroption)
		{
		case 'reputacja':
			$("#user-dolaczyli").hide();
			$("#user-reputacja").show();
			$("#user-posty").hide();
		  break;
		case 'dolaczyli':
			$("#user-dolaczyli").show();
			$("#user-reputacja").hide();
			$("#user-posty").hide();
		  break;
		case 'posty':
			$("#user-dolaczyli").hide();
			$("#user-reputacja").hide();
			$("#user-posty").show();
		  break;		  
		default:
		  
		}
		
		});
	}catch(e){}});	

//easyTooltip	
	/*
	$(document).ready(function(){	
	$(".user_info").easyTooltip({
		useElement: "tooltip-1168"	
	});
	});
*/ 


//jquery.tooltip.min
	$(document).ready(
	function(){try{
	//function(){		  
	$('.user_info').tooltip({ 
    track: true, 
    delay: 0, 
    showURL: false, 
    showBody: " - ", 
    extraClass: "pretty", 
    fixPNG: true, 
    opacity: 0.95, 
    left: -120 
});
//});
	}catch(e){console.log("")}});	
	
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////	
//jquery forum.aekatowice.pl
	$(document).ready(
	function(){try{
	var imgavatar = $('#user-avatar-img').attr("src");
		
	if (!imgavatar)
	{
		$('#user-avatar-img').attr("src","http://www.aekatowice.pl/img/user-noname.png");
	}
	
//});
	}catch(e){console.log("")}});		
	
	
////////////////////////////////////////////////////////////////////////////wersja 1.4
//////////////////////////////////////////////////////////////////////jquery forum.aekatowice.pl
	$(document).ready(
	function(){try{
	
	
	var imgavatar = $('#user-avatar-img').attr("src");
		
	if (!imgavatar)
	{
		$('#user-avatar-img').attr("src","http://www.aekatowice.pl/img/user-noname.png");
	}
	

	}catch(e){console.log("")}});			
	
	
	


    $("#info-panel-tabs li").hover(
      function () {try{
        $(this).removeClass("inactive");
		$(this).addClass("active");
		
		append($("<span> ***</span>"));
	}catch(e){console.log("")}      }, 
      function () {try{
        $(this).find("span:last").remove();
      	}catch(e){console.log("")}}
    );

	
	
