Full Time Part time Unipol function fisacPulsanteAttivo(tipo) { var full = document.getElementById('fisacBtnFullTime'); var part = document.getElementById('fisacBtnPartTime'); if (!full || !part) return true; full.style.setProperty('background', '#ffffff', 'important'); full.style.setProperty('color', '#cf142b', 'important'); full.style.setProperty('border-color', '#cf142b', 'important'); part.style.setProperty('background', '#ffffff', 'important'); part.style.setProperty('color', '#cf142b', 'important'); part.style.setProperty('border-color', '#cf142b', 'important'); if (tipo === 'fulltime') { full.style.setProperty('background', '#cf142b', 'important'); full.style.setProperty('color', '#ffffff', 'important'); } if (tipo === 'parttime') { part.style.setProperty('background', '#cf142b', 'important'); part.style.setProperty('color', '#ffffff', 'important'); } return true; }