$(document).unbind("moduleLoad");$(document).one("moduleLoad",function(){fadeElement(null,".IntroImg");$(document).trigger("moduleLoaded")});jQuery.fn.randomOffset=function(){this.hide();this.css("top",SplitRandom(300)+"px");this.css("left",SplitRandom(500)+"px")};function fadeElement(a,b){if(a==null){a=$(b).first();$(".IntroImg").each(function(){$(this).randomOffset()})}if(a.length==0)a=$(b).first();a.fadeIn(3e3,function(){fadeElement(a.next(),b);a.fadeOut(2e3,function(){a.randomOffset()})})}function SplitRandom(d){for(var a=0,b=Math.floor(Math.random()*10),c=0;c<b;c++)a+=Math.floor(Math.random()*(d/b));return a}
