Vorrei sapere dove se questa funzione che sto usando per determinare la risoluzione del video di chi sta visitando il mio sito è corretta.

<BODY bgcolor="#bcb5b6" TEXT="#000080" LINK="#FF0000" VLINK="#FF0000" MARGINWIDTH="0" MARGINHEIGHT="0" topmargin="0" leftmargin="0">
<center>

<map NAME="ICT">
<area SHAPE="RECT" COORDS="21,124,95,152" HREF="index.htm">

<area SHAPE="RECT" COORDS="10,196,108,223" HREF="azienda.htm">

<area SHAPE="RECT" COORDS="15,274,104,303" HREF="contatti.htm">

<area SHAPE="RECT" COORDS="151,372,294,403" HREF="mailto:info@prova.it" onMouseover = "inactive('td')" onMouseout = "active('t0')">

<area shape="RECT" coords="380,81,419,121" onclick = "inactive('ta')">
<area shape="RECT" coords="423,109,464,152" href="#">
<area shape="RECT" coords="436,157,482,209" href="#">
<area shape="RECT" coords="417,216,475,271" href="#">
<area shape="RECT" coords="379,276,438,334" href="#">
<area shape="RECT" coords="314,329,376,392" href="#">
</map>

<script language="JavaScript">

var a=screen.height;
var l=screen.width;
if (a==600 && l==800) {
<p align="center"> [img]img/copertina3.jpg[/img]
<div ID="t0" STYLE="position:absolute; left:37%; top:17%;">
<p align="center"> [img]img/astr.jpg[/img]
</div>
}

</script>