1706f2543Smrgvar NAVTREE =
2706f2543Smrg[
3706f2543Smrg  [ "Distributed Multihead X", "index.html", [
4706f2543Smrg    [ "Main Page", "index.html", null ],
5706f2543Smrg    [ "Data Structures", "annotated.html", [
6706f2543Smrg      [ "_dmxArg", "struct__dmxArg.html", null ],
7706f2543Smrg      [ "_dmxColormapPriv", "struct__dmxColormapPriv.html", null ],
8706f2543Smrg      [ "_DMXConfigComment", "struct__DMXConfigComment.html", null ],
9706f2543Smrg      [ "_DMXConfigDisplay", "struct__DMXConfigDisplay.html", null ],
10706f2543Smrg      [ "_DMXConfigEntry", "struct__DMXConfigEntry.html", null ],
11706f2543Smrg      [ "_DMXConfigFullDim", "struct__DMXConfigFullDim.html", null ],
12706f2543Smrg      [ "_DMXConfigNumber", "struct__DMXConfigNumber.html", null ],
13706f2543Smrg      [ "_DMXConfigOption", "struct__DMXConfigOption.html", null ],
14706f2543Smrg      [ "_DMXConfigPair", "struct__DMXConfigPair.html", null ],
15706f2543Smrg      [ "_DMXConfigParam", "struct__DMXConfigParam.html", null ],
16706f2543Smrg      [ "_DMXConfigPartDim", "struct__DMXConfigPartDim.html", null ],
17706f2543Smrg      [ "_DMXConfigString", "struct__DMXConfigString.html", null ],
18706f2543Smrg      [ "_DMXConfigSub", "struct__DMXConfigSub.html", null ],
19706f2543Smrg      [ "_DMXConfigToken", "struct__DMXConfigToken.html", null ],
20706f2543Smrg      [ "_DMXConfigVirtual", "struct__DMXConfigVirtual.html", null ],
21706f2543Smrg      [ "_DMXConfigWall", "struct__DMXConfigWall.html", null ],
22706f2543Smrg      [ "_dmxCursorPriv", "struct__dmxCursorPriv.html", null ],
23706f2543Smrg      [ "_DMXEventMap", "struct__DMXEventMap.html", null ],
24706f2543Smrg      [ "_dmxFontPriv", "struct__dmxFontPriv.html", null ],
25706f2543Smrg      [ "_dmxGCPriv", "struct__dmxGCPriv.html", null ],
26706f2543Smrg      [ "_dmxGlyphPriv", "struct__dmxGlyphPriv.html", null ],
27706f2543Smrg      [ "_DMXInputInfo", "struct__DMXInputInfo.html", null ],
28706f2543Smrg      [ "_DMXLocalInitInfo", "struct__DMXLocalInitInfo.html", null ],
29706f2543Smrg      [ "_DMXLocalInputInfo", "struct__DMXLocalInputInfo.html", null ],
30706f2543Smrg      [ "_dmxPictPriv", "struct__dmxPictPriv.html", null ],
31706f2543Smrg      [ "_dmxPixPriv", "struct__dmxPixPriv.html", null ],
32706f2543Smrg      [ "_DMXScreenInfo", "struct__DMXScreenInfo.html", null ],
33706f2543Smrg      [ "_DMXStatAvg", "struct__DMXStatAvg.html", null ],
34706f2543Smrg      [ "_DMXStatInfo", "struct__DMXStatInfo.html", null ],
35706f2543Smrg      [ "_dmxWinPriv", "struct__dmxWinPriv.html", null ],
36706f2543Smrg      [ "_myPrivate", "struct__myPrivate.html", null ],
37706f2543Smrg      [ "DMXConfigCmdStruct", "structDMXConfigCmdStruct.html", null ],
38706f2543Smrg      [ "DMXConfigListStruct", "structDMXConfigListStruct.html", null ],
39706f2543Smrg      [ "DMXDesktopAttributesRec", "structDMXDesktopAttributesRec.html", null ],
40706f2543Smrg      [ "dmxGlxVisualPrivate", "structdmxGlxVisualPrivate.html", null ],
41706f2543Smrg      [ "DMXInputAttributesRec", "structDMXInputAttributesRec.html", null ],
42706f2543Smrg      [ "DMXScreenAttributesRec", "structDMXScreenAttributesRec.html", null ],
43706f2543Smrg      [ "DMXWindowAttributesRec", "structDMXWindowAttributesRec.html", null ],
44706f2543Smrg      [ "stack", "structstack.html", null ]
45706f2543Smrg    ] ],
46706f2543Smrg    [ "Data Structure Index", "classes.html", null ],
47706f2543Smrg    [ "Data Fields", "functions.html", null ],
48706f2543Smrg    [ "File List", "files.html", [
49706f2543Smrg      [ "ChkNotMaskEv.c", "ChkNotMaskEv_8c.html", null ],
50706f2543Smrg      [ "ChkNotMaskEv.h", "ChkNotMaskEv_8h.html", null ],
51706f2543Smrg      [ "dmx-config.h", "dmx-config_8h.html", null ],
52706f2543Smrg      [ "dmx.c", "dmx_8c.html", null ],
53706f2543Smrg      [ "dmx.h", "dmx_8h.html", null ],
54706f2543Smrg      [ "dmx_glxvisuals.c", "dmx__glxvisuals_8c.html", null ],
55706f2543Smrg      [ "dmx_glxvisuals.h", "dmx__glxvisuals_8h.html", null ],
56706f2543Smrg      [ "dmxarg.c", "dmxarg_8c.html", null ],
57706f2543Smrg      [ "dmxarg.h", "dmxarg_8h.html", null ],
58706f2543Smrg      [ "dmxbackend.c", "dmxbackend_8c.html", null ],
59706f2543Smrg      [ "dmxbackend.h", "dmxbackend_8h.html", null ],
60706f2543Smrg      [ "dmxcb.c", "dmxcb_8c.html", null ],
61706f2543Smrg      [ "dmxcb.h", "dmxcb_8h.html", null ],
62706f2543Smrg      [ "dmxclient.h", "dmxclient_8h.html", null ],
63706f2543Smrg      [ "dmxcmap.c", "dmxcmap_8c.html", null ],
64706f2543Smrg      [ "dmxcmap.h", "dmxcmap_8h.html", null ],
65706f2543Smrg      [ "dmxcommon.c", "dmxcommon_8c.html", null ],
66706f2543Smrg      [ "dmxcommon.h", "dmxcommon_8h.html", null ],
67706f2543Smrg      [ "dmxcompat.c", "dmxcompat_8c.html", null ],
68706f2543Smrg      [ "dmxcompat.h", "dmxcompat_8h.html", null ],
69706f2543Smrg      [ "dmxconfig.c", "dmxconfig_8c.html", null ],
70706f2543Smrg      [ "dmxconfig.h", "dmxconfig_8h.html", null ],
71706f2543Smrg      [ "dmxconsole.c", "dmxconsole_8c.html", null ],
72706f2543Smrg      [ "dmxconsole.h", "dmxconsole_8h.html", null ],
73706f2543Smrg      [ "dmxcursor.c", "dmxcursor_8c.html", null ],
74706f2543Smrg      [ "dmxcursor.h", "dmxcursor_8h.html", null ],
75706f2543Smrg      [ "dmxdetach.c", "dmxdetach_8c.html", null ],
76706f2543Smrg      [ "dmxdpms.c", "dmxdpms_8c.html", null ],
77706f2543Smrg      [ "dmxdpms.h", "dmxdpms_8h.html", null ],
78706f2543Smrg      [ "dmxdummy.c", "dmxdummy_8c.html", null ],
79706f2543Smrg      [ "dmxdummy.h", "dmxdummy_8h.html", null ],
80706f2543Smrg      [ "dmxevents.c", "dmxevents_8c.html", null ],
81706f2543Smrg      [ "dmxevents.h", "dmxevents_8h.html", null ],
82706f2543Smrg      [ "dmxextension.c", "dmxextension_8c.html", null ],
83706f2543Smrg      [ "dmxextension.h", "dmxextension_8h.html", null ],
84706f2543Smrg      [ "dmxfont.c", "dmxfont_8c.html", null ],
85706f2543Smrg      [ "dmxfont.h", "dmxfont_8h.html", null ],
86706f2543Smrg      [ "dmxgc.c", "dmxgc_8c.html", null ],
87706f2543Smrg      [ "dmxgc.h", "dmxgc_8h.html", null ],
88706f2543Smrg      [ "dmxgcops.c", "dmxgcops_8c.html", null ],
89706f2543Smrg      [ "dmxgcops.h", "dmxgcops_8h.html", null ],
90706f2543Smrg      [ "dmxinit.c", "dmxinit_8c.html", null ],
91706f2543Smrg      [ "dmxinit.h", "dmxinit_8h.html", null ],
92706f2543Smrg      [ "dmxinput.c", "dmxinput_8c.html", null ],
93706f2543Smrg      [ "dmxinput.h", "dmxinput_8h.html", null ],
94706f2543Smrg      [ "dmxinputinit.c", "dmxinputinit_8c.html", null ],
95706f2543Smrg      [ "dmxinputinit.h", "dmxinputinit_8h.html", null ],
96706f2543Smrg      [ "dmxlog.c", "dmxlog_8c.html", null ],
97706f2543Smrg      [ "dmxlog.h", "dmxlog_8h.html", null ],
98706f2543Smrg      [ "dmxmap.c", "dmxmap_8c.html", null ],
99706f2543Smrg      [ "dmxmap.h", "dmxmap_8h.html", null ],
100706f2543Smrg      [ "dmxmotion.c", "dmxmotion_8c.html", null ],
101706f2543Smrg      [ "dmxmotion.h", "dmxmotion_8h.html", null ],
102706f2543Smrg      [ "dmxparse.c", "dmxparse_8c.html", null ],
103706f2543Smrg      [ "dmxparse.h", "dmxparse_8h.html", null ],
104706f2543Smrg      [ "dmxpict.c", "dmxpict_8c.html", null ],
105706f2543Smrg      [ "dmxpict.h", "dmxpict_8h.html", null ],
106706f2543Smrg      [ "dmxpixmap.c", "dmxpixmap_8c.html", null ],
107706f2543Smrg      [ "dmxpixmap.h", "dmxpixmap_8h.html", null ],
108706f2543Smrg      [ "dmxprint.c", "dmxprint_8c.html", null ],
109706f2543Smrg      [ "dmxprint.h", "dmxprint_8h.html", null ],
110706f2543Smrg      [ "dmxprop.c", "dmxprop_8c.html", null ],
111706f2543Smrg      [ "dmxprop.h", "dmxprop_8h.html", null ],
112706f2543Smrg      [ "dmxscrinit.c", "dmxscrinit_8c.html", null ],
113706f2543Smrg      [ "dmxscrinit.h", "dmxscrinit_8h.html", null ],
114706f2543Smrg      [ "dmxshadow.c", "dmxshadow_8c.html", null ],
115706f2543Smrg      [ "dmxshadow.h", "dmxshadow_8h.html", null ],
116706f2543Smrg      [ "dmxsigio.c", "dmxsigio_8c.html", null ],
117706f2543Smrg      [ "dmxsigio.h", "dmxsigio_8h.html", null ],
118706f2543Smrg      [ "dmxstat.c", "dmxstat_8c.html", null ],
119706f2543Smrg      [ "dmxstat.h", "dmxstat_8h.html", null ],
120706f2543Smrg      [ "dmxsync.c", "dmxsync_8c.html", null ],
121706f2543Smrg      [ "dmxsync.h", "dmxsync_8h.html", null ],
122706f2543Smrg      [ "dmxtodmx.c", "dmxtodmx_8c.html", null ],
123706f2543Smrg      [ "dmxvisual.c", "dmxvisual_8c.html", null ],
124706f2543Smrg      [ "dmxvisual.h", "dmxvisual_8h.html", null ],
125706f2543Smrg      [ "dmxwindow.c", "dmxwindow_8c.html", null ],
126706f2543Smrg      [ "dmxwindow.h", "dmxwindow_8h.html", null ],
127706f2543Smrg      [ "dmxxinput.c", "dmxxinput_8c.html", null ],
128706f2543Smrg      [ "lnx-keyboard.c", "lnx-keyboard_8c.html", null ],
129706f2543Smrg      [ "lnx-keyboard.h", "lnx-keyboard_8h.html", null ],
130706f2543Smrg      [ "lnx-ms.c", "lnx-ms_8c.html", null ],
131706f2543Smrg      [ "lnx-ms.h", "lnx-ms_8h.html", null ],
132706f2543Smrg      [ "lnx-ps2.c", "lnx-ps2_8c.html", null ],
133706f2543Smrg      [ "lnx-ps2.h", "lnx-ps2_8h.html", null ],
134706f2543Smrg      [ "usb-common.c", "usb-common_8c.html", null ],
135706f2543Smrg      [ "usb-common.h", "usb-common_8h.html", null ],
136706f2543Smrg      [ "usb-keyboard.c", "usb-keyboard_8c.html", null ],
137706f2543Smrg      [ "usb-keyboard.h", "usb-keyboard_8h.html", null ],
138706f2543Smrg      [ "usb-mouse.c", "usb-mouse_8c.html", null ],
139706f2543Smrg      [ "usb-mouse.h", "usb-mouse_8h.html", null ],
140706f2543Smrg      [ "usb-other.c", "usb-other_8c.html", null ],
141706f2543Smrg      [ "usb-other.h", "usb-other_8h.html", null ],
142706f2543Smrg      [ "usb-private.h", "usb-private_8h.html", null ],
143706f2543Smrg      [ "vdltodmx.c", "vdltodmx_8c.html", null ],
144706f2543Smrg      [ "xdmxconfig.c", "xdmxconfig_8c.html", null ]
145706f2543Smrg    ] ],
146706f2543Smrg    [ "Globals", "globals.html", null ]
147706f2543Smrg  ] ]
148706f2543Smrg];
149706f2543Smrg
150706f2543Smrgfunction createIndent(o,domNode,node,level)
151706f2543Smrg{
152706f2543Smrg  if (node.parentNode && node.parentNode.parentNode)
153706f2543Smrg  {
154706f2543Smrg    createIndent(o,domNode,node.parentNode,level+1);
155706f2543Smrg  }
156706f2543Smrg  var imgNode = document.createElement("img");
157706f2543Smrg  if (level==0 && node.childrenData)
158706f2543Smrg  {
159706f2543Smrg    node.plus_img = imgNode;
160706f2543Smrg    node.expandToggle = document.createElement("a");
161706f2543Smrg    node.expandToggle.href = "javascript:void(0)";
162706f2543Smrg    node.expandToggle.onclick = function()
163706f2543Smrg    {
164706f2543Smrg      if (node.expanded)
165706f2543Smrg      {
166706f2543Smrg        $(node.getChildrenUL()).slideUp("fast");
167706f2543Smrg        if (node.isLast)
168706f2543Smrg        {
169706f2543Smrg          node.plus_img.src = node.relpath+"ftv2plastnode.png";
170706f2543Smrg        }
171706f2543Smrg        else
172706f2543Smrg        {
173706f2543Smrg          node.plus_img.src = node.relpath+"ftv2pnode.png";
174706f2543Smrg        }
175706f2543Smrg        node.expanded = false;
176706f2543Smrg      }
177706f2543Smrg      else
178706f2543Smrg      {
179706f2543Smrg        expandNode(o, node, false);
180706f2543Smrg      }
181706f2543Smrg    }
182706f2543Smrg    node.expandToggle.appendChild(imgNode);
183706f2543Smrg    domNode.appendChild(node.expandToggle);
184706f2543Smrg  }
185706f2543Smrg  else
186706f2543Smrg  {
187706f2543Smrg    domNode.appendChild(imgNode);
188706f2543Smrg  }
189706f2543Smrg  if (level==0)
190706f2543Smrg  {
191706f2543Smrg    if (node.isLast)
192706f2543Smrg    {
193706f2543Smrg      if (node.childrenData)
194706f2543Smrg      {
195706f2543Smrg        imgNode.src = node.relpath+"ftv2plastnode.png";
196706f2543Smrg      }
197706f2543Smrg      else
198706f2543Smrg      {
199706f2543Smrg        imgNode.src = node.relpath+"ftv2lastnode.png";
200706f2543Smrg        domNode.appendChild(imgNode);
201706f2543Smrg      }
202706f2543Smrg    }
203706f2543Smrg    else
204706f2543Smrg    {
205706f2543Smrg      if (node.childrenData)
206706f2543Smrg      {
207706f2543Smrg        imgNode.src = node.relpath+"ftv2pnode.png";
208706f2543Smrg      }
209706f2543Smrg      else
210706f2543Smrg      {
211706f2543Smrg        imgNode.src = node.relpath+"ftv2node.png";
212706f2543Smrg        domNode.appendChild(imgNode);
213706f2543Smrg      }
214706f2543Smrg    }
215706f2543Smrg  }
216706f2543Smrg  else
217706f2543Smrg  {
218706f2543Smrg    if (node.isLast)
219706f2543Smrg    {
220706f2543Smrg      imgNode.src = node.relpath+"ftv2blank.png";
221706f2543Smrg    }
222706f2543Smrg    else
223706f2543Smrg    {
224706f2543Smrg      imgNode.src = node.relpath+"ftv2vertline.png";
225706f2543Smrg    }
226706f2543Smrg  }
227706f2543Smrg  imgNode.border = "0";
228706f2543Smrg}
229706f2543Smrg
230706f2543Smrgfunction newNode(o, po, text, link, childrenData, lastNode)
231706f2543Smrg{
232706f2543Smrg  var node = new Object();
233706f2543Smrg  node.children = Array();
234706f2543Smrg  node.childrenData = childrenData;
235706f2543Smrg  node.depth = po.depth + 1;
236706f2543Smrg  node.relpath = po.relpath;
237706f2543Smrg  node.isLast = lastNode;
238706f2543Smrg
239706f2543Smrg  node.li = document.createElement("li");
240706f2543Smrg  po.getChildrenUL().appendChild(node.li);
241706f2543Smrg  node.parentNode = po;
242706f2543Smrg
243706f2543Smrg  node.itemDiv = document.createElement("div");
244706f2543Smrg  node.itemDiv.className = "item";
245706f2543Smrg
246706f2543Smrg  node.labelSpan = document.createElement("span");
247706f2543Smrg  node.labelSpan.className = "label";
248706f2543Smrg
249706f2543Smrg  createIndent(o,node.itemDiv,node,0);
250706f2543Smrg  node.itemDiv.appendChild(node.labelSpan);
251706f2543Smrg  node.li.appendChild(node.itemDiv);
252706f2543Smrg
253706f2543Smrg  var a = document.createElement("a");
254706f2543Smrg  node.labelSpan.appendChild(a);
255706f2543Smrg  node.label = document.createTextNode(text);
256706f2543Smrg  a.appendChild(node.label);
257706f2543Smrg  if (link)
258706f2543Smrg  {
259706f2543Smrg    a.href = node.relpath+link;
260706f2543Smrg  }
261706f2543Smrg  else
262706f2543Smrg  {
263706f2543Smrg    if (childrenData != null)
264706f2543Smrg    {
265706f2543Smrg      a.className = "nolink";
266706f2543Smrg      a.href = "javascript:void(0)";
267706f2543Smrg      a.onclick = node.expandToggle.onclick;
268706f2543Smrg      node.expanded = false;
269706f2543Smrg    }
270706f2543Smrg  }
271706f2543Smrg
272706f2543Smrg  node.childrenUL = null;
273706f2543Smrg  node.getChildrenUL = function()
274706f2543Smrg  {
275706f2543Smrg    if (!node.childrenUL)
276706f2543Smrg    {
277706f2543Smrg      node.childrenUL = document.createElement("ul");
278706f2543Smrg      node.childrenUL.className = "children_ul";
279706f2543Smrg      node.childrenUL.style.display = "none";
280706f2543Smrg      node.li.appendChild(node.childrenUL);
281706f2543Smrg    }
282706f2543Smrg    return node.childrenUL;
283706f2543Smrg  };
284706f2543Smrg
285706f2543Smrg  return node;
286706f2543Smrg}
287706f2543Smrg
288706f2543Smrgfunction showRoot()
289706f2543Smrg{
290706f2543Smrg  var headerHeight = $("#top").height();
291706f2543Smrg  var footerHeight = $("#nav-path").height();
292706f2543Smrg  var windowHeight = $(window).height() - headerHeight - footerHeight;
293706f2543Smrg  navtree.scrollTo('#selected',0,{offset:-windowHeight/2});
294706f2543Smrg}
295706f2543Smrg
296706f2543Smrgfunction expandNode(o, node, imm)
297706f2543Smrg{
298706f2543Smrg  if (node.childrenData && !node.expanded)
299706f2543Smrg  {
300706f2543Smrg    if (!node.childrenVisited)
301706f2543Smrg    {
302706f2543Smrg      getNode(o, node);
303706f2543Smrg    }
304706f2543Smrg    if (imm)
305706f2543Smrg    {
306706f2543Smrg      $(node.getChildrenUL()).show();
307706f2543Smrg    }
308706f2543Smrg    else
309706f2543Smrg    {
310706f2543Smrg      $(node.getChildrenUL()).slideDown("fast",showRoot);
311706f2543Smrg    }
312706f2543Smrg    if (node.isLast)
313706f2543Smrg    {
314706f2543Smrg      node.plus_img.src = node.relpath+"ftv2mlastnode.png";
315706f2543Smrg    }
316706f2543Smrg    else
317706f2543Smrg    {
318706f2543Smrg      node.plus_img.src = node.relpath+"ftv2mnode.png";
319706f2543Smrg    }
320706f2543Smrg    node.expanded = true;
321706f2543Smrg  }
322706f2543Smrg}
323706f2543Smrg
324706f2543Smrgfunction getNode(o, po)
325706f2543Smrg{
326706f2543Smrg  po.childrenVisited = true;
327706f2543Smrg  var l = po.childrenData.length-1;
328706f2543Smrg  for (var i in po.childrenData)
329706f2543Smrg  {
330706f2543Smrg    var nodeData = po.childrenData[i];
331706f2543Smrg    po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
332706f2543Smrg        i==l);
333706f2543Smrg  }
334706f2543Smrg}
335706f2543Smrg
336706f2543Smrgfunction findNavTreePage(url, data)
337706f2543Smrg{
338706f2543Smrg  var nodes = data;
339706f2543Smrg  var result = null;
340706f2543Smrg  for (var i in nodes)
341706f2543Smrg  {
342706f2543Smrg    var d = nodes[i];
343706f2543Smrg    if (d[1] == url)
344706f2543Smrg    {
345706f2543Smrg      return new Array(i);
346706f2543Smrg    }
347706f2543Smrg    else if (d[2] != null) // array of children
348706f2543Smrg    {
349706f2543Smrg      result = findNavTreePage(url, d[2]);
350706f2543Smrg      if (result != null)
351706f2543Smrg      {
352706f2543Smrg        return (new Array(i).concat(result));
353706f2543Smrg      }
354706f2543Smrg    }
355706f2543Smrg  }
356706f2543Smrg  return null;
357706f2543Smrg}
358706f2543Smrg
359706f2543Smrgfunction initNavTree(toroot,relpath)
360706f2543Smrg{
361706f2543Smrg  var o = new Object();
362706f2543Smrg  o.toroot = toroot;
363706f2543Smrg  o.node = new Object();
364706f2543Smrg  o.node.li = document.getElementById("nav-tree-contents");
365706f2543Smrg  o.node.childrenData = NAVTREE;
366706f2543Smrg  o.node.children = new Array();
367706f2543Smrg  o.node.childrenUL = document.createElement("ul");
368706f2543Smrg  o.node.getChildrenUL = function() { return o.node.childrenUL; };
369706f2543Smrg  o.node.li.appendChild(o.node.childrenUL);
370706f2543Smrg  o.node.depth = 0;
371706f2543Smrg  o.node.relpath = relpath;
372706f2543Smrg
373706f2543Smrg  getNode(o, o.node);
374706f2543Smrg
375706f2543Smrg  o.breadcrumbs = findNavTreePage(toroot, NAVTREE);
376706f2543Smrg  if (o.breadcrumbs == null)
377706f2543Smrg  {
378706f2543Smrg    o.breadcrumbs = findNavTreePage("index.html",NAVTREE);
379706f2543Smrg  }
380706f2543Smrg  if (o.breadcrumbs != null && o.breadcrumbs.length>0)
381706f2543Smrg  {
382706f2543Smrg    var p = o.node;
383706f2543Smrg    for (var i in o.breadcrumbs)
384706f2543Smrg    {
385706f2543Smrg      var j = o.breadcrumbs[i];
386706f2543Smrg      p = p.children[j];
387706f2543Smrg      expandNode(o,p,true);
388706f2543Smrg    }
389706f2543Smrg    p.itemDiv.className = p.itemDiv.className + " selected";
390706f2543Smrg    p.itemDiv.id = "selected";
391706f2543Smrg    $(window).load(showRoot);
392706f2543Smrg  }
393706f2543Smrg}
394706f2543Smrg
395