function elqGetGuidCookieValue() { console.log("Get Cookie Value"); var name, value, index, cookies = document.cookie.split(";"); console.log("cookies", cookies); for (var i = 0; i < cookies.length; i++) { index = cookies[i].indexOf("="); if (index > 0 && cookies[i].length > index + 1) { name = cookies[i].substr(0, index).trim(); console.log("name", name); if (name == "ELOQUA") { value = cookies[i].substr(index + 1); var subCookies = value.split("&"); for (var l = 0; i < subCookies.length; l++) { var subCookie = subCookies[l].split("="); console.log("Cookie Value 1", subCookie); if (subCookie.length == 2 && subCookie[0] == "GUID") { console.log("Cookie Value 2", subCookie); return subCookie[1]; } } } } } return ""; } elqGetGuidCookieValue();Dulsco Group | Careers and Vacancies

Careers

Search by:
image