/*
pai_nome
pai_profissao
mae_nome
mae_profissao
*/
candidaturas_s2= function()
{
	var l	=	candidaturas_imod_lang;
	return new Ext.Panel({
	
		xtype		: "panel"
		,id			: "step_2"
		,border		: false
		,layout		: "form"
		,anchor		: '100%'
		,bodyStyle	: 'padding: 10px;'
		,labelWidth: 110
		//,collapsible:	true
		,defaults: {
				//,anchor: '50%'
				width: 300
				,maxLength	: 250
				,allowBlank: false
				,msgTarget: 'side'
			}
		,items		:[
			
			//		-------------------------------------------------------------------------
			
				{
					xtype		: "panel"
					,title		:	l.filiacao_title
					,html		:	""
					,anchor		: '100%'
					,border		: false
					,bodyStyle	: 'margin: 0px 0px 10px 0px;'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.pai_nome
					,name		: 'pai_nome'
					,id			: 'pai_nome'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.pai_profissao
					,name		: 'pai_profissao'
					,id			: 'pai_profissao'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.mae_nome
					,name		: 'mae_nome'
					,id			: 'mae_nome'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.mae_profissao
					,name		: 'mae_profissao'
					,id			: 'mae_profissao'
				}
				
					
			//		-------------------------------------------------------------------------
				,{
					xtype		: "panel"
					,title		:	l.encarregado_title
					,html		:	""
					,anchor		: '100%'
					,border		: false
					,bodyStyle	: 'margin: 10px 0px 10px 0px;'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_nome
					,name		: 'encarradoEdu_nome'
					,id			: 'encarradoEdu_nome'
					,anchor		:'95%'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_profissao
					,name		: 'encarradoEdu_profissao'
					,id			: 'encarradoEdu_profissao'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_parentesco
					,name		: 'encarradoEdu_parentesco'
					,id			: 'encarradoEdu_parentesco'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_morada
					,name		: 'encarradoEdu_morada'
					,id			: 'encarradoEdu_morada'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_locaidade
					,name		: 'encarradoEdu_locaidade'
					,id			: 'encarradoEdu_locaidade'
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_codPostal
					,name		: 'encarradoEdu_codPostal'
					,id			: 'encarradoEdu_codPostal'
					,width		: 80
					,plugins: [new Ext.ux.InputTextMask('9999-999', true)]
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_telefone
					,name		: 'encarradoEdu_telefone'
					,id			: 'encarradoEdu_telefone'
					,width		: 100
					,plugins: [new Ext.ux.InputTextMask('999999999', true)]
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_telefoneTrabalho
					,name		: 'encarradoEdu_telefoneTrabalho'
					,id			: 'encarradoEdu_telefoneTrabalho'
					,width		: 100
					,plugins: [new Ext.ux.InputTextMask('999999999', true)]
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_telemovel
					,name		: 'encarradoEdu_telemovel'
					,id			: 'encarradoEdu_telemovel'
					,width		: 100
					,allowBlank: 1
					,plugins: [new Ext.ux.InputTextMask('999999999', true)]
				}
				,{
					xtype		:'textfield'
					,fieldLabel	: l.encarradoEdu_email
					,name		: 'encarradoEdu_email'
					,id			: 'encarradoEdu_email'
					,vtype		: "email"
				}
			
		]
	});	
}
