//********************************************************************************
// Объекты, описаные ниже, служат для преобразования в них получаемого XML
//********************************************************************************

/**
* Статус ответа
*/
function ResponseStatus()
{
	this.code = 0;
	this.message = '';
}

/**
* Язык
*/
function CerebroLang()
{
	this.uid = '';
	this.name = '';
	this.code = 0;
}

/**
* Профиль
*/
function CerebroProfile()
{
	this.user_id = 0;
	this.full_name = '';
	this.login = '';
	this.email = '';
	this.icq = '';
	this.phone = '';
	this.lang_id = 0;
	this.langs_string = '';
	this.start_digest_time = 0;
	this.interest = 0;
	this.assigned = 0;
}

/**
* Краткая информация по пользователю
*/
function CerebroUser()
{
	this.user_id = 0;
	this.login = '';
	this.full_name = '';
}

/**
* Информация по вселенной
*/
function CerebroUniverse()
{
	this.uni_id = 0;
	this.name = '';
	this.kolbases = '';
}

/**
* Информация по вселенной
*/
function CerebroChronohash()
{
	this.chronohash = '';
}

/**
* Информация по агенту
*/
function CerebroAgent()
{
	this.uid = 0;
	this.name= '';
	this.agent_percent = 0;
	this.customer_percent = 0;
	this.flags = 0;
	this.expire_age = 0;
}

/**
* Coupon
*/
function Coupon()
{
	this.code = 0;
}

/**
* Информация по купону
*/
function CouponInfo()
{
	this.status = '';
	this.discount = 0;
}
