se questo si trova in un documento in un frame
codice:
<script> 
function screenRes() { 
sW=screen.width; 
sH=screen.height; 
gL=window.screenLeft+2; 
gT=window.screenTop+2; 
window.moveTo(gL,gT); 
window.resizeTo(sW+gL,sH+gT); 
} 
</script>
per fare rimerimento all' oggetto window che contiene il frameset devi sostituire top (oppure parent) a window
ciao