/* $Id: webapp.tracker.min.js 12265 2011-04-28 15:40:00Z jharth $ */
function WebAppTracker(b){var a=this;b="function"===typeof b?b(this):{};this.sent={};this.send={};this.addEvent=function(e,d,c){if(!(e in this.send)){this.send[e]={}}if(!(c in this.send[e])){this.send[e][c]=[]}if(!(e in this.sent)){this.sent[e]={}}if(!(c in this.sent[e])){this.sent[e][c]=[]}jQuery.merge(this.send[e][c],d.replace(/[ ]*,[ ]*/g,",").split(","))};this.eventAlreadySent=function(e,c,d){d=d||"events";return jQuery.inArray(c,this.sent[e][d])>-1};this.call=function(c){jQuery("<img>").attr("src",c)};this.omniture=(function(){var c="omniture";return{eventAlreadySent:function(d,e){e=e||"events";return jQuery.inArray(d,a.sent[c][e])>-1},addEvent:function(e,d){d=d||"events";a.addEvent(c,e,d)},track:function(d){d=d||"tl";if("object"===typeof s&&jQuery.isFunction(s[d])){for(sVarName in a.send[c]){s[sVarName]=a.send[c][sVarName].join(",");jQuery.unique(jQuery.merge(a.sent[c][sVarName],a.send[c][sVarName]))}s[d]();for(sVarName in a.send[c]){s[sVarName]="";a.send[c][sVarName]=[]}}}}}());this.isConfigured=function(c){return c in b&&jQuery.isFunction(b[c])};this.setTrackingEvent=function(d,c){if(this.isConfigured(d)){b[d](c)}}}function tagMediaMindEvent(b){var a=jQuery('<iframe width="1" height="1" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" bordercolor="#000000"/>');a.attr("src","http://tagging.bpinteractive.com/mediamind.jspx?ActivityID="+b);a.appendTo("body")}function tagOmnitureEvent(c,a){if("function"!==typeof(s_gi)){return}var e=window.s_account||"",d=s_gi(e),b;if("undefined"!==typeof(a)){d.pageName=a}d.events=c;b=d.t();if(b){jQuery(b).appendTo("body")}};
