How can I make reference to an h ref link element. I have tried name="cal" but when this is passed to a javascript function setDate(document.form1.cal) and later called cal.click() I get an error: "cal is null or not an object"

Can anyone help me with this?

June Homer