$('#nomargin').cycle({
                fx:     'fade',
                timeout: 7000,
                before:  onAfter,
                after:   onBefore
                });