var divdagestire=document.getElementById(contenitore);
alert(parseInt(divdagestire.style.width));


anche facendo cosi mi restituisce NaN