/**
 * jquery.banner.js
 *
 * @package Geiger Webshop
 * @category Banner
 * @author Göran Bruns <goeran@brunsware.de>
 * @copyright 2011
 * @version 1.0.0
 */
jQuery(document).ready(function($) {
    $("div.banner").cycle({
        fx: 'scrollHorz',
        fit: 1,
        width: 675,
        height: 121
    });
    $("div.banner_button_prev a").click(function() {
        $(this).parent().next().cycle("prev");
        return false;
    });
    $("div.banner_button_next a").click(function() {
        $(this).parent().prev().cycle("next");
        return false;
    });
    $("div.banner").mouseenter(function() {
        $(this).cycle("pause");
    });
    $("div.banner").mouseleave(function() {
        $(this).cycle("resume");
    });
});

