prova così:

codice:
var altezza=document.getElementById('aid').height;
ciao