window.orderUserSettings = { } var name = 'Cart_Token'; var token = '7a09c0ae-e454-4c2e-a5b0-191268d32f0d'; 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.","") +";";