$(document).ready(function() {
            // do stuff when DOM is ready
            $('#rotator').cycle({
                fx: 'turnUp',
                speed: 1000,
                timeout: 3000
            });
        });