Help me on onclick function

Hi ,
I have zimlet XML also my javascript file are as follows , and i want when click (may be single click or double click) on zimlet panel item it should directly go to that url page.
But i couldn't get it .
<zimlet name="com_zimbra_jspsample" version="1.0" description="JSPSample">
<include>sample.js</include>
<contentObject>
<onClick>
<canvas type="window"/>
<actionUrl target="http://61.95.200.42/../chatapp"/>
</onClick>
</contentObject>