$(document).ready(function () {
				
var $pluri_proyectos = $('#pluri_proyectos');
				$pluri_proyectos.jScrollPane({animateTo:true,	scrollbarOnLeft:true, scrollbarWidth:6,dragMinHeight:50, dragMaxHeight:50,scrollbarMargin:1, showArrows:false, wheelSpeed:26	 });
				
				$('a.actual').bind(
					'mouseover',
					function()
					{
						var targetElementSelectorString = $(this).attr('rel');
						$pluri_proyectos[0].scrollTo(targetElementSelectorString);
						return false;
					});
				
			$('#foto01').addClass("active"); 
$(".miniholder a").click(function(){
         $(".miniholder a.active").removeClass("active");  
        $(this).addClass("active");                 
        return false;                                                          
});
			$("#parent4").wslide({
					width: 600,
					height:600,
					autolink: false,
					fade: true,
					duration: 600

});
	
				$("#cajatexto").slideUp(10);
				$("#boton").click(function(event) {
	event.preventDefault();
	$("#cajatexto").slideToggle();
								});
				
				
	 $('.miniholder a').click(function(){
    var imagen = this.id;
  $('#fotografias').css('background', 'url(' + imagen + '.jpg)') .css("background-repeat","no-repeat");
				
            });	
			
	
				
$("#menufotos").jScrollPane({ scrollbarWidth:6,dragMinHeight:75, dragMaxHeight:75,scrollbarMargin:1, showArrows:false, wheelSpeed:50});
$("#listado").jScrollPane({ scrollbarWidth:6,dragMinHeight:75, dragMaxHeight:75,scrollbarMargin:1, showArrows:false, wheelSpeed:50});

			});

		

