!function(n,t,o){"use strict";function e(t,o,e){e.isDefaultPrevented()||"undefined"!=typeof o&&""!==o&&(n.ga&&ga.create?ga("send","event",t,"click",o,{nonInteraction:!0}):n._gaq&&_gaq._getAsyncTracker?_gaq.push(["_trackEvent",t,"click",o,1,!0]):n.console?console.info("Google analytics not loaded"):null)}"undefined"!=typeof t&&0!==t.length&&o(function(o){if("1"===t.download_links){var i=""===t.download_ext?"doc*|xls*|ppt*|pdf|zip|rar|exe|mp3":t.download_ext.replace(/,/g,"|"),a=new RegExp(".*\\.("+i+")(\\?.*)?$");o("a").filter(function(){return this.hostname&&this.hostname===n.location.hostname?this.href.match(a):void 0}).prop("download","").click(function(n){e("Downloads",this.href,n)})}"1"===t.mail_links&&o('a[href^="mailto"]').click(function(n){e("Email",this.href.replace(/^mailto\:/i,"").toLowerCase(),n)}),"1"===t.outgoing_links&&o('a[href^="http"]').filter(function(){return this.hostname&&this.hostname!==n.location.hostname}).prop("target","_blank").click(function(n){e("Outbound","1"===t.outbound_link_type?this.hostname:this.href,n)})})}(window,window.asga_opt,jQuery);