var AuthentificationAjax = Class.create();
AuthentificationAjax.prototype = {

	id: 'authentification',
	page: projectUrl +'/site/doLogIn'

}

Object.extend(AuthentificationAjax.prototype, CommonAjax);

var AuthentificationAccountAjax = Class.create();
AuthentificationAccountAjax.prototype = {

	id: 'authentificationAccount',
	page: projectUrl +'/site/doLogInAccount'

}
Object.extend(AuthentificationAccountAjax.prototype, CommonAjax);

var ReferersBox = {

	show: function() {
		if($('referersContent').innerHTML == '') {
			Ajax.JSON(new ReferersAjax({ 'params': 'page=0' }));
		}
	}

}

var ReferersAjax = Class.create();
ReferersAjax.prototype = {

	id: 'referers',
	page: projectUrl +'/member/account/referers',

	execute: function(object) {
		this.content();
	}

}

Object.extend(ReferersAjax.prototype, CommonAjax);


var ChangePresentationAjax = Class.create();
ChangePresentationAjax.prototype = {

	id: 'changePresentation',
	page: projectUrl +'/member/user/changePresentation',

	execute: function(object) {
		this.content();
	}

}
Object.extend(ChangePresentationAjax.prototype, CommonAjax);

DoChangePresentationAjax = Class.create();
DoChangePresentationAjax.prototype = {

	id: 'doChangePresentation',
	page: projectUrl +'/member/user/doChangePresentation',

	execute: function(object) {

	}

}
Object.extend(DoChangePresentationAjax.prototype, CommonAjax);