var element = document.createElement("div"); element.innerHTML = ("
"); document.body.appendChild(element); var myWappItem = myWappItem, getWappMessage; if(myWappItem == null) { getWappMessage = ''; } else { getWappMessage = encodeURI('Interesse: ' + myWappItem.trim().replace(/\n|\r/g, ""))} function loadIntegraZAP() { document.getElementById('wapp1475994845').innerHTML = ""; document.getElementById('wappf1475994845').src = 'https://integrazap.com.br/gadget-v.1/wapp-load.php?x=c49130ae4b6d6db72240b94cc56736e1&y=5805965253&z='+location.hostname.replace("www.", "")+'&m='+getWappMessage+''; } function showIntegraZAP() { document.getElementById("wapp1475994845").style.right = "0"; document.getElementById("wapp1475994845").style.left = "0"; document.body.style.overflow = "hidden"; document.getElementById("form-wapp-hit").style.display = "block"; } function hideIntegraZAP() { document.getElementById("wapp1475994845").style.right = "-500px"; document.getElementById("wapp1475994845").style.left = "auto"; document.body.style.overflow = ""; document.getElementById("form-wapp-hit").style.display = "none"; } loadIntegraZAP();