﻿$(function () {
    var largestHeight = 0;
    $('#banner .slide').each(function () {
        if ($(this).height() > largestHeight) {
            largestHeight = $(this).height();
        }
    });

    $('#banner .slides').cycle({
        height: largestHeight,
        timeout: 7000,
        speed: 750
    });
});
