niente non riesco a scovare l'errore
mi daresti una mano
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script> 
function stampa_chiudi() { 
document.getElementById('pezzi').innerHTML=window.opener.document.getElementById('pz').value 
document.getElementById('materiale').innerHTML=window.opener.document.getElementById('materiale').value 
document.getElementById('spessore').innerHTML=window.opener.document.getElementById('spessore').value 
document.getElementById('testo').innerHTML=window.opener.document.getElementById('testo').value 
document.getElementById('x').innerHTML=window.opener.document.getElementById('x').value 
document.getElementById('y').innerHTML=window.opener.document.getElementById('y').value 

window.print() 
close() 
} 
function scrividata(dove) {
  var data = new Date();
  var mesi = new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno","Luglio", "Agosto", "Settembre"; "Ottobre", "Novembre", "Dicembre");
  var gg = data.getDate();
  var mm = mesi[data.getMonth()];
  var aaaa = data.getFullYear();
  var str = gg + " " + mm + " " + aaaa;
  document.getElementById(dove).innerHTML = str;
}
</script> 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>STAMPA RICEVUTA</title>
<style type="text/css">
<!--
.Stile1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.Stile3 {font-family: Arial, Helvetica, sans-serif; font-size: 12%; }
-->
</style>
</head>
<body onload=" stampa_chiudi();scrividata('campodata');"> 
<table width="75%"  border="0" cellpadding="5" class="Stile1">
  <tr>
    <td colspan="3">[img]../../layout/logo.jpg[/img]</td>
    <td colspan="2">ORDINE N° 1500 DEL <span id="campodata"></span></td>
  </tr>
  <tr>
    <td width="16%"><div align="right">N&deg;</div></td>
    <td width="14%"><div id="pezzi"></div></td>
    <td colspan="3"><div align="left"></div></td>
  </tr>
  <tr>
    <td><div align="right">MATERIALE:</div></td>
    <td colspan="2"><div id="materiale"></div></td>
    <td width="41%"><div align="right">SPESSORE</div></td>
    <td width="5%"><div id="spessore"></div></td>
  </tr>
  <tr>
    <td colspan="5">TESTO:    </td>
  </tr>
  <tr>
    <td colspan="5"><div id="testo"></div></td>
  </tr>
  <tr>
    <td>MISURE</td>
    <td colspan="4"><div class="Stile1" id="x"></div>X
      <div class="Stile1" id="y"></div></td>
  </tr>
</table>
</body>
</html>
:master: