I've write a script like this.
<script>
function A() {
this.onMouseDown = function(event) {
.....
}
}
var objA = new A();
htmlelement.onmousedown = a.onmousedown;
</script>
But in the function onMouseDown, I want to refer to the object A itself. But
when I try "this" keyword,
I only get the htmlelement, but not objA. How can I refer to objA in the
onMouseDown function?