Function onmousedown

    Fires when the user clicks the object with either mouse button.