(function(a){a.fn.fastClick=function(b){return a(this).each(function(){a.FastButton(a(this)[0],b)})};a.FastButton=function(d,e){var c,b;var g=function(){a(d).unbind("touchend");a("body").unbind("touchmove.fastClick")};var i=function(j){j.stopPropagation();g();e.call(this,j);if(j.type==="touchend"){a.clickbuster.preventGhostClick(c,b)}};var f=function(j){if(Math.abs(j.originalEvent.touches[0].clientX-c)>10||Math.abs(j.originalEvent.touches[0].clientY-b)>10){g()}};var h=function(j){j.stopPropagation();a(d).bind("touchend",i);a("body").bind("touchmove.fastClick",f);c=j.originalEvent.touches[0].clientX;b=j.originalEvent.touches[0].clientY};a(d).bind({touchstart:h,click:i})};a.clickbuster={coordinates:[],preventGhostClick:function(b,c){a.clickbuster.coordinates.push(b,c);window.setTimeout(a.clickbuster.pop,2500)},pop:function(){a.clickbuster.coordinates.splice(0,2)},onClick:function(d){var b,e,c;for(c=0;c<a.clickbuster.coordinates.length;c+=2){b=a.clickbuster.coordinates[c];e=a.clickbuster.coordinates[c+1];if(Math.abs(d.clientX-b)<25&&Math.abs(d.clientY-e)<25){d.stopPropagation();d.preventDefault()}}}};a(function(){if(document.addEventListener){document.addEventListener("click",a.clickbuster.onClick,true)}else{if(document.attachEvent){document.attachEvent("onclick",a.clickbuster.onClick)}}})}(jq18));