function imagesSwitch() {
    var $active = $('.index-order__pic img.active');
    if ($active.length == 0) {
		$active = $('.index-order__pic img:last');
	}
    var $next =  $active.next().length ? $active.next() : $('.index-order__pic img:first');
    $active.addClass('lastact').fadeOut(3000);
    $next.addClass('active').fadeIn(
		3000, 
		function() {
			$active.removeClass('active lastact');
		}
	);
}

$(function() {
    setInterval("imagesSwitch()", 4500);
});