var Spark=function(){this.b="./images/";this.s=["code1.png","code2.png","code3.png","code4.png"];this.i=this.s[this.random(this.s.length)];this.f=this.b+this.i;this.n=document.createElement("img");this.newSpeed().newPoint().display().newPoint().fly()};Spark.prototype.display=function(){$(this.n).attr("src",this.f).css("position","absolute").css("z-index",this.random(20)).css("top",this.pointY).css("left",this.pointX);$(document.body).append(this.n);return this};
Spark.prototype.fly=function(){var a=this;$(this.n).animate({top:this.pointY,left:this.pointX},this.speed,"linear",function(){a.newSpeed().newPoint().fly()})};Spark.prototype.newSpeed=function(){this.speed=(this.random(10)+5)*1100;return this};Spark.prototype.newPoint=function(){this.pointX=this.random(window.innerWidth-100);this.pointY=this.random(350);return this};Spark.prototype.random=function(a){return Math.ceil(Math.random()*a)-1};$(function(){var a=[];for(i=0;i<40;i++)a[i]=new Spark});
jQuery(document).ready(function(){jQuery("a").easyTooltip({xOffset:-75,yOffset:40,tooltipId:"easyTooltip",content:""});$(function(){jQuery("a").click(function(){window.open(this.href);return false})})});