(function(a){a.sourcing=function(e){var h=window.location.href,g=window.location.host,i=window.location.search.split("?")[1],c=document.referrer,f=c.split("/")[2],b=1,d=a.extend({ajaxUrl:"",ajaxParams:""},e);String.prototype.queryToObject=function(){var o,l=new Object,k=/\+/g,m=/([^&=]+)=?([^&]*)/g,p=function(q){return decodeURIComponent(q.replace(k," "))},n=this;while(o=m.exec(n)){l[p(o[1])]=p(o[2])}return l};var j=function(){var m=(i!==undefined)?i.queryToObject():{},k=(d.ajaxParams!=="")?d.ajaxParams.queryToObject():{},l=a.extend(k,m);if(f!==g){a.ajax({url:d.ajaxUrl,data:a.extend({sReferrer:c,sScriptUri:h},l),type:"POST",error:function(n,p,o){if((p==="timeout"||p==="error")&&b>0){setTimeout(j,2000)}b-=1}})}};a(function(){j()})}}(jQuery));

