


    function SlideBG() {
        $('#slideshow').cycle({
            fx: 'fade',
            speedIn: 1500,
            speedOut: 1500,
            //                pause: true,
            //                pauseOnPagerHover: true,
            timeout: 6000
        });
    }


    function SlideONE() {
        $('#oneslides').cycle({
            fx: 'fade',
            speedIn: 1500,
            speedOut: 1000,
            //                pause: true,
            //                pauseOnPagerHover: true,
            timeout: 2000,
			autostop: 10
        });
    }

        function StartTimer() {
            SlideBG();
            SlideONE();
            setTimeout(function() {
                StartTimer();
            }, 100000);

        }
        
        function StartAnimations() {
            SlideBG();
            SlideONE();
        }

    $(document).ready(
        function() {
            StartAnimations();
            setTimeout(function() {
                StartTimer();
            }, 100000);
        }
    );
	
	
