2 /* these events should be used by all */
4 window.onunload = windowUnload;
6 attachEvt("common", "init", loadUIObjects);
7 attachEvt("common", "init", initParams);
8 attachEvt("common", "init", initCookies);
10 attachEvt("common", "unload", _tree_killer);
11 try{ attachEvt("common", "unload", cleanRemoteRequests);} catch(e){}
16 runEvt('common','init');
17 if( getOrigLocation() == 0 ) ORIGLOC = LOCATION;
21 if( cgi.param(PARAM_LOCATION) == null ) {
22 LOCATION = G.user.ws_ou();
23 DEPTH = findOrgDepth(G.user.ws_ou());
27 runEvt("common", "run");
29 G.ui.common.now_searching.appendChild(text(findOrgUnit(getLocation()).name()));
32 function windowUnload() { runEvt("common", "unload"); }