", "is_image": false, "placement_element_class": "hs-cta-bdf811f3-303e-4ce1-96dc-f7aeae938a9e", "raw_html": "了解更多" }; var __hs_cta = {}; __hs_cta.drop = function() { var is_legacy = document.getElementById('hs-cta-ie-element') && true || false, html = __hs_cta_json.image_html, tags = __hs_cta.getTags(), is_image = __hs_cta_json.is_image, parent, _style; if (!is_legacy && !is_image) { parent = (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]); _style = document.createElement('style'); parent.insertBefore(_style, parent.childNodes[0]); try { default_css = ".hs-cta-wrapper p, .hs-cta-wrapper div { margin: 0; padding: 0; }"; cta_css = default_css + " " + __hs_cta_json.css; // http://blog.coderlab.us/2005/09/22/using-the-innertext-property-with-firefox/ _style[document.all ? 'innerText' : 'textContent'] = cta_css; } catch (e) { // addressing an ie9 issue _style.styleSheet.cssText = cta_css; } html = __hs_cta_json.raw_html; } for (var i = 0; i < tags.length; ++i) { var tag = tags[i]; var images = tag.getElementsByTagName('img'); var cssText = ""; var align = ""; for (var j = 0; j < images.length; j++) { align = images[j].align; images[j].style.border = ''; images[j].style.display = ''; cssText = images[j].style.cssText; } if (align == "right") { tag.style.display = "block"; tag.style.textAlign = "right"; } else if (align == "middle") { tag.style.display = "block"; tag.style.textAlign = "center"; } tag.innerHTML = html.replace('/*hs-extra-styles*/', cssText); tag.style.visibility = 'visible'; tag.setAttribute('data-hs-drop', 'true'); window.hbspt && hbspt.cta && hbspt.cta.afterLoad && hbspt.cta.afterLoad('bdf811f3-303e-4ce1-96dc-f7aeae938a9e'); } return tags; } ; __hs_cta.getTags = function() { var allTags, check, i, divTags, spanTags, tags = []; if (document.getElementsByClassName) { allTags = document.getElementsByClassName(__hs_cta_json.placement_element_class); check = function(ele) { return (ele.nodeName == 'DIV' || ele.nodeName == 'SPAN') && (!ele.getAttribute('data-hs-drop')); } ; } else { allTags = []; divTags = document.getElementsByTagName("div"); spanTags = document.getElementsByTagName("span"); for (i = 0; i < spanTags.length; i++) { allTags.push(spanTags[i]); } for (i = 0; i < divTags.length; i++) { allTags.push(divTags[i]); } check = function(ele) { return (ele.className.indexOf(__hs_cta_json.placement_element_class) > -1) && (!ele.getAttribute('data-hs-drop')); } ; } for (i = 0; i < allTags.length; ++i) { if (check(allTags[i])) { tags.push(allTags[i]); } } return tags; } ; // need to do a slight timeout so IE has time to react setTimeout(__hs_cta.drop, 10); window._hsq = window._hsq || []; window._hsq.push(['trackCtaView', 'bdf811f3-303e-4ce1-96dc-f7aeae938a9e', 'd2d20046-fceb-4053-952d-97ea4f1fe920']); }()); 重庆11选5计划群 11选5计划稳赚 北京pk赛车计划