function ClickProduct(position) {
        if (position == 0) {
            window.location = 'Default.aspx';
        }
        else {
            if (position == 1) {
                window.location = 'ContactUs.aspx';
            }
            else {
                window.location = 'AboutUs.aspx';
            }
        }
    }


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


        function StartTimer() {
            SlideProducts();
            setTimeout(function() {
                StartTimer();
            }, 64000);

        }
        
        function StartAnimations() {
            SlideProducts();
        }

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