Sets the specified cookie to profile.
setCookies = function(aURL, aCookies);
var cookies = []; var cookie = {}; cookie.name = 'testcookie'; cookie.value = 'testvalue'; cookie.domain = 'mysite.ru'; cookie.path = '/'; cookie.securre = false; cookie.hasExpires = false; cookie.creation = 0; cookie.lastAccess = 0; cookie.expires = 0; cookies.push(cookie); setCookies('http://mysite.com/', cookies);