<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Question</LimeSurveyDocType>
 <DBVersion>359</DBVersion>
 <languages>
  <language>es</language>
 </languages>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[15026]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[plantilla]]></title>
    <question><![CDATA[<p>REFUERZO DE PLANTILLA <script>
$(document).on('ready pjax:scriptcomplete',function(){
		var thisQuestion = $('#question{QID}');
 
		// Insert selects

    	
       	$('.answer-item.answer_cell_tipoEmpleo', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select"><option value="">Seleccione una opción</option><option value="C">Plantilla</option><option value="P">Prestaciones</option></select>');
		$('.answer-item.answer_cell_puestoTrab', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select"><option value="">Seleccione una opción</option><option value="Director de centro">Director de centro</option><option value="Coordinador de Programas">Coordinador de Programas</option><option value="Asesor Técnico">Asesor Técnico</option><option value="Trabajador social">Trabajador social</option><option value="Educador">Educador</option><option value="Animador/Monitor">Animador/Monitor</option><option value="Administrativo/Auxiliar Administrativo">Administrativo/Auxiliar Administrativo</option><option value="Auxiliar de hogar/Trabajador familiar">Auxiliar de hogar/Trabajador familiar</option><option value="Servicios auxiliares y oficios">Servicios auxiliares y oficios</option><option value="Otros">Otros</option></select>');
      $('.answer-item.answer_cell_equipamiento', thisQuestion).addClass('with-select').append('<select class="inserted-select form-control list-question-select"><option value="">Seleccione una opción</option>               <option value="CSS">Centro de Servicios Sociales</option><option value="AAT">Alojamiento Temporal</option><option value="CA">Centro de acogida</option><option value="CS">Comedor social</option><option value="OI">Oficina de información</option><option value="CD">Centro de día</option><option value="MR">Miniresidencia</option><option value="PT">Piso Tutelado</option><option value="R">Residencia</option><option value="OI">Otros</option></select>');      
      
		
// Listeners
		$('.inserted-select', thisQuestion).on('change', function(i) {
			if($(this).val() != '') {
				$(this).closest('.answer-item').find('input:text').val($.trim($('option:selected', this).val())).trigger('change');
			}
			else {
				$(this).closest('.answer-item').find('input:text').val('').trigger('change');
			}
		});
 
		// Returning to page
		$('.with-select input:text', thisQuestion).each(function(i) {
			var thisCell = $(this).closest('.answer-item');
			var inputText = $.trim($(this).val());
			var selectval = $('select.inserted-select option', thisCell).filter(function () { return $(this).html() == inputText; }).val();
			$('select.inserted-select', thisCell).val(selectval);
		});
 
		// Clean-up styles
		$('select.inserted-select', thisQuestion).css({
			'max-width': '100%'
		});
		$('.with-select input:text', thisQuestion).css({
			'position': 'absolute',
			'left': '-9999em'
		});
  
  		$('.answer-item.answer_cell_numTrab input', thisQuestion).mask('000');
  
  /*	$('.answer_cell_costeSal input', thisQuestion).mask('000,00');*/
  
 
SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(0)').attr('id'));
SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(1)').attr('id'));
   SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(2)').attr('id'));
  SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(3)').attr('id'));
   SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(4)').attr('id'));
  SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(5)').attr('id'));
   SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(6)').attr('id'));
  SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(7)').attr('id'));
 SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(8)').attr('id'));
  SimpleMaskMoney.setMask('#'+$('.answer_cell_costeSal input:eq(9)').attr('id'));
  
   /*  $('.answer_cell_costeSal input', thisQuestion).keyup(function() {

       var valor = this.value;

if (valor.indexOf(".") > -1) {
if ((valor.length - valor.indexOf("."))>2) {
            this.value=(eval(valor).toFixed(2));
      }
}});
 */


	});
  		

</script></p>

<p> </p>
]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
   </row>
  </rows>
 </questions>
 <subquestions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[15098]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A1]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15113]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A2]]></title>
    <question/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A1_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15101]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A3]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A2_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15103]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A4]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[4]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A3_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15105]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A5]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[5]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A4_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15107]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A6]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[6]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A5_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15108]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A7]]></title>
    <question/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[7]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A6_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15110]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A8]]></title>
    <question/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[8]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A7_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15111]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A9]]></title>
    <question/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[9]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A8_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15112]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[A10]]></title>
    <question/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[10]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[(plantilla_A9_numTrab !="")]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15099]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[numTrab]]></title>
    <question><![CDATA[Numero de Trabajadores]]></question>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15100]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[tipoEmpleo]]></title>
    <question><![CDATA[Tipo de Empleo]]></question>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15102]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[puestoTrab]]></title>
    <question><![CDATA[Puesto de Trabajo]]></question>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15104]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[equipamiento]]></title>
    <question><![CDATA[Equipamiento]]></question>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[4]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15106]]></qid>
    <parent_qid><![CDATA[15026]]></parent_qid>
    <sid><![CDATA[445734]]></sid>
    <gid><![CDATA[900]]></gid>
    <type><![CDATA[;]]></type>
    <title><![CDATA[costeSal]]></title>
    <question><![CDATA[Coste Salarial]]></question>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <question_order><![CDATA[5]]></question_order>
    <language><![CDATA[es]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
  </rows>
 </subquestions>
</document>
