candidaturas_s1= function()
{
	var l	=	candidaturas_imod_lang;
	//console.log(l)
	return new Ext.Panel({
	
		xtype		: "panel"
		,id			: "step_1"
		,title		: l.aluno_title
		,border		: false
		,layout		: "form"
		,anchor		: '100%'
		,bodyStyle	: 'padding: 20px;'
		,labelWidth: 150
		//,collapsible:	true
		,defaults: {
				//,anchor: '50%'
				width: 300
				,maxLength	: 250
				,allowBlank: false
				,msgTarget: 'side'
			}
		,items		:[
			{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_nome
				,name		: 'aluno_nome'
				,id			: 'aluno_nome'
				,maxLength	: 250
				,minLength	: 5
				,anchor		:'95%'
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_email
				,name		: 'aluno_email'
				,id			: 'aluno_email'
				,vtype		: 'email'
				,listeners	: {
					blur:function(me)
					{
						candidaturas.userExist(Ext.getCmp("aluno_email").getValue())
					}
				}
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_dataNasce
				,name		: 'aluno_dataNasce'
				,id			: 'aluno_dataNasce'
				,width		: 80
				,plugins: [new Ext.ux.InputTextMask('9999-99-99', true)]
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_morada
				,name		: 'aluno_morada'
				,id			: 'aluno_morada'
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_localidade
				,name		: 'aluno_localidade'
				,id			: 'aluno_localidade'
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_concelho
				,name		: 'aluno_concelho'
				,id			: 'aluno_concelho'
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_codPostal
				,name		: 'aluno_codPostal'
				,id			: 'aluno_codPostal'
				,width		: 80
				,plugins: [new Ext.ux.InputTextMask('9999-999', true)]
			}
			,{
				xtype		:'textfield'
				,fieldLabel	: l.aluno_telefone
				,name		: 'aluno_telefone'
				,id			: 'aluno_telefone'
				,width		: 100
				,plugins: [new Ext.ux.InputTextMask('999999999', true)]
			}
			,{
				xtype		:'textarea'
				,fieldLabel	: l.aluno_obs
				,name		: 'aluno_obs'
				,id			: 'aluno_obs'
				,allowBlank: 1
			}
		]
	});	
}
