Definition: The onmousedown event is used to define actions to be taken when a mouse button is depressed (before it is released again). This is not a reserved word so you can declare your own variable or function called onmousedown but if you do then you will not be able to detect mouse button depression using this method.
Examples:
window.onmousedown=myFunction;

