var accStr = getCookie('data');
var accuont;
if(accStr != '')
{
var Saccuont = JSON.parse(accStr);
Saccuont.type = "user";
accuont = Saccuont;
}
else
{
accuont = {
id : -1,
nickname : "GUEST" + getRandom(0, 100),
type : "guest"
};
}
const account = accuont;