Questo sembre funzionare per IE e FF. Comunque IE è meno macchinoso (vedere mio post precedente).

codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
</head>
<body>


<div id="areah">

</div>
<div id="pippo"></div>

<script language="JavaScript" type="text/javascript">
<!--
function attiva(e) {
 var obj = e == null ? event.srcElement : e.target; 
 obj.alt = ide;
 imgId   = obj.id;
 imgSrc  = obj.src
 document.getElementById('pippo').innerHTML = imgId + " - " + imgSrc;
}


pathName = "i1.jpg";
ide = "ciao";

var imagenode=document.createElement('IMG');	
   imagenode.setAttribute("src", pathName);
	 imagenode.setAttribute("id", "myId");
	 imagenode.onmouseover = attiva;
   document.getElementById("areah").appendChild(imagenode);

//-->
</script>
</body>
</html>