title: Detect Mouse click location
body: <p>What i am trying to achieve is make a DIV and display world map image on it or as a background.. &amp; when user clicks some somewhere on the map, i catch the mouse-click location,</p>
  
  <p>then i am some how going to translate the mouse's X,Y cords into longitude,latitude and then run an AJAX to display some data. </p>
  
  <p>My problem is:</p>
  
  <ul>
  <li>How to get mouse click location with JavaScript</li>
  <li>How to translate the global click location into a DIV's relative X,Y coords of a layer</li>
  </ul>