!function(self_name){var viglink,$;$={each:function(a,b){var c,d;for(c=0,d=a.length;d>c;c++)b(a[c],c)},extend:function(a){var b,c,d,e,f=arguments.length;for(a=a||{},c=1;f>c;c++)if(e=arguments[c],void 0!==e&&null!==e)for(d in e)b=e[d],a!==b&&void 0!==b&&(a[d]=b);return a}},$.extend($,{addClass:function(a,b){$.hasClass(a,b)||(a.className=(a.className?a.className+" ":"")+b)},attrValues:function(a,b,c){return c=c||" ",b=a[b],b?b.split(c):[]},bind:function(a,b){return function(){return a.apply(b,arguments)}},browser:function(){var a,b={},c=navigator.userAgent.toLowerCase().replace(/\s*[()]\s*/g,"; ").replace(/(\/[\w.]+)\s+/g,"$1; ").replace(/\;\s*$/,"").split(/;\s*/);return $.each(c,function(c){a=(/[\/ :]([^\/ :]+)$/.exec(c)||[])[1],b[a?c.substr(0,c.length-a.length-1).replace(/\d*$/,""):c]=a||!0}),{aol:b.aol,blackberry:b.blackberry,ie:b.msie,ios:b.mobile&&b.safari,opera:b.opera,playstation:b.playstation,version:parseFloat(b.version)||!1}}(),cache:function(){var a={},b="vglnk_"+(new Date).getTime(),c=0;return function(d,e,f){if(d){var g=d[b];if(g||void 0!==f)return g||(g=++c),a[g]||(d[b]=g,a[g]={}),void 0!==f&&(a[g][e]=f),"string"==typeof e?a[g][e]:a[g]}}}(),canonicalizeHostname:function(a){return"string"==typeof a&&(a=$.createA(a)),a.hostname?a.hostname.toString().toLowerCase().replace(/^www\./,"").replace(/:.*$/,""):""},clone:function(a){return $.extend({},a)},contains:function(a,b){return-1!==$.indexOf(a,b)},contextIsAncestor:function(a){for(var b=window.self;b.parent&&b.parent!==b;)if(b=b.parent,b===a)return!0;return!1},cors:function(url){var request,onSuccess=function(){eval(request.responseText)};request=new window.XMLHttpRequest,request.onreadystatechange=function(){4===request.readyState&&200===request.status&&onSuccess()},request.open("GET",url),request.withCredentials=!0,request.send()},createA:function(a,b){return $.createEl("a",{href:a,target:b})},createEl:function(a,b,c,d){var e,f=(d||document).createElement(a);b=b||{},c=c||{};for(e in b)void 0!==b[e]&&(f[e]=b[e]);return $.css(f,c),f},css:function(a,b){var c;for(c in b)try{a.style[c]=b[c]}catch(d){}return a},destructing:function(a){return function(a){var b,c=!1;return function(){return c||(b=a.apply(null,arguments),c=!0),b}}(a)},escapeRegExp:function(){var a;return function(b){return a=a||new RegExp("([.*+?^${}()|[\\]\\\\])","g"),b.replace(a,"\\$1")}}(),eventLink:function(a){var b,c,d=a.target||a.srcElement;do{try{b=d.nodeType}catch(e){return}if(1===b&&(c=d.tagName.toUpperCase(),"A"===c||"AREA"===c))return d;d=d.parentNode}while(d)},exceptionLogger:function(){var a=!1,b=function(){};return function(c,d){return void 0===d?function(){if(!a)return c.apply(this,arguments);try{return c.apply(this,arguments)}catch(d){b(d)}}:(a=d,void(b=c))}}(),fromQuery:function(a){"?"===a.substr(0,1)&&(a=a.substr(1));var b=a.split("&"),c={};return $.each(b,function(a){var b=a.split("=");c[decodeURIComponent(b[0])]=decodeURIComponent(b[1])}),c},hasAttrValue:function(a,b,c,d){return b?$.contains($.attrValues(a,b,d),c):!1},hasClass:function(a,b){return $.hasAttrValue(a,"className",b)},hasRel:function(a,b){return $.hasAttrValue(a,"rel",b)},indexOf:function(){return Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b)}:function(a,b){var c,d;for(c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}}(),isArray:function(a){return"array"===$.type(a)},isDefaultPrevented:function(a){return a.isDefaultPrevented&&a.isDefaultPrevented()||a.returnValue===!1||a.defaultPrevented===!0},jsonp:function(a){var b=document.getElementsByTagName("script")[0],c=$.createEl("script",{type:"text/javascript",src:a});b.parentNode.insertBefore(c,b)},map:function(a,b){var c=[];return $.each(a,function(a,d){void 0!==a&&(c[d]=b(a))}),c},on:function(){var a;return function(b,c,d){var e,f;if(1===arguments.length)return void(a=b);if(2===arguments.length){if(!a)return;d=c,c=b,b=a}try{e=b["on"+c]}catch(g){}"function"==typeof e&&(b["on"+c]=$.bind(function(a){a=a||window.event;var c=e.apply(b,arguments);this.exceptionLogger(function(){return a?(void 0!==c&&a.returnValue!==!1&&(a.returnValue=c),$.isDefaultPrevented(a)&&"function"===$.type(a.preventDefault)&&a.preventDefault(),a.returnValue):c})()},this)),f=$.exceptionLogger(function(){return a.enabled()?d.apply(null,arguments):void 0}),b.addEventListener?b.addEventListener(c,f,!1):b.attachEvent&&b.attachEvent("on"+c,f)}}(),position:function(a){var b,c=0,d=0,e=0,f=0;if(!a.offsetParent)return!1;b=a;do c+=b.offsetLeft,d+=b.offsetTop,b=b.offsetParent;while(b);b=a;do e+=b.scrollLeft,f+=b.scrollTop,b=b.parentNode;while(b&&b!==document.body);return{x:c-e,y:d-f}},preventDefault:function(a){return a.preventDefault&&a.preventDefault(),a.returnValue=!1,!1},ready:function(){var a,b,c,d,e,f=!1,g=[],h=!1;return document.addEventListener?c=function(){document.removeEventListener("DOMContentLoaded",c,!1),e()}:document.attachEvent&&(d=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",d),e())}),a=function(){if(!f){if(f=!0,"complete"===document.readyState)return e();if(document.addEventListener)document.addEventListener("DOMContentLoaded",c,!1);else if(document.attachEvent){document.attachEvent("onreadystatechange",d);var a=!1;try{a=null===window.frameElement}catch(g){}document.documentElement.doScroll&&a&&b()}$.on(window,"load",e)}},b=function(){if(!h){try{document.documentElement.doScroll("left")}catch(a){return void setTimeout($.exceptionLogger(b),1)}e()}},e=function(){if(!h){if(!document.body)return setTimeout($.exceptionLogger(e),13);h=!0,g&&($.each(g,function(a){a()}),g=null)}},function(b){a(),h?b():g.push(b)}}(),reformatKeys:function(a){var b,c,d=function(a){return"_"+a.toLowerCase()};for(b in a)c=b.replace(/([A-Z])/g,d),"object"===$.type(a[b])&&(a[b]=$.reformatKeys(a[b])),c!==b&&(a[c]=a[b],delete a[b]);return a},removeClass:function(a,b){if($.hasClass(a,b)){var c,d,e=$.attrValues(a,"className");for(c=0,d=e.length;d>c;c++)e[c]===b&&delete e[c];a.className=e.join(" ")}},request:function(a,b,c){var d,e;return c=$.extend({fn:function(){},"return":!1,timeout:null},c),"string"==typeof c.fn?b=$.extend(b,{jsonp:c.fn}):"function"==typeof c.fn&&(d=$.destructing(c.fn),e=$.uniqid("vglnk_jsonp_"),b=$.extend(b,{jsonp:e}),window[e]=$.exceptionLogger(function(){d.apply(this,arguments),window[e]=void 0}),null!==c.timeout&&setTimeout($.exceptionLogger(d),c.timeout)),b=$.extend({format:"jsonp"},b),b=$.toQuery(b),a=a+(b.length?"?":"")+b,c["return"]?a:$.traits.cors?$.cors(a):$.jsonp(a)},toQuery:function(a){var b,c="";for(b in a)null!==a[b]&&void 0!==a[b]&&(c+="&"+encodeURIComponent(b)+"="+encodeURIComponent(a[b]));return c.substr(1)},type:function(a){return null===a?"null":void 0===a?"undefined":Object.prototype.toString.call(a).slice(8,-1).toLowerCase()},updateUrl:function(a,b){return $.extend($.createA(a),b).href},uniqid:function(){var a=0;return function(b){return(b||"")+(new Date).getTime()+a++}}()}),$.traits={basicCompatibility:!($.browser.blackberry||$.browser.playstation),cors:window.XMLHttpRequest&&void 0!==(new window.XMLHttpRequest).withCredentials,crossWindowCommunication:!($.browser.ios&&$.browser.version&&($.browser.version<5||$.browser.version>5)),jsRedirectSetsReferrer:$.browser.aol||!($.browser.ie||$.browser.opera),quirksMode:!Boolean(window.addEventListener),windowLevelHandlers:Boolean(window.addEventListener)};var opts,scope,self,viglink;viglink={api:function(a,b,c){var d=opts.api_url+"/"+a;return b=$.extend({cuid:opts.cuid,key:opts.key,drKey:opts.key?null:opts.dr_key,loc:location.href,subId:opts.sub_id,v:1},b),b.subId&&b.key!==opts.key&&(b.subId=null),$.request(d,b,c)},addEventListener:function(a,b){this.fire(a,b)},click:function(){var a=function(a,b){if(!("_self"===b||$.traits.crossWindowCommunication&&$.traits.jsRedirectSetsReferrer))return"go";try{if(void 0===a.document)throw!0;return"jsonp"}catch(c){return"go"}},b=function(a){if("_self"===a)return window.self;if($.traits.crossWindowCommunication&&$.traits.jsRedirectSetsReferrer){var b=window.open("",a);return b.focus(),b}},c=function(a){var b,c=a.previousSibling,d=a.nextSibling,e=["",a.textContent,""],f=10,g=function(a,b,c){var d=function(a){return a.replace(/\s+/g," ")};return a=d(a),b=d(b),c=d(c),a=a.replace(/^\s+/,"")," "===b.substr(0,1)&&(b=b.substr(1),a+=" "!==a.substr(a.length-1,1)?" ":"")," "===b.substr(b.length-1,1)&&(b=b.substr(0,b.length-1),c=(" "!==c.substr(0,1)?" ":"")+c),c=c.replace(/\s+$/,""),[a,b,c]};void 0!==e[1]&&(e[0]=c&&3===c.nodeType?c.data:"",e[2]=d&&3===d.nodeType?d.data:"",e=g.apply(this,e),""!==e[0]&&""!==e[2]&&(e[0]=e[0].split(" ").reverse().slice(0,f+(" "===e[0].substr(e[0].length-1,1)?1:0)).reverse().join(" "),e[2]=e[2].split(" ").slice(0,f).join(" "),b={type:"context",itype:($.cache(a,"params")||{}).type,before:e[0],after:e[2],txt:e[1],loc:location.href,out:a.href,v:2},viglink.log("info",$.toQuery(b))))};return function(d,e){e=d.target||e,e=!e||e===window.name||"_top"===e&&window.top===window.self||"_parent"===e&&window.parent===window.self?"_self":e;var f,g,h=b(e),i=a(h,e);if(f=$.destructing($.bind(function(){opts.time_click&&arguments.length&&this.logTime("clk");var a=Array.prototype.slice.call(arguments);a.unshift(d,h,e),this.onApiClick.apply(this,a)},this)),$.cache(this,"link","string"==typeof d?d:d.href),"string"==typeof d&&(d=$.createA(d,e),!this.preprocessLink(d)))return f();if(!opts.enabled)return f();if(g=this.clickParams(d,i),this.logTime(),opts.log_context&&c(d),"go"===i)this.redirect(this.api("click",g,{"return":!0}),h,e);else if(h===window.self)this.api("click",g,{fn:f,timeout:opts.click_timeout});else{if($.contextIsAncestor(h))return this.redirect(d.href,h,e);f=$.exceptionLogger(f),setTimeout(function(){f()},opts.click_timeout),h.document.open(),h.callback=f,h.document.write("