jQuery.noConflict();

// Simple fade in fade out slideshow script
function slideSwitch() {
    var $active = jQuery('#headerImage img.activeimg');

    if ($active.length == 0) $active = jQuery('#headerImage img:last');

    var $next = $active.next().length ? $active.next() : jQuery('#headerImage img:first');

    $active.addClass('last-active');

    $next.css({ opacity: 0.0 })
        .addClass('activeimg')
        .animate({ opacity: 1.0 }, 2000, function () {
            $active.removeClass('activeimg last-active');
        });
}

jQuery(document).ready(
    function () {
        setInterval("slideSwitch()", 7000);
    }
);
