codice:
alert(screen.width +'x' + screen.height);
non credo ci sia bisongo di spiegazioni