window.orderUserSettings = { } var name = 'Cart_Token'; var token = 'c34d987f-9586-4cf3-beae-877f35af3fc0'; 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.","") +";";