' + '' + '
' + ''; var titleElement = element.getElementsByClassName('adcross-title')[0]; var titleNode = document.createTextNode(item.title); titleElement.appendChild(titleNode); adcrossContainer.appendChild(element); } } catch (e) { removeFooter(); } } else if (xhttp.readyState === 4) { removeFooter(); } }; xhttp.send();