Better to do it this way, though using Javascript for this purpose is far from optimal:
Code:
<form name="download" action="" method="post" onsubmit="
var e = this.elements['file'];
for(var i=0;i<e.length;i++) if(e[i].checked) window.location.href = e[i].value;
">
<label><input type="radio" name="file" value="image1.zip">Image 1</label>
<label><input type="radio" name="file" value="image2.zip">Image 2</label>
<label><input type="radio" name="file" value="image3.zip">Image 3</label>
<input type="submit" value="Download">
</form>
/EDIT: Ah, Mike beat me to it.
Bookmarks