function remindPassword () {
	var form = new Ext.form.FormPanel({
		baseCls: 'x-plain',
		labelWidth: 200,
		url: '../main/authentificationlost_process.php',
		items: [{
			fieldLabel: 'Saisissez votre adresse email',
			xtype: 'textfield',
			name: 'lostCodeEmail',
			id: 'lostCodeEmail',
			anchor:'100%'  // anchor width by percentage
		}]
	});

	var window = new Ext.Window ({
		title: 'Rappel de mot de passe',
		width: 450,
		height: 100,
		minWidth: 450,
		minHeight: 100,
		layout: 'fit',
		plain:true,
		bodyStyle:'padding:5px;',
		buttonAlign:'center',
		items: form,

		buttons: [{
			text: 'Envoyer',
			handler: function(){
				var conn = new Ext.data.Connection();
				conn.request({
					url: '../main/authentificationlost_process.php',
					method: 'POST',
					params: {
						"lostCodeEmail": Ext.getCmp("lostCodeEmail").getValue(),
						"method": "AJAX"
					},
					success: function (response) {
						if (response.responseText == "ok")
							Ext.Msg.alert ('Confirmation', "Votre mot de passe vient d'être envoyé par email");
						else if (response.responseText == "no_account")
							Ext.Msg.alert ('Confirmation', "Aucun compte avec cette adresse email");
					},
					failure: function() {
						Ext.Msg.alert ('Info', 'Impossible de renvoyer votre mot de passe. Merci de réessayer ultérieurement ou contacter l\'administrateur.');
					}
				});
				window.close();
			}
		},{
			text: 'Annuler',
			handler: function() {
				window.close();
			}

		}]
	});
	window.show();
}
