I don't know if you need both the onclick and the href, but this is what we have used in the past.
<a target="new-window"
onClick="open('viewAssignment.asp?hid=<%=HC("h_id")%>',
'Dialog','width=300,height=300,resizable=yes,
scrollbars=yes');return false;"...