<xen:if is="!{$visitor.user_id}">
<script type="text/javascript">// <![CDATA[
googletag.cmd.push(function() {
var width = window.innerWidth || document.documentElement.clientWidth;
if (width >= 851) {
googletag.defineSlot('/9999/Footer-TN-G-D', [728, 90], 'div-gpt-ad-1373383646816-0').addService(googletag.pubads());
<xen:if is="in_array({$contentTemplate}, array('online_list','dark_taigachat_full','forum_list','member_list'))">googletag.defineSlot('/9999/HeaderSmall-TN-G-D', [468, 60], 'div-gpt-ad-1373384704971-3').addService(googletag.pubads());<xen:else />googletag.defineSlot('/9999/Header-TN-G-D', [728, 90], 'div-gpt-ad-1373384704971-0').addService(googletag.pubads());</xen:if>
<xen:if is="{$contentTemplate} == 'thread_view'">googletag.defineSlot('/9999/Post-TN-G-D', [300, 250], 'div-gpt-ad-1373384704971-5').addService(googletag.pubads());</xen:if>
<xen:if is="in_array({$contentTemplate}, array('online_list','forum_list','member_notable'))">googletag.defineSlot('/9999/SidebarBottom-TN-G-D', [250, 250], 'div-gpt-ad-1373388675675-1').addService(googletag.pubads());</xen:if>
<xen:if is="in_array({$contentTemplate}, array('online_list','forum_list','member_notable'))">googletag.defineSlot('/9999/SidebarTop-TN-G-D', [250, 250], 'div-gpt-ad-1373388675675-5').addService(googletag.pubads());</xen:if>
$(".tnadsM").remove();
$(".tnadsT").remove();
}
else if ((width >= 481) && (width <= 800)) {
googletag.defineSlot('/9999/Footer-TN-G-T', [468, 60], 'div-gpt-ad-1373383646816-2').addService(googletag.pubads());
<xen:if is="in_array({$contentTemplate}, array('online_list','dark_taigachat_full','forum_list','member_notable'))">googletag.defineSlot('/9999/HeaderSmall-TN-G-T', [468, 60], 'div-gpt-ad-1373384704971-4').addService(googletag.pubads());<xen:else />googletag.defineSlot('/9999/Header-TN-G-T', [468, 60], 'div-gpt-ad-1373384704971-2').addService(googletag.pubads());</xen:if>
<xen:if is="{$contentTemplate} == 'thread_view'">googletag.defineSlot('/9999/Post-TN-G-T', [234, 60], 'div-gpt-ad-1373384704971-6').addService(googletag.pubads());</xen:if>
<xen:if is="in_array({$contentTemplate}, array('online_list','forum_list','member_notable'))">googletag.defineSlot('/9999/SidebarTop-TN-G-T', [234, 60], 'div-gpt-ad-1373388675675-6').addService(googletag.pubads());</xen:if>
$(".tnadsM").remove();
$(".tnadsD").remove();
}
else if (width <= 480) {
googletag.defineSlot('/9999/Footer-TN-G-M', [234, 60], 'div-gpt-ad-1373383646816-1').addService(googletag.pubads());
googletag.defineSlot('/9999/Header-TN-G-M', [234, 60], 'div-gpt-ad-1373384704971-1').addService(googletag.pubads());
$(".tnadsT").remove();
$(".tnadsD").remove();
}
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
// ]]></script>
</xen:if>