	



$(document).ready(function(){

	


	
	
	var initScrollers =  function(){
	
		$("#client-scroller").thumbnailScroller({ 
				scrollerType:"clickButtons", 
				scrollerOrientation:"horizontal", 
				scrollSpeed:2, 
				scrollEasing:"easeOutCirc", 
				scrollEasingAmount:600, 
				acceleration:4, 
				scrollSpeed:800, 
				noScrollCenterSpace:10, 
				autoScrolling:0, 
				autoScrollingSpeed:2000, 
				autoScrollingEasing:"easeInOutQuad", 
				autoScrollingDelay:500 
			});
		
		$("#client-scroller2").thumbnailScroller({ 
				scrollerType:"clickButtons", 
				scrollerOrientation:"horizontal", 
				scrollSpeed:2, 
				scrollEasing:"easeOutCirc", 
				scrollEasingAmount:600, 
				acceleration:4, 
				scrollSpeed:800, 
				noScrollCenterSpace:10, 
				autoScrolling:0, 
				autoScrollingSpeed:2000, 
				autoScrollingEasing:"easeInOutQuad", 
				autoScrollingDelay:500 
			});  

	}
	
	

	
	
	
	//WINDOW LOAD FUNCTIONS ------------------------------------------------------------/
	
	$(window).load(function () {
							 
		//RECENT CLIENT SCROLL 
		$('.jTscrollerContainer,.jThumbnailScroller.h_ButScroll .jTscrollerPrevButton,.jThumbnailScroller.h_ButScroll .jTscrollerNextButton').fadeIn();
		//hide loading texts
		$('.scrollerLoader').remove();
	
     	initScrollers();
		 
		 //show toggle but once content loaded
		 if(menuAppear ==0) $('#toggleBut').fadeIn();
	  
	 
	});

 
	
	
	
	//SCROLLER THUMB ACTIONS --------------------------------------/
	
	$('._scrollThumb-ind').css({bottom:'-25px', opacity:0});
	
	$("._scrollThumb").hover(
	
		function(){
			
			 $(this).children('._scrollThumb-ind').stop().animate({bottom:'15px', opacity:1});
			
		},
		
			function(){
				$(this).children('._scrollThumb-ind').stop().animate({bottom:'-25px',opacity:0});
			
		});
	
	
		
		
});

