function animateSlides() {
    // Set the heights of the slide cells to zero here since it needed
    // to be 255px in the css for when there is no javascript available
    var slides = jQuery('#Content .ContentCell');
    slides.css('height', '0px');

    slides.each(function(i) { setTimeout("animateSlide('" + (i + 1) + "')", (i % 3) * 300); });
}

function animateSlide(slideCell) {
    var cell = jQuery('#Content #ContentCell' + slideCell);
    var image = "url('../Content/images/slides.jpg')";

    if (slideCell <= 3) {
        cell.css('backgroundImage', image)
            .animate({ height: '255px' }, { queue: false, duration: 1000, easing: 'easeInOutQuad' });
    } else {
        cell.css('top', '535px');
        cell.css('backgroundImage', image)
                .animate({ height: '255px', top: '255px' }, { queue: false, duration: 1000, easing: 'easeInOutQuad' });
    }
}

function showNewRelease() {
    var newRelease = jQuery('.newreleaseanimate');
    newRelease.fadeIn("slow");
}