//初始化
<PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="InitElement()" />
// 响应onclick事件
<PUBLIC:ATTACH EVENT="onclick" ONEVENT="keyDownElement()" />
………………
………………
//
function InitElement()
{
var IFRAMEsrc = "<IFRAME border=0 id='multisortTreediv' src='"+ datapage +"'></IFRAME>";
element.document.body.insertAdjacentHTML("AfterBegin",IFRAMEsrc);
}
function keyDownElement()
{
//显示隐藏层
}