mi razonamiento es... si solo alteras un 5% del total de texto impreso... porque no hacerlo al revés??
Código PHP:
<script type="text/javascript">
var preload_ctrl_images=true;
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';
var slides=[]; //FIRST SLIDESHOW
<?php
while (...)
{
?>
slides[] = ["http://xmobiled789f3/autoenventa/ver_FOTO1.php?id=<?php echo $row->id; ?>", " "];
<?php
}
?>
slides.no_auto=1;
slides.use_title=0;
</script>
que te aproveche, suerte!