<a href="" onclick="return csvDownload();"
           onmouseout="chgImg('/misc/csv.gif','csv');"
           onmouseover="chgImg('/misc/csv_on.gif','csv');">
<img src="/misc/csv.gif" width="106" height="19" alt="CSVダウンロード"     
     title="CSVダウンロード" border="0" name="csv"></a> 

上記のhtmlのコードがあり、マクロでそのボタンを押したいですが、
どうした方がいいでしょうか?