//This code is optimized by the w3compiler from Port80 Software:  BUY w3compiler to remove this comment from your optimized files at www.w3compiler.com!
function setProgressBarValue(value){var _value=parseInt(value);if(_value==NaN)_value=0;if(_value>100)_value=100;_progressVulnerabile=document.getElementById("vulnerabile");_progressMedia=document.getElementById("media");_progressSicura=document.getElementById("sicura");if(_value>0&&_value<34){_progressVulnerabile.style.backgroundColor="Red";_progressMedia.style.backgroundColor="White";_progressSicura.style.backgroundColor="White"}else if(_value>=34&&_value<67){_progressVulnerabile.style.backgroundColor="Green";_progressMedia.style.backgroundColor="Green";_progressSicura.style.backgroundColor="White"}else if(_value>=67){_progressVulnerabile.style.backgroundColor="Yellow";_progressMedia.style.backgroundColor="Yellow";_progressSicura.style.backgroundColor="Yellow"}}