So, is it better to not to create custom properties??
You do not, should not, and must not create custom properties on a DOM node. 
mburt: You can. Consider:
Code:
<img src="someimage.png" name="first">
<script type="text/javascript">
document.images['first'].originalSource = document.images['first'].src;
</script>
This will work in most Javascript parsers (but not KJS, I believe). However, it shouldn't be done; it is equivalent to using custom attributes:
Code:
<img src="someimage.png" originalSource="someimage.png" name="first">
... and as such is bad.
Bookmarks