Hola
Callaghan
Prueba esto:
Código PHP:
<html>
<head>
<style type="text/css">
img {border:2px solid white} /* color=color de fondo */
</style>
<script type="text/javascript">
var marcado = null;
function marcar(obj) {
if (marcado!=null)
marcado.style.borderColor = 'white';
obj.style.borderColor = 'red';
marcado=obj;
}
</script>
</head>
<body>
<form>
<img src="imagen1.gif" onclick="marcar(this)" />
<img src="imagen2.gif" onclick="marcar(this)" />
<img src="imagen3.gif" onclick="marcar(this)" />
</form>
</body>
</html>
Saludos,