oRef = document.getElementById("ElementID") is the the "approved" syntax for getting an object reference? Is it worthwhile to write/use wrapper functions like this: function getObjRef( tcObjectID ) { return document.getElementById( tcObjectID ) } oRef = getObjRef("ElementID") alert(oRef.value) Why??