Il document.writeln non funziona, ho tagliato un pò lo script per capire dove era l'errore. Guarda, non sono le doppie virgole eppure due righe più su lo stesso document.writeln funziona:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">

<HTML><HEAD><TITLE>T3LAB</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
</HEAD>
<SCRIPT>
<!--
if (parseInt(navigator.appVersion) > 3)
{
if ( screen.width < 1100 )
{document.writeln('<FRAMESET rows="12%,*" FRAMEBORDER=yes BORDER=0>');}
else
{document.writeln('<FRAMESET rows="12%,*" FRAMEBORDER=yes BORDER=0>');}
}
else
{document.writeln('<FRAMESET rows="12%,*" FRAMEBORDER=yes BORDER=0>');}



//-->
</SCRIPT>

<FRAME name=Alto src="frame_alto.htm" scrolling="no" FRAMEBORDER="NO" FRAMESPACING="0">

<FRAMESET cols="21%, *" FRAMEBORDER="NO" FRAMESPACING="0">
<FRAME name=Sinistra src="frame_sinistra.htm" scrolling="no" cols="21%, *" align="left">

<SCRIPT>
<!--
pagina = frame_destra_1.htm;
if (location.search) {
// Si legge la query string escludendo il carattere iniziale
// Es: "?pagina=valore"
var qString = location.search.substr(1);

// La parte a destra dell'uguale contiene il valore
pagina = qString.split("=")[1];
}


document.writeln('<FRAME name=Destra src="frame_destra_1.htm">')


//-->
</SCRIPT>




</FRAMESET>

<NOFRAMES>

<body>

</body>
</NOFRAMES>
</FRAMESET>
</HTML>