Hi everyone, I'm making a page with essentially 2 key features: one is a download button and the other is a list of links that dynamically load new swf files into the current page (in place of the old one). Is there a way of making my download link's referral url change when the user clicks one of my swf reloading links?

ie can a function create a variable that the download link uses as its target url?

all of this is using javascript so far btw

any help would be very very much appreciated - its the last thing i need to fix up my site.