function slideSwitch() {
    var $active = $('#home-slider DIV.active');

    if ( $active.length == 0 ) $active = $('#home-slider DIV:last');
	
    var $next =  $active.next().length ? $active.next()
        : $('#home-slider DIV:first');


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
    }

    $(function() {
		$("#home-slider DIV").css({opacity: 0.0});
        setInterval( "slideSwitch()", 5000 );
    });
	
	$(document).ready(
		function() {
			$("#home-slider .active").css({opacity: 1.0});
			$("#menu li").mouseenter(function() {
				$(this).find("ul").show();			 
			});
			$("#menu li").mouseleave(function() {
				$(this).find("ul").hide();			 
			});
			$(".ExpressCheckoutContent:first").show();
		}
	)
