Try window.location, as in:

<script language="JavaScript">
url = window.location;
alert(url);
</script>

You can parse it out from there.
_________________________
Ninti - MK IIa 60GB Smoke, 30GB, 10GB