Just make sure you customize the DTD to keep the code valid.
However since you use the explicit onclick call why not make it part of the function arguments:
<img onclick="myclick(this.id,'mydiv',52)" src="pic.gif" id="mypic">
Vladdy | KL "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"
Comment