he uses javascript to set the URL value depending on which option in the select has been chosen. submit then submits to a page which recieves the value of the URL box and downloads the file. easy