var file = window.location.pathname; var _sf_async_config={}; /** CONFIGURATION START **/ _sf_async_config.uid = 36240; _sf_async_config.domain = 'logotv.com'; _sf_async_config.useCanonical = true; _sf_async_config.sections = ''; _sf_async_config.authors = ''; /** CONFIGURATION END **/ _sf_async_config.path = file; if (file.indexOf("/events/") == 0){ _sf_async_config.sections = 'events'; }else if (file.indexOf("/shows/") == 0){ _sf_async_config.sections = 'shows'; }else if (file.indexOf("/video/") == 0){ _sf_async_config.sections = 'video'; } //Mobile optimization if (/iphone|ipod|ipad|android|iemobile/i.test(navigator.userAgent)) { _sf_async_config.sessionLength=.5; } (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement('script'); e.setAttribute('language', 'javascript'); e.setAttribute('type', 'text/javascript'); e.setAttribute('src', (('https:' == document.location.protocol) ? 'https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/' : 'http://static.chartbeat.com/') + 'js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != 'function') ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })();