= new Date(); expireAt.setTime(expireAt.getTime() + lifetime * 1000); } Mage.Cookies.set('external_no_cache', 1, expireAt);