function randOrder(){return Math.round(Math.random())-0.5}function xFade(a){a=a<APP.images.length-1?a+1:0;var b=a<APP.images.length-1?a+1:0;b>0&&preload([APP.images[b]]);b=$("<div></div>").addClass("header").css("background-image","url("+APP.images[a]+")");$(".header").before(b).fadeTo(1500,0,function(){$(this).remove();setTimeout(function(){xFade(a)},4E3)})}
jQuery(function(a){APP.images.sort(randOrder);xFade();setTimeout(function(){var b=a("#logos"),c=b.find(".items>div>a").length;b.scrollable({circular:true,easing:"linear",speed:3300*c}).autoscroll({interval:0})},2E3)});
