screen.height

screen.width

restituiscono i valori della risoluzione