

		
        function onBefore(curr, next, opts) {
        	//$('#background').fadeOut(200);
        }

        function onAfter(curr, next, opts) {
           
        }

                
		$(document).ready(function(){
			

			$('.slideshow').cycle({
		        fx: 'scrollHorz',
		        speed: 800,
		        timeout: 5000,
		        after: onAfter,
		        before: onBefore
			});
			
			$('#background').cycle({
		        fx: 'fade',
		        speed: 800,
		        timeout: 5000
			});
			
			
			$('.slideshow-text').css('display', 'inline');
		});
		
