
$(function(){
	
	$("#menu a[href^=#]").smoothScroll();
	
	/*
	$('#gallery').jcarousel({
        initCallback:gallery_initCallback,
        buttonNextHTML:null,
        buttonPrevHTML:null,
        scroll:1
    });
	*/
    
/*    $("a.zoom-release").fancybox({
									 
									'width'  : '50%',
									'height' : '50%'
								 }
	);*/

	$('a.show-release').click(
							 
						function(){
									
									if($('#box-release').is(":hidden")){
								
										$('#box-release').fadeIn();
							
									}else{
										
										$('#box-release').fadeOut();	
										
									}
						 });
	/*
    $("a.zoom").fancybox({
        'zoomSpeedIn':500,
        'zoomSpeedOut':500,
      
       'overlayShow':true,
        'transitionIn':'elastic',
        'transitionOut':'elastic',
        'titlePosition':'inside'
    });
	*/
    
    $.fancybox.next =  false;
    $.fancybox.prev = false;
})
	
	/*
	
	function gallery_initCallback(carousel){
	
		$('.jcarousel-control a').bind('click',function(){
			carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));return false;
		});
		$('.jcarousel-scroll select').bind('change',function(){
			carousel.options.scroll=jQuery.jcarousel.intval(this.options[this.selectedIndex].value);return false;
		});
		$('#next').bind('click',function(){
			carousel.next();return false;
		});
		$('#prev').bind('click',function(){
			carousel.prev();return false;
		});
		
	};
	
	*/



$(function(){
    $('.content-text').jScrollPane({
        showArrows:true
    });
	
	
});


