Hola jam1138, de nuevo gracias por tu ayuda, a ver, mira hice lo que dices de sacar el código que genera el php y lo veo igual en texto que como está hecho en javascript, lo copio y llevo a formato html quitando algunas cosas que no valen y veo las direcciones físicas de las imagenes a las que hago referencia y aparentemente está todo bien, pero ejecuto la página html y no funciona, así que no sé donde puede estar el fallo, pongo el código que genera el php tal y como sale
  Código PHP:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>::.. INFORMACIÓN INMUEBLE ..::</title>
 
 
            <!-- ZoneLabs Privacy Insertion -->
            <script language='javascript' src='http://127.0.0.1:1035/js.cgi?pcaw&r=18467'></script>
 
<script>
var foto=0;
var maxFoto=4; //nº máximo de fotos
 
function mostrar(num) {
  foto+=num;
  if(foto>maxFoto) foto=1;
  if(foto<1) foto=maxFoto;
  cambiar('imagen'+foto+'.jpg');
}
function cambiar(im) {
  imagen.src=im;
}
</script>
<style type="text/css">
<!--
.botones {    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #FFFFFF;
    background-color: #4388EF;
    font-weight: bold;
    border: 1 #003366;
 
}
body,td,th {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
}
body {
    background-image: url(Images/fondo2.gif);
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.Estilo1 {color: #FFFFFF}
 
-->
</style>
</head>
 
<body background-image: url(/Images/fondo2.gif)>
 
 
 
<form name="formular" action="./modulos/33201meinteresa2005.php" method="post">
  <table width="630" cellspacing="0" cellpadding="0">
  <tr>
    <td width="326" valign="top"><table  cellspacing="0" cellpadding="0">
      <tr>
        <td width="61"><img src="/Images/logotipo3/logotipo_01.gif" width="178" height="27"></td>
        <td width="83"><div align="left"><img src="/Images/logotipo3/logotipo_02.gif" width="199" height="27"></div></td>
      </tr>
      <tr>
        <td><img src="/Images/logotipo3/logotipo_03.gif" width="178" height="31"></td>
        <td><img src="/Images/logotipo3/logotipo_04.gif" width="199" height="31"></td>
      </tr>
    </table></td>
    <td width="304"><div align="center" class="Estilo1">I<span class="Estilo2">nmobiliaria Los Campinos<BR>
        Plaza de Begoña, 1 - Bajo (Los Patos) <BR>
        Teléfono y Fax. 985357716<BR>
    33201 Gijón - Principado de Asturias</span></div></td>
  </tr>
</table>
  <table width=630 bgcolor=#A6D9FF align=center border=0 id=tabla><tr><td>  </td></tr>        
           <input type="hidden" name="referencia" value="03/2005"> 
                                 <input type="hidden" name="fecha" value=" 00-00-0000"> 
       </td><tr><td><table width=640 border=0 bordercolor=#00ff00><td valign=top width=400>Ref.03/2005<br><br>Ref.: 140
GIJON.  SANATORIO CARMEN. 80 M2. TOTALMENTE REFORMADO LUJO. ALTURA. EXTERIOR. SOLEADO. ASCENSOR. VENTANAS PVC PORTERIA NUEVA. GRES Y AZULEJOS PRIMERAS CALIDADES. IMPRESIONANTE COCINA AMUEBLADA 13 M2. 3 HABITACIONES. SALA.
Precio: 189.000,00</td>    
     <td align="right"><img src="temporal/thumbs/tn_121-2109_IMG.JPG" name="imagen"/> </td>
</tr></table></td></tr><tr><input type="hidden" name="descripcion" value="Ref.: 140
GIJON.  SANATORIO CARMEN. 80 M2. TOTALMENTE REFORMADO LUJO. ALTURA. EXTERIOR. SOLEADO. ASCENSOR. VENTANAS PVC PORTERIA NUEVA. GRES Y AZULEJOS PRIMERAS CALIDADES. IMPRESIONANTE COCINA AMUEBLADA 13 M2. 3 HABITACIONES. SALA.
Precio: 189.000,00">  
       <td><table>    
   <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2109_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2109_IMG.JPG&tam=55x55" border="0" /></a></td>
   <td> <a href="#" onClick="cambiar('temporal/thumbs/tn_121-2109_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2109_IMG.JPG&tam=55x55" border="0"/></a></td> 
    <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2107_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2107_IMG.JPG&tam=55x55" border="0"/></a></td>
    <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2111_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2111_IMG.JPG&tam=55x55" border="0"/></a></td></table> 
   <div align="right"><input name="B1" type="button" class="botones" style="border: 1px solid #000080" onclick="this.form.submit()" value="Me Interesa" />
   </tr>
 
       <tr><td>
     
    
     
     
<input type="button" value="-" onClick="mostrar(-1)" />
      <input type="button" value="+" onClick="mostrar(1)" />
    
  </div></tr>
</form>
 
 
<!-- ZoneLabs Popup Blocking Insertion -->
<script language='javascript'>postamble();</script>
</body>
</html> 
   
  Tendré que seguir mirando a ver donde está el error, gracias