window.orderUserSettings = { } var name = 'Cart_Token'; var token = 'ff525bde-f118-4d5b-95c9-4b16e74f61a8'; 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.","") +";";