function slideSwitch() {
             var $active = $('#slide_img img.active');
             if ( $active.length == 0 ) $active = $('#slide_img img:last');
             var $next =  $active.next().length ? $active.next() : $('#slide_img img:first');
             $active.addClass('last-active');
             $next.css({opacity: 0.0})
                 .addClass('active')
                 .animate({opacity: 1.0}, 1000, function() {
                     $active.removeClass('active last-active');
               });
 }
$(function() {
	setInterval( "slideSwitch()", 5000);
	$("a").easingScroll({
		easing:"easeInOutQuart",
		duration:300
	});
	$(".cimg img,.m_s a img").hover(
        function () {
            $(this).animate({
                opacity:"0.5"
                }, 200 );
        },
        function () {
            $(this).animate({
                opacity:"1"
                }, 200 );
        }
    );
});
$(function() {
	$("#amazon_scroller").amazon_scroller({
                    scroller_title_show: 'disable',
                    scroller_time_interval: '4000',
                    scroller_window_background_color: "none",
                    scroller_window_padding: '10',
                    scroller_border_size: '0',
                    scroller_border_color: '#CCC',
                    scroller_images_width: '120',
                    scroller_images_height: '60',
                    scroller_title_size: '12',
                    scroller_title_color: 'black',
                    scroller_show_count: '7',
                    directory: 'images'
				});
	$("#amazon_scroller2").amazon_scroller({
                    scroller_title_show: 'disable',
                    scroller_time_interval: '4000',
                    scroller_window_background_color: "none",
                    scroller_window_padding: '0',
                    scroller_border_size: '0',
                    scroller_border_color: 'black',
                    scroller_images_width: '180',
                    scroller_images_height: '55',
                    scroller_title_size: '12',
                    scroller_title_color: 'black',
                    scroller_show_count: '7',
                    directory: 'images'
				});
	$("#amazon_scroller3").amazon_scroller({
                    scroller_title_show: 'disable',
                    scroller_time_interval: '4000',
                    scroller_window_background_color: "none",
                    scroller_window_padding: '10',
                    scroller_border_size: '0',
                    scroller_border_color: '#CCC',
                    scroller_images_width: '120',
                    scroller_images_height: '60',
                    scroller_title_size: '12',
                    scroller_title_color: 'black',
                    scroller_show_count: '7',
                    directory: 'images'
                });
});
