(function(j){var m="gapro";j().registerPlugin(m,"6.0",function(g,u){function k(){return"string"==typeof a.trackingobject?window[a.trackingobject]:a.trackingobject}function v(b,d){if(void 0==b)return"";if(void 0!=d&&void 0!=b[d]&&0<b[d].length)return"file"==d?s(b[d]):b[d];if(void 0==b.file&&b.sources){var a=b.sources,e=[],c;for(c=a.length-1;0<=c;c--)a[c].file&&e.push(a[c].file);e.sort();return s(e[0])}return void 0!=b.file?b.file:""}function s(b,a){var f=b.indexOf("://"),e=b.indexOf("?");if(0<f&&(0>
e||e>f))return b;a||(a=document.location.href);var f=a.substring(0,a.indexOf("://")+3),e=a.substring(f.length,a.indexOf("/",f.length+1)),c;0===b.indexOf("/")?c=b.split("/"):(c=a.split("?")[0],c=c.substring(f.length+e.length+1,c.lastIndexOf("/")),c=c.split("/").concat(b.split("/")));for(var g=[],h=0;h<c.length;h++)c[h]&&"."!=c[h]&&(".."==c[h]?g.pop():g.push(c[h]));return f+e+"/"+g.join("/")}function t(b){var d="Not tracked";if(a.currentItem.hidden)a.currentItem.hidden&&(d+=" - current item is hidden");
else if("undefined"!=typeof k()._trackEvent){var d="Tracked Synchronously",f=a.currentItem.mediaID,e=a.pageURL;k()._trackEvent(b,f,e)}else"undefined"!=typeof k().push&&(d="Tracked Asynchronously",f=a.currentItem.mediaID,e=a.pageURL,k().push(["_trackEvent",b,f,e]));n(d,{Category:b,Action:a.currentItem.mediaID,Label:a.pageURL})}function n(b,d){a.debug&&(d?j.utils.log(m+": "+b,d):j.utils.log(m+": "+b))}var a=j.utils.extend({},{trackingobject:"_gaq",idstring:"file"},u);n("Initializing");if("string"==
typeof a.trackingobject&&"undefined"==typeof window[a.trackingobject])n("Could not setup because trackingobject is not defined.");else{var l=!1,p="",q=!1,r;g.onPlaylistItem(function(b){l=!0;a.pageURL=window.top==window?window.location.href:document.referrer;a.currentItem={};r=g.getPlaylistItem(b.index);a.currentItem.mediaID=p;p=v(r,a.idstring);a.currentItem.hidden=q;q=r["ova.hidden"]?!0:!1});g.onIdle(function(){l=!0});g.onPlay(function(){l&&(l=!1,a.currentItem.mediaID=p,a.currentItem.hidden=q,t("JW Player Video Plays"))});
g.onComplete(function(){t("JW Player Video Completes")})}})})(jwplayer);