use onmousedown not click
remove duplicate selectors