prova con alert(screen.availWidth).

ciao