-1) { // If so: set cookie expiration date in 30 days if (document.cookie.indexOf('refpartner=') < 0) { var cece = window.location.href.split('cece=')[1] var expiration = new Date(); expiration.setTime(expiration.getTime() + (30*24*60*60*1000)); document.cookie = "refpartner=" + cece + "; expires=" + expiration.toUTCString() + "; path=/"; } } >