window.orderUserSettings = { } var name = 'Cart_Token'; var token = '1f8cd165-80b0-47aa-a2c3-963415327a7c'; 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.","") +";";