/* Doesn't seem to work in IE6 */
if (Common.jquery_supported) {
    $(function() {
        var $slides = $(".f_sponsors .gntml_image")
        var container_width = 210;
        var container_height = Math.max.apply(null, jQuery.makeArray(
                $slides.map(function() { return $(this).outerHeight() })))

        $slides.each(function() {
            var padding = (container_height - $(this).outerHeight()) / 2;
            $(this).css("padding-top", padding + "px");
        });

        $slides.css("border-bottom", "none");

        $(".f_sponsors").cycle({
            slideExpr: ".gntml_image",
            height: container_height,
            pause: true,
            random: true,
            timeout: 6000
        });
    });
}
