var nsUser = nsForm.extend({

	exit : 	function () {
		this.request({
			method : 'get',
			update : 'content',
			data : { 
				'func' : 'logoff'
			},
			onComplete : function () {
				window.location = '/registr/';
			}
		});
	}
});

/*
function editProfile()
{
	new nsForm(nsConfig.settingsForm).show();
	

}
*/

function changeRegForm(formName)
{
	regForm.options.show.data.func = formName;
	regForm.show();
}
