!function(){function e(e,n,t){if(e.addEventListener)return e.addEventListener(n,t,!1),!0;if(e.attachEvent){var i=e.attachEvent("on"+n,t);return i}e["on"+n]=t}function n(){e(window,"load",function(){t(),a()});var n=window.onerror;window.onerror=function(e,i){"function"==typeof n&&n.apply(window,arguments);var o=i.split("/").pop();++d.ec,d.us=d.us?d.us+","+o:o,t()},p.Ready(r)}function t(){0!=d.ec&&"undefined"!=typeof _msq&&"undefined"!=typeof _msq.push&&(_msq.push(["trackJSError",{ec:d.ec,us:d.us}]),d.ec=0,d.us="")}function i(e){var n={t:0,l:0};if(e.offsetParent)for(;e.offsetParent;)n.t+=e.offsetTop,n.l+=e.offsetLeft,e=e.offsetParent;else e.x?n.l+=e.x:e.x&&(n.t+=e.y);return{x:n.l,y:n.t}}function o(){return{w:window.screen.width,h:window.screen.height}}function r(){y=(new Date).getTime();var n=document.getElementsByTagName("img");0===n.length&&(u=f);for(var t=0,r=0,a=function(){++t,t===r&&(u=(new Date).getTime())},d=o(),c=n.length,s=0;c>s;++s)if("undefined"!=typeof n[s].complete&&n[s].complete!==!0){var m=i(n[s]);(0!=m.x||0!=m.y)&&m.x<d.w&&m.y<d.h&&(++r,e(n[s],"load",function(){a()}),e(n[s],"error",function(){a()}))}0==r&&(u=f)}function a(){var e=window.performance||window.webkitPerformance,e=e&&e.timing;if(e){var n=e.navigationStart;s=new Date-n,s=s>0?s:0,c=u-n,c=c>0?c:s,c=c>0?c:0,m=f-n,l=y-n;var t={fs:c,ua:l,ws:m,td:s};"undefined"!=typeof _msq&&"undefined"!=typeof _msq.push&&_msq.push(["trackPerformance",t])}}if("undefined"==typeof _mi_ti&&(_mi_ti={}),"undefined"==typeof d)var d={ec:0,us:""};var f="undefined"!=typeof _head_over_time&&_head_over_time>0?_head_over_time:(new Date).getTime(),u=null,c=null,s=null,m=null,l=null,y=null,p=new function(){var e=[];return e.isReady=!1,e.isFunction=function(e){return"[object Function]"===Object.prototype.toString.call(e)},e.Ready=function(n){e.initReady(),e.isFunction(n)&&(e.isReady?n():e.push(n))},e.fireReady=function(){if(!e.isReady){e.isReady=!0;for(var n=0,t=e.length;t>n;n++){var i=e[n];i()}e.length=0}},e.initReady=function(){document.addEventListener?document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,!1),e.fireReady()},!1):document.getElementById&&(document.write('<script id="ie-domReady" defer=\'defer\'src="//:"></script>'),document.getElementById("ie-domReady").onreadystatechange=function(){"complete"===this.readyState&&(e.fireReady(),this.onreadystatechange=null,this.parentNode.removeChild(this))})},e};n()}();

