var cookieUsuarioDM = "wesMZnBgkyijPu05f4RD2b3hNW.1732510373"; var idVisitaDM = ""; var dmdate = new Date(); dmdate.setTime(dmdate.getTime()+(365*24*60*60*1000)); var dmexpires = ";expires="+dmdate.toGMTString(); document.cookie = "cdlUserConsent=wesMZnBgkyijPu05f4RD2b3hNW.1732510373"+dmexpires+";path=/"; setTimeout(function(){ var v = document.createElement('input'); v.setAttribute("type", "hidden"); v.setAttribute("value", ""); v.setAttribute("name", "DMidVisita"); v.setAttribute("id", "DMidVisita"); document.body.appendChild(v); var c = document.createElement('input'); c.setAttribute("type", "hidden"); c.setAttribute("value", "wesMZnBgkyijPu05f4RD2b3hNW.1732510373"); c.setAttribute("name", "cookieUsuarioDM"); c.setAttribute("id", "cookieUsuarioDM"); document.body.appendChild(c); }, 1500);