// ###########################################
// Validation of job form
// ###########################################

function validateFormJob(thisform){

// Error messages
//////////////////////////////////////////////////////////////////////////////
error_1="Debe seleccionar el Area"
error_2="Debe seleccionar el Centro de Trabajo"
error_3="Debe rellenar la Carta de PresentaciÃ³n"
error_4="Debe anexar su Curriculum Vitae"
error_5="Debe aceptar la Pol\u00edtica de Privacidad"

// Area
////////////////////////////////////////////////////////////////////////////// 
   if (thisform.area.selectedIndex=="0"){
     alert(error_1);
     thisform.area.focus();
     return false;
   }

// Centro de Trabajo
////////////////////////////////////////////////////////////////////////////// 
   if (thisform.ct.selectedIndex=="0"){
     alert(error_2);
     thisform.ct.focus();
     return false;
   }

// Carta de Presentación
////////////////////////////////////////////////////////////////////////////// 
   if (thisform.carta.value==""){
     alert(error_3);
     thisform.carta.focus();
     return false;
   }

// CV
////////////////////////////////////////////////////////////////////////////// 		
    if (thisform.cv.value==""){
     alert(error_4);
     thisform.cv.focus();
     return false;
   }

// Politica
////////////////////////////////////////////////////////////////////////////// 		
    if (thisform.politica.checked==false){
     alert(error_5);
     thisform.politica.focus();
     return false;
   }

return true;
}