// JavaScript Document
            function slideSwitch() {
                var $active = $('#slideshow img.active');
                if ( $active.length == 0 ) $active = $('#slideshow img:last');
                var $next =  $active.next().length ? $active.next() : $('#slideshow img:first');
                $active.addClass('last-active');
                $next.css({opacity: 0.0})
                    .addClass('active')
                    .animate({opacity: 1.0}, 4500, function() {
                        $active.removeClass('active last-active');
                    });
            }
            $(function() {
                setInterval( "slideSwitch()",10000 );
            });

//var img = [];
//(function() {
//var imgSrc = "./images/sl0.jpg,./images/sl1.jpg,./images/sl2.jpg".split(",");
////イメージの読み込み
//for (var i=0; i<imgSrc.length; i++) {
//img[i] = new Image();
//img[i].src = imgSrc[i];
//}
//})();
////表示の切替え speed:fadeInの速度、interval:画像切替え間隔
//$(function() {
//var count = 0, interval = 5, speed = 3;
//$("#screen img:first").clone().css("position","absolute").css("zIndex","10").hide().prependTo("#screen");
//setInterval( function() {
//$("#screen img:first").attr("src", img[count].src).fadeIn(speed*1000 , function() {
//var tmp = $("#screen img:first").attr("src");
//$("#screen img:last").attr("src", tmp);
//$("#screen img:first").hide();
//});
//count = ++count%img.length;
//}, interval*1000);
//});
