try { var weezmo_module_bis_id = "65e00ce7-330a-46c0-92a7-1b5e7b4d03c7"; window.wzm = { wid: "ilm..v+OtqlR+NxkfuJjnOMH8", bid: "65e00ce7-330a-46c0-92a7-1b5e7b4d03c7", identifiers: [], setClientInfo: function (userData) { userData.wid = wzm.wid; userData.bid = wzm.bid; userData.identifiers = wzm.identifiers; query(userData); function query(data) { var xhr = new XMLHttpRequest(); xhr.open("POST", "https://api.weezmo.com/client/info", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onload = function () { localStorage.setItem("main_wid", JSON.parse(this.responseText)); }; xhr.onerror = function (message) { console.log(message); } xhr.send(JSON.stringify(data)); } } }; (function setCookie(cname, cvalue, exdays) { if (document.cookie && document.cookie.indexOf(cname) === -1) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = d.toUTCString(); var domain = window.location.hostname.replace(/^(www\.)/, ""); document.cookie = cname + "=" + cvalue + ";expires=" + expires + ";path=/" + ";domain=" + domain; } })("_wid", wzm.wid, 365); } catch (err) { }