Can anyone tell me how to capture a link from a webpage's source.
the link is in the script's function in the head file and i want to link to tht link present in the function. i can copy the link cause the link in tht function keeps changing on every visit..

example of what i want.

a = my webpage
b = middleman webpage
c = destination webpage

a gets the link from b and shows c

and the script thts in the function of b is

function startDownload(){
//document.downloadForm.submit();
window.location = "http://*****?tsid=20070813-220658-d6349b90";
}


tht tsid changes on every visit