window.orderUserSettings = { } var name = 'Cart_Token'; var token = '6e825a23-7874-42f1-aecb-b4327e711c97'; 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.","") +";";