!function(e,t){"use strict";function n(t,n,a){a.defaultPrevented||"undefined"!=typeof n&&""!==n&&(e.ga&&ga.hasOwnProperty("loaded")&&ga.loaded===!0&&ga.create?ga("send","event",t,"click",n,{nonInteraction:1==o.nonInteractive}):e._gaq&&_gaq._getAsyncTracker?_gaq.push(["_trackEvent",t,"click",n,1,1==o.nonInteractive]):e.console?console.info("Google analytics not loaded"):null)}if(e.addEventListener&&t.querySelectorAll){var o=e._asgaOpt;t.addEventListener("DOMContentLoaded",function(){if("1"===o.downloadLinks){var a=""===o.downloadExt?"doc*|xls*|ppt*|pdf|zip|rar|exe|mp3":o.downloadExt.replace(/,/g,"|"),r=new RegExp(".*\\.("+a+")(\\?.*)?$"),i=t.querySelectorAll("a");Array.prototype.forEach.call(i,function(t){t.hostname&&t.hostname===e.location.hostname&&t.href.match(r)&&(t.addEventListener("click",function(e){n("Downloads",this.href,e)}),t.hasAttribute("download")||t.setAttribute("download",""))})}if("1"===o.mailLinks){var l=t.querySelectorAll('a[href^="mailto"]');Array.prototype.forEach.call(l,function(e){e.addEventListener("click",function(e){n("Email",this.href.replace(/^mailto\:/i,"").toLowerCase(),e)})})}if("1"===o.outgoingLinks){var c=t.querySelectorAll('a[href^="http"]');Array.prototype.forEach.call(c,function(t){t.hostname&&t.hostname!==e.location.hostname&&(t.addEventListener("click",function(e){n("Outbound","1"===o.outboundLinkType?this.hostname:this.href,e)}),t.setAttribute("target","_blank"))})}})}}(window,document);