'; } var adBlock = '
' + '

' + '' + item.title + '' + '

'+ '

' + '' + item.title + '

' + meta_text + '
' + label + '
' + '
'; var target = ''; if (i == 0) { target = h1Titles[1].parentElement; targetClass = h1Titles[1].className; } else { if (i == 1) { target = h1Titles[3].parentElement; targetClass = h1Titles[3].className; } } if ( targetClass == 'p-largeSummaryCard-title' || h1Titles[1].className == 'p-hotSummaryCard-title') { var adBlockCardList = '
' + '
' + adBlock + '
'; $(target).before(adBlockCardList); } else { $(target).before(adBlock); } } }); }
`; if ( $(target).length ) { $(target).after(adBlock); } } }); })();