Código PHP:
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" onMouseover="cambiar(1,'IMG1');" onMouseout="cambiar(0,'IMG1');">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, ' hspace="5" vspace="5" NAME="IMG1" onLoad="preloadcambiar(this,'/preloader22.gif');"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
Código HTML:
onMouseover="cambiar(1,'IMG1');" onMouseout="cambiar(0,'IMG1');"
Gracias