I have a script...in Java...the problem is the script wont do what I want it to do :'(. I am not Java-inclined so I request the help of the more forunate persons .

Code:
<!-- TWO STEPS TO INSTALL MOUSE TRACKER:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the last code into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Randy Bennett (rbennett@thezone.net) -->
<!-- Web Site:  http://home.thezone.net/~rbennett/utility/javahead.htm  -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var isNav = (navigator.appName.indexOf("Netscape") !=-1);
function handlerDC(e){
Xdc = (isNav) ? e.pageX : event.clientX;
Ydc = (isNav) ? e.pageY : event.clientY;
document.dataholder.dcX.value=Xdc;
document.dataholder.dcY.value=Ydc;
}
function handlerMU(e){
Xmu = (isNav) ? e.pageX : event.clientX;
Ymu = (isNav) ? e.pageY : event.clientY;
document.dataholder.muX.value=Xmu;
document.dataholder.muY.value=Ymu;
}
function handlerMD(e){
Xmd = (isNav) ? e.pageX : event.clientX;
Ymd = (isNav) ? e.pageY : event.clientY;
document.dataholder.mdX.value=Xmd;
document.dataholder.mdY.value=Ymd;
}
function handlerMM(e){
Xmm = (isNav) ? e.pageX : event.clientX;
Ymm = (isNav) ? e.pageY : event.clientY;
document.dataholder.mmX.value=Xmm;
document.dataholder.mmY.value=Ymm;
}
function handlerMO(e){
Xmo = (isNav) ? e.pageX : event.clientX;
Ymo = (isNav) ? e.pageY : event.clientY;
document.dataholder.moX.value=Xmo;
document.dataholder.moY.value=Ymo;
}
if (isNav) {
document.captureEvents(Event.MOUSEMOVE);
document.captureEvents(Event.MOUSEDOWN);
document.captureEvents(Event.MOUSEOVER);
document.captureEvents(Event.MOUSEUP);
document.captureEvents(Event.DBLCLICK);
}
document.onmouseover = handlerMO;
document.onmousedown = handlerMD;
document.onmouseup   = handlerMU;
document.onmousemove = handlerMM;
document.ondblclick  = handlerDC;
// End -->
</script>

<!-- STEP TWO: Copy this code into the BODY of your HTML document  -->

<center>
<form name="dataholder">
<table border=1>
<tr>
<td></td>
<td><i>X value</i></td>
<td><i>Y value</i></td>
</tr>
<tr><td><center>Move</center></td>
<td><input type="text" size=5 name="mmX" value="0"></td>
<td><input type="text" size=5 name="mmY" value="0"></td>
</tr>
<tr><td><center>Up</center></td>
<td><input type="text" size=5 name="muX" value="0"></td>
<td><input type="text" size=5 name="muY" value="0"></td>
</tr>
<tr>
<td><center>Down</center></td>
<td><input type="text" size=5 name="mdX" value="0"></td>
<td><input type="text" size=5 name="mdY" value="0"></td>
</tr>
<tr>
<td><center>DblClick</center></td>
<td><input type="text" size=5 name="dcX" value="0"></td>
<td><input type="text" size=5 name="dcY" value="0"></td>
</tr>
<tr>
<td><center>Over</center></td>
<td><input type="text" size=5 name="moX" value="0"></td>
<td><input type="text" size=5 name="moY" value="0"></td>
</tr>
</table>
</form>
<br>
Now try running that and see what you get. Its just a script that gives you the coorindates. I have tampered with it all I could but it's just not happening. If someone could PLEASE edit the code so that it does the below:

It does not HAVE to place the coordinates in a form but instead into a link like so:
<a href="map.asp?x=651&y=445">GO TO MAP</a>

I know its possible just can't figure the damned thing out :'(

Your help is MUCH appreciated!

Thank you.