document.write('
');function insertEle(divid,beforeid,htmlstr) { if( document.querySelector("."+divid)){ var oTest = document.querySelector("."+divid); var newNode = document.createElement("div"); newNode.style.marginTop="10px"; var reforeNode = document.querySelector("."+beforeid); newNode.innerHTML = htmlstr; oTest.insertBefore(newNode,reforeNode.nextSibling); } } if(window.location.href.indexOf('noqrcode')>-1){ if(document.getElementById('wxbox')){ document.getElementById('wxbox').style.display='none'; } }