<public:component>
<public:attach event="oncontentready" onevent="Init()" />
<public:attach event="onclick" onevent="Click()" />
function Init()
{
    window.top.dipstree = element;
    window.top.Head = top.frames.frmHead;
    window.top.Toolbar = top.frames.frmToolbar;
    window.top.Table = top.frames.frmTable;
    window.top.Body = top.frames.frmBody;    oConfig = new Config
element.type = "container";    m_iMasterIdx = GetXML( oConfig.sTopXmlSrc , element , "dipstree" );



    //window.document.body.attachEvent("onkeydown",KeyDown);
}在Init()里如何模拟onclick 事件???