window.orderUserSettings = { } var name = 'Cart_Token'; var token = '5674eae1-6b00-4f09-8a3a-2271f7dbcd77'; var days = 30; var endDate = new Date(); endDate.setTime(endDate.getTime() + days * 24 * 60 * 60 * 1000); document.cookie = name + "=" + escape(token) +"; expires="+ endDate.toGMTString() +"; path=/;domain=" + document.location.hostname.replace("www.","") +";";