Esta linea document.getElementById("td1").style.backgroundIma ge = "Template/Marino/lat_div_2.jpg"; debes cambiarla por document.getElementById("td1").style.backgroundIma ge = "url('Template/Marino/lat_div_2.jpg')";
Y debes de poner como atributo href del enlace el "#"
El código algo así
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" language="javascript">
function cambiaImagen()
{
document.getElementById("td1").style.backgroundImage = "url('Template/Marino/lat_div_2.jpg')";
}
<table border="0" cellpadding="0"> <td id="td1" width="90" height="102" background="Template/Marino/lat_div.jpg" > </td> <td height="53" align="center"><a href="#" onClick="cambiaImagen();">Cambia Imagen
</a></td>
Saludos