news-details
Congress clears air over Rahul Gandhi's presidency, says he will continue to lead the party - Firstpost '; $("#aid_" + id + " .dynamicArticle").find('.content-wap-ros-new').html(slot_html); createAd7(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_8th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.content-wap-ros').html(slot_html); //createAd8(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_ib_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.content-wap-ros-ib').html(slot_html); createAd11(slot_id); /*slot_id = ''; slot_id = "infinite_content_9th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ROS_Across_OOP_1x1').html(slot_html); createAd9(slot_id);*/ slot_id = ''; slot_id = "infinite_content_12th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-300x250').html(slot_html); createAd12(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_13th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.between-300x250').html(slot_html); createAd13(slot_id,adCount); } else { slot_id = ''; slot_id = "infinite_content_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-major').html(slot_html); createAd1(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_2nd_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-one').html(slot_html); createAd2(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_3rd_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-two').html(slot_html); createAd3(slot_id,adCount); slot_id = ''; if(categoryName == "India" || categoryName == "Politics"){ slot_id = "infinite_content_3rd_300x250_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-three').html(slot_html); createAd14(slot_id,adCount); } slot_id = ''; slot_id = "infinite_content_4th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").last().find('.728X90Ad').html(slot_html); createAd4(slot_id,adCount); slot_id = ''; slot_id = "infinite_content_6th_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.ad-block-USUK').html(slot_html); createAd6(slot_id); slot_id = ''; slot_id = "infinite_content_native_alsosee_slot_no" + id; slot_html = ''; $("#aid_" + id + " .dynamicArticle").find('.also-see_'+id).html(slot_html); createAd10(slot_id); } // activateColombia(id); //load fb comments try{ FB.XFBML.parse(); }catch(ex){} }; var colombiaCount = ''; colombiaCount = 2; function activateColombia(pp) { if ($("#div-clmb-ctn-217884-" + colombiaCount).length == 0) { if (!navigator.userAgent.match(/Android/i) && !navigator.userAgent.match(/webOS/i) && !navigator.userAgent.match(/iPhone/i) && !navigator.userAgent.match(/iPod/i) && !navigator.userAgent.match(/iPad/i) && !navigator.userAgent.match(/Blackberry/i)) { $("#aid_" + pp + " .dynamicArticle").find('.colombiaWidget').html(' '); } else { $("#aid_" + pp + " .dynamicArticle").find('.colombiaWidget').html(''); } colombiaCount = parseInt(parseInt(colombiaCount) + 1); } //colombia.clearData(); } // Load Ads function createAd1(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_' + categoryName + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '_300x600', [300, 600], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd2(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_' + categoryName + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '_300x250_1', [300, 250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd3(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_' + categoryName + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '_300x250_2', [300, 250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd14(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_' + categoryName + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '_300x250_3', [300, 250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd4(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_' + categoryName + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_' + categoryName + '_Internal_Set' + (adCount+1) + '_728x90', [728, 90], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd6(slot_id) { googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_Footer/FirstPost_Footer_300x250_USUK', [300, 250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } function createAd7(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost_Wap_New/FirstPost_Wap_New_' + categoryName + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '_After_Section_320x50_Middle', [320,50], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd8(slot_id) { googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost_Wap_New/FirstPost_Wap_New_ROS/FirstPost_Wap_New_ROS_AMP_300x250', [300, 250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } /*function createAd9(slot_id) { googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_Ros/Firstpost_Ros_Across_OOP_1x1', [1,1], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); }*/ function createAd10(slot_id) { googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost/FirstPost_Ros/FirstPost_Internal_also_see_article_nativead_240x260', [240,260], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } function createAd11(slot_id) { googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost_Wap_New/FirstPost_Wap_New_ROS/FirstPost_Wap_New_ROS_Top_320x35', [320,35], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } function createAd12(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost_Wap_New/FirstPost_Wap_New_' + categoryName + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '_Between_Sections_300x250_1', [300,250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function createAd13(slot_id,adCount) { if(adCount != 0){ googletag.cmd.push(function() { var slot = googletag.defineSlot('/1039154/FirstPost_Wap_New/FirstPost_Wap_New_' + categoryName + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '/FirstPost_Wap_New_' + categoryName + '_Internal_Set' + (adCount+1) + '_Between_Sections_300x250_2', [300,250], slot_id).addService(googletag.pubads()); googletag.display(slot_id); //googletag.pubads().refresh([slot]); }); } } function compositeAds() { var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById',lp=d.location.protocol,wp=lp.indexOf('http')==0?lp:'https:'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]('M367441ScriptRootC281455')[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln(''+'dy>'+'ml>');iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]('M367441ScriptRootC281455');}var dv=iw[ce]('div');dv.id='MG_ID';dv[st][ds]=n;dv.innerHTML=281455;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src=wp+'//jsc.mgid.com/f/i/firstpost.com.281455.js?t='+D.getYear()+D.getMonth()+D.getUTCDate()+D.getUTCHours();c[ac](s); } function compositeAdsInArticle(post_id) { if($('#article-full-content_'+post_id+' > div[id ^= "M367441ScriptRootC281457"]').length == 0){ $('').insertAfter($('#article-full-content_'+post_id+'>p:eq(3)')); var D=new Date(),d=document,b='body',ce='createElement',ac='appendChild',st='style',ds='display',n='none',gi='getElementById',lp=d.location.protocol,wp=lp.indexOf('http')==0?lp:'https:'; var i=d[ce]('iframe');i[st][ds]=n;d[gi]('M367441ScriptRootC281457')[ac](i);try{var iw=i.contentWindow.document;iw.open();iw.writeln(''+'dy>'+'ml>');iw.close();var c=iw[b];} catch(e){var iw=d;var c=d[gi]('M367441ScriptRootC281457');}var dv=iw[ce]('div');dv.id='MG_ID';dv[st][ds]=n;dv.innerHTML=281457;c[ac](dv); var s=iw[ce]('script');s.async='async';s.defer='defer';s.charset='utf-8';s.src=wp+'//jsc.mgid.com/f/i/firstpost.com.281457.js?t='+D.getYear()+D.getMonth()+D.getUTCDate()+D.getUTCHours();c[ac](s); $('#article-full-content_'+post_id+' > div[id ^= "M367441ScriptRootC281457"]>iframe').attr('style','display:none !important;'); } }
Related Posts