<html> <head> <title>X/Y Marks the Spot</title> <script type="text/javascript"> function mouseDown() { var locString = "X = " + window.event.screenX + " Y = " + window.event.screenY; document.write(locString); } document.onmousedown=mouseDown; </script> </head> <body> </body> </html>