HTML Code:
<script>
dog = document.URL;
alert(dog)
<img src="http://www.hamptonroadsforeclosure.com/cgi-bin/keff_head.pl?idx1=" + dog><br>
</script>

<img src="http://www.hamptonroadsforeclosure.com/cgi-bin/keff_head.pl?idx2=" + dog><br>
Is there a way to attach the output of the javascript which holds the url of the current page to the image url that is being sent out..

In other words I am using PERL on the other end to receive the image url and if anything was attached as ?idx1=anything then i could captrure the url on the other end...

The image URL is placed on the page and the perl is the reciever..

I tried the two lines above but neither worked...

Thanks.