/* Author: 

*/
	$(document).ready(function() {				

		$('#participants-list').jScrollPane();
		
		// Vertical carousel
		$(".conf-carousel").carousel( { 
			direction: "vertical",
			loop:true,
			dispItems:1,
	        autoSlide: true,
			autoSlideInterval: 8000,
			pagination:true,
			btnsPosition : "outside"		 
		} );
			
		$(function() {
		    $('img[data-hover]').hover(function() {
		        $(this).attr('tmp', $(this).attr('src')).attr('src', $(this).attr('data-hover')).attr('data-hover', $(this).attr('tmp')).removeAttr('tmp');
		    }).each(function() {
		        $('<img />').attr('src', $(this).attr('data-hover'));
		    });;
		});
		
		$('.conf-descr').children('.content').hide();

	    $('.conf-descr').mousedown(function() {
	    	if($(this).children('.content').is(':visible')){
	    		$(this).children('.content').hide();	    		
	    		$(this).children('.plus').show();
	    	}else {
	    		$(this).children('.content').show();	    		
	    		$(this).children('.plus').hide();
	    	}
	    	
	        //$(this).children('.content').toggle('slow');
	    });
				
});

function showDescr(){
	$this
}





















