<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_只有平淡无奇的人才会觉得生活平淡无奇,换个聚焦点,你会发现这个世界有很多美好的东西。</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/36261/rss</id><updated>2010-05-09T11:45:59Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/36261/rss"/><entry><id>http://www.cnblogs.com/Jonllen/archive/2010/05/09/menu.html</id><title type="text">几种形式的JavaScript树结构菜单</title><summary type="text">今天我主要讲3种不同展示的JavaScript树结构菜单，分别是悬浮层树(Tree)、右键菜单树(ContextMenu)和节点树(TreeMenu)，目前都支持无限级层次。1.悬浮层树(Tree) 这种树结构实现类似面包屑导航功能，监听的是节点鼠标移动的事件，然后在节点下方或右方显示子节点，依此递归显示子节点的子节点。 这里要注意几个小问题，其一这种树结构是悬浮层绝对定位的，在创建层的时候一定要...</summary><published>2010-05-09T10:09:00Z</published><updated>2010-05-09T10:09:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2010/05/09/menu.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2010/05/09/menu.html"/><content type="html">&lt;div style="font-size: 14px; line-height: 28px;"&gt;&#xD;
&lt;p&gt;今天我主要讲3种不同展示的JavaScript树结构菜单，分别是悬浮层树(Tree)、右键菜单树(ContextMenu)和节点树(TreeMenu)，目前都支持无限级层次。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;strong&gt;1.悬浮层树(Tree)&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;这种树结构实现类似面包屑导航功能，监听的是节点鼠标移动的事件，然后在节点下方或右方显示子节点，依此递归显示子节点的子节点。&lt;/p&gt;&#xD;
&lt;div id="menuDiv"  style="border: solid 1px #ccc; margin: 10px; padding: 5px;"&gt;&lt;/div&gt;&#xD;
&lt;p&gt;这里要注意几个小问题，其一这种树结构是悬浮层绝对定位的，在创建层的时候一定要直接放在body的下面，这样做的是确保在IE里面能遮掩住任何层，因为在IE里面是有stacking&#xD;
            context这种东西的潜规则在里面的，另外当然还有一个select老掉牙的问题，这里是采用在每个悬浮层后面加个iframe元素，当然同一级的菜单只产生一个iframe元素，菜单有几级将产生几个iframe遮掩，然后菜单显示和隐藏的时候同时显示和隐藏iframe。&lt;/p&gt;&#xD;
&lt;p&gt;不过这种菜单并不合适前台，因为目前只支持在脚本里动态添加菜单节点，而不能从现有的html元素获取菜单节点，我们为了SEO等前台导航一般是在后台动态输出的，假如菜单有多级的话也建议不超过2层，对客户来说太多层也懒得去看，不过有个面包屑导航显示还是很不错的。&lt;/p&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div &gt;&lt;img title="展开" src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" onclick="this.src=this.title=='展开'?'/codehighlighter/outliningIndicators/ExpandedBlockStart.gif':'/codehighlighter/outliningIndicators/ContractedBlock.gif'; document.getElementById('HighlighterCode_634090013508043744').style.display=this.title=='展开'?'block':'none'; this.title=this.title=='展开'?'收缩':'展开'; " /&gt;&lt;span&gt;&lt;a href="http://www.jonllen.com/scripts/menu.js"&gt;Menu.js&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  id="HighlighterCode_634090013508043744" style="display: none;"&gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #008080;"&gt;  1&lt;/span&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_0_123_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_123_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_123_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_123_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_0_123_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_123_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_123_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_123_Open_Text').style.display='inline';" /&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_0_123_Closed_Text"&gt;/**/&lt;/span&gt;&lt;span id="CodeHighlighter1_0_123_Open_Text"&gt;&lt;span style="color: #008000;"&gt;/*&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  2&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Author : Jonllen&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  3&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Create : 2009-12-13&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  4&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Update : 2010-05-08&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  5&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** SVN    : 152&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  6&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** WebSite: http://www.jonllen.com/&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  7&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  8&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  9&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_157_209_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_157_209_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_157_209_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_157_209_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_157_209_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_157_209_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_157_209_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_157_209_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; Menu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (container) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_157_209_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_157_209_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 10&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.container &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; container;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 11&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 12&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 13&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 14&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_228_7693_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_228_7693_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_228_7693_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_228_7693_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_228_7693_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_228_7693_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_228_7693_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_228_7693_Open_Text').style.display='inline';" /&gt;Menu.prototype &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_228_7693_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_228_7693_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 15&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    list : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 16&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    active : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 17&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    iframes : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 18&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_322_521_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_322_521_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_322_521_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_322_521_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_322_521_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_322_521_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_322_521_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_322_521_Open_Text').style.display='inline';" /&gt;    settings : &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_322_521_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_322_521_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 19&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        id : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        parentId : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 21&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        name : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 22&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        url : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 23&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        level : &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 24&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        parent : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 25&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        children : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 26&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        css : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 27&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        element : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 28&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 29&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_550_946_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_550_946_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_550_946_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_550_946_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_550_946_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_550_946_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_550_946_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_550_946_Open_Text').style.display='inline';" /&gt;    push : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_550_946_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_550_946_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 30&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Object.prototype.toString.apply(item) &lt;/span&gt;&lt;span style="color: #000000;"&gt;===&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;[object Array]&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item : [item];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 31&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 32&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_699_919_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_699_919_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_699_919_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_699_919_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_699_919_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_699_919_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_699_919_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_699_919_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_699_919_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_699_919_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 33&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; settings &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 34&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_774_871_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_774_871_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_774_871_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_774_871_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_774_871_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_774_871_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_774_871_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_774_871_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_774_871_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_774_871_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 35&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;settings.hasOwnProperty(p) ) settings[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings[p];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 36&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 37&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.push(settings);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 38&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 39&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 40&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 41&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_977_1240_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_977_1240_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_977_1240_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_977_1240_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_977_1240_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_977_1240_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_977_1240_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_977_1240_Open_Text').style.display='inline';" /&gt;    getChlid : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (id) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_977_1240_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_977_1240_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 42&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 43&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 44&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1067_1213_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1067_1213_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1067_1213_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1067_1213_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1067_1213_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1067_1213_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1067_1213_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1067_1213_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1067_1213_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1067_1213_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 45&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 46&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; id)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 47&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1155_1203_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1155_1203_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1155_1203_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1155_1203_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1155_1203_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1155_1203_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1155_1203_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1155_1203_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1155_1203_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1155_1203_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 48&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                list.push(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 49&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 50&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 51&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 52&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 53&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1276_3078_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1276_3078_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1276_3078_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1276_3078_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1276_3078_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1276_3078_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1276_3078_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1276_3078_Open_Text').style.display='inline';" /&gt;    render : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (container) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1276_3078_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1276_3078_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 54&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 55&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; container &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.container;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 56&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 57&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1412_2419_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1412_2419_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1412_2419_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1412_2419_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1412_2419_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1412_2419_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1412_2419_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1412_2419_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1412_2419_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1412_2419_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 58&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 59&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 60&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 61&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;a href="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.url&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.name&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 62&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 63&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( item.css ) itemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 64&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 65&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1840_2038_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1840_2038_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1840_2038_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1840_2038_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1840_2038_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1840_2038_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1840_2038_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1840_2038_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( disabled ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1840_2038_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1840_2038_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 66&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 67&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 68&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].removeAttribute(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;href&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 69&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 70&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2101_2165_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2101_2165_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2101_2165_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2101_2165_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2101_2165_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2101_2165_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2101_2165_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2101_2165_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2101_2165_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2101_2165_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 71&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 72&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 73&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.menu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 74&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.menu.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.getChlid(item.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 75&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2308_2364_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2308_2364_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2308_2364_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2308_2364_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2308_2364_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2308_2364_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2308_2364_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2308_2364_Open_Text').style.display='inline';" /&gt;            itemElem.onmouseover &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2308_2364_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2308_2364_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 76&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                _this.renderChlid(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 77&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 78&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            menuElem.appendChild(itemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 80&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2459_3071_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2459_3071_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2459_3071_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2459_3071_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2459_3071_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2459_3071_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2459_3071_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2459_3071_Open_Text').style.display='inline';" /&gt;        document.onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2459_3071_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2459_3071_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 81&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 82&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 83&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2577_3061_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2577_3061_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2577_3061_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2577_3061_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2577_3061_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2577_3061_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2577_3061_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2577_3061_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.menu) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2577_3061_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2577_3061_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 84&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; self &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 85&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2669_2911_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2669_2911_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2669_2911_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2669_2911_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2669_2911_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2669_2911_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2669_2911_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2669_2911_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;_this.active.length;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2669_2911_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2669_2911_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 86&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.active[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 87&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.getElementById(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;menu&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 88&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 89&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        menuElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 90&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 91&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2967_3047_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2967_3047_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2967_3047_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2967_3047_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2967_3047_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2967_3047_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2967_3047_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2967_3047_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;_this.iframes.length;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2967_3047_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2967_3047_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 92&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    _this.iframes[j].style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 93&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 94&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 95&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 96&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 97&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3115_7394_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3115_7394_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3115_7394_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3115_7394_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3115_7394_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3115_7394_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3115_7394_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3115_7394_Open_Text').style.display='inline';" /&gt;    renderChlid : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (target)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3115_7394_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3115_7394_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 98&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; self &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 99&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.menu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;100&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; activeItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; self.active[item.level];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;101&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3250_3454_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3250_3454_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3250_3454_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3250_3454_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3250_3454_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3250_3454_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3250_3454_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3250_3454_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(activeItem) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3250_3454_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3250_3454_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;102&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; activeItemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; activeItem.element;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;103&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( activeItemElem&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) activeItemElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;104&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            activeItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; self.active[activeItem.level &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;105&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;106&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        self.active[item.level] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;107&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;108&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; level &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.level;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;109&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3571_3659_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3571_3659_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3571_3659_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3571_3659_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3571_3659_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3571_3659_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3571_3659_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3571_3659_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[level]) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3571_3659_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3571_3659_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;110&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[level].style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;111&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            level&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;112&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;113&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;114&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.getElementById(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;menu&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;115&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3763_6497_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3763_6497_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3763_6497_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3763_6497_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3763_6497_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3763_6497_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3763_6497_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3763_6497_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (childElem&lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3763_6497_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3763_6497_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;116&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;117&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3852_4029_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3852_4029_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3852_4029_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3852_4029_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3852_4029_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3852_4029_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3852_4029_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3852_4029_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.children.length;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3852_4029_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3852_4029_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;118&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3932_4015_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3932_4015_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3932_4015_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3932_4015_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3932_4015_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3932_4015_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3932_4015_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3932_4015_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.children[j].css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3932_4015_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3932_4015_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;119&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;120&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;121&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;122&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;123&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4056_6487_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4056_6487_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4056_6487_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4056_6487_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4056_6487_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4056_6487_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4056_6487_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4056_6487_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( hasChild) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4056_6487_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4056_6487_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;124&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;125&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; self.elemOffset(target);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;126&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; x &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy.x;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;127&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; y &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.offsetHeight &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy.y;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;128&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( item.level &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;129&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4258_4372_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4258_4372_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4258_4372_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4258_4372_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4258_4372_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4258_4372_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4258_4372_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4258_4372_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4258_4372_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4258_4372_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;130&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.offsetWidth &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;131&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    y &lt;/span&gt;&lt;span style="color: #000000;"&gt;-=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.offsetHeight;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;132&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;133&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;134&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;135&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.id &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;menu&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.id;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;136&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;child&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;137&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.position &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;absolute&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;138&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;139&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.top &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; y &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;140&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.zIndex &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1000&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.level;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;141&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.children.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;142&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4831_6348_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4831_6348_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4831_6348_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4831_6348_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4831_6348_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4831_6348_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4831_6348_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4831_6348_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4831_6348_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4831_6348_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;143&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.children[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;144&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;a&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;145&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;146&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5076_5224_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5076_5224_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5076_5224_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5076_5224_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5076_5224_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5076_5224_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5076_5224_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5076_5224_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( disabled ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5076_5224_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5076_5224_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;147&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        childItemElem.disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;148&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        childItemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;149&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5229_5312_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5229_5312_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5229_5312_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5229_5312_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5229_5312_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5229_5312_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5229_5312_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5229_5312_Open_Text').style.display='inline';" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5229_5312_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5229_5312_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;150&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        childItemElem.href &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.url;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;151&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;152&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5388_5473_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5388_5473_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5388_5473_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5388_5473_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5388_5473_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5388_5473_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5388_5473_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5388_5473_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5388_5473_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5388_5473_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;153&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        childItemElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;154&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;155&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.name;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;156&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.menu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;157&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.menu.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; self.getChlid(childItem.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;158&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;159&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5784_6015_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5784_6015_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5784_6015_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5784_6015_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5784_6015_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5784_6015_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5784_6015_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5784_6015_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItemElem.menu.children.length;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5784_6015_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5784_6015_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;160&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5886_5993_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5886_5993_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5886_5993_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5886_5993_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5886_5993_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5886_5993_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5886_5993_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5886_5993_Open_Text').style.display='inline';" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItemElem.menu.children[j].css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5886_5993_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5886_5993_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;161&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;162&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;163&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;164&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;165&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6051_6138_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6051_6138_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6051_6138_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6051_6138_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6051_6138_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6051_6138_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6051_6138_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6051_6138_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( hasChild ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6051_6138_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6051_6138_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;166&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        childItemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;167&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;168&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6200_6270_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6200_6270_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6200_6270_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6200_6270_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6200_6270_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6200_6270_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6200_6270_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6200_6270_Open_Text').style.display='inline';" /&gt;                    childItemElem.onmouseover &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6200_6270_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6200_6270_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;169&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        self.renderChlid(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;170&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;171&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childElem.appendChild(childItemElem); &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;172&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;173&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                document.body.insertBefore(childElem,document.body.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;174&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                item.element &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;175&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;176&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;177&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;178&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6536_7379_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6536_7379_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6536_7379_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6536_7379_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6536_7379_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6536_7379_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6536_7379_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6536_7379_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childElem&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6536_7379_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6536_7379_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;179&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[item.level];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;180&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6630_7016_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6630_7016_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6630_7016_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6630_7016_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6630_7016_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6630_7016_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6630_7016_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6630_7016_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6630_7016_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6630_7016_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;181&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;iframe&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;182&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iframeElem.scrolling &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;no&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;183&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iframeElem.frameBorder &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;184&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iframeElem.style.cssText &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;position:absolute; overflow:hidden;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;185&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                document.body.insertBefore(iframeElem,document.body.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;186&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[item.level]&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;iframeElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;187&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;188&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;189&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.width &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem.offsetWidth;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;190&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.height &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem.offsetHeight;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;191&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.style.left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; parseInt(childElem.style.left) &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;192&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.style.top &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; parseInt(childElem.style.top) &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;193&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;194&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;195&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;196&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;197&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7427_7691_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7427_7691_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7427_7691_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7427_7691_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7427_7691_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7427_7691_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7427_7691_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7427_7691_Open_Text').style.display='inline';" /&gt;    elemOffset : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt;(elem)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7427_7691_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7427_7691_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;198&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7460_7469_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7460_7469_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7460_7469_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7460_7469_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7460_7469_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7460_7469_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7460_7469_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7460_7469_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( elem&lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7460_7469_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7460_7469_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{x:&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,y:&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;199&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; t &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetTop;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;200&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; l &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetLeft;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;201&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7577_7655_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7577_7655_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7577_7655_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7577_7655_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7577_7655_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7577_7655_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7577_7655_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7577_7655_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;( elem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetParent) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7577_7655_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7577_7655_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;202&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            t &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetTop;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;203&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            l &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetLeft;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;204&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;205&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7671_7684_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7671_7684_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7671_7684_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7671_7684_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7671_7684_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7671_7684_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7671_7684_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7671_7684_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7671_7684_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7671_7684_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{x : l,y : t}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;206&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;207&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;&lt;strong&gt;&#xD;
            2.右键菜单树(ContextMenu)&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;自定义右键菜单(ContextMenu)和悬浮层树(Tree)其实现上都大同小异，都是在脚本里动态添加节点，然后在生成一个绝对定位层，只不过右键菜单树(ContextMenu)触发的事件不一样。另外右键菜单还需要提供一个动态添加菜单项功能，以实现右击不同的元素可以显示不同的右键菜单，我这里提供一种"回调函数"，使用见如下代码：&lt;/p&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div &gt;&lt;img title="展开" src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" onclick="this.src=this.title=='展开'?'/codehighlighter/outliningIndicators/ExpandedBlockStart.gif':'/codehighlighter/outliningIndicators/ContractedBlock.gif'; document.getElementById('HighlighterCode_634090033603824994').style.display=this.title=='展开'?'block':'none'; this.title=this.title=='展开'?'收缩':'展开'; " /&gt;&lt;span&gt;ContextMenu回调函数&lt;/span&gt;&lt;/div&gt;&lt;div  id="HighlighterCode_634090033603824994" style="display: none;"&gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #008080;"&gt; 1&lt;/span&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;span style="color: #000000;"&gt; &lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;ContextMenu&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 2&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 3&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_51_102_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_51_102_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_51_102_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_51_102_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_51_102_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_51_102_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_51_102_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_51_102_Open_Text').style.display='inline';" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; ContextMenu(&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_51_102_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_51_102_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ container : document.getElementById(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;treemenu&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 4&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_124_173_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_124_173_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_124_173_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_124_173_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_124_173_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_124_173_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_124_173_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_124_173_Open_Text').style.display='inline';" /&gt;    contextmenu.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_124_173_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_124_173_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;Powered By: Jonllen&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;, css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 5&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_195_221_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_195_221_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_195_221_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_195_221_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_195_221_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_195_221_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_195_221_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_195_221_Open_Text').style.display='inline';" /&gt;    contextmenu.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_195_221_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_195_221_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;, css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;line&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 6&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_243_307_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_243_307_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_243_307_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_243_307_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_243_307_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_243_307_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_243_307_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_243_307_Open_Text').style.display='inline';" /&gt;    contextmenu.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_243_307_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_243_307_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;刷新(&amp;lt;u&amp;gt;R&amp;lt;/u&amp;gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;, href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;javascript:location.reload();&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 7&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_342_497_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_342_497_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_342_497_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_342_497_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_342_497_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_342_497_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_342_497_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_342_497_Open_Text').style.display='inline';" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;menu.length;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_342_497_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_342_497_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 8&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_363_492_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_363_492_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_363_492_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_363_492_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_363_492_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_363_492_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_363_492_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_363_492_Open_Text').style.display='inline';" /&gt;        contextmenu.push(&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_363_492_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_363_492_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 9&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            id : menu[i].id,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;10&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            level : menu[i].level,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;11&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            parentId : menu[i].parentId,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;12&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            html : menu[i].name,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;13&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            href : menu[i].url&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;14&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;15&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;16&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;    contextmenu.render();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;17&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;18&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;原有回调函数&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;19&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenuOnShow &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.onShow;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;设置新的回调函数&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;21&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_636_1564_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_636_1564_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_636_1564_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_636_1564_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_636_1564_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_636_1564_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_636_1564_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_636_1564_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    contextmenu.onShow &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (target, _this)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_636_1564_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_636_1564_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;22&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.parentNode.treemenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;23&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_711_1525_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_711_1525_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_711_1525_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_711_1525_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_711_1525_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_711_1525_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_711_1525_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_711_1525_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_711_1525_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_711_1525_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;24&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; html &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;添加&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;ldquo;子节点&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;(item.children.length&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;25&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_794_1293_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_794_1293_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_794_1293_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_794_1293_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_794_1293_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_794_1293_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_794_1293_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_794_1293_Open_Text').style.display='inline';" /&gt;            _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_794_1293_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_794_1293_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;26&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : html,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;27&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_838_1228_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_838_1228_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_838_1228_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_838_1228_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_838_1228_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_838_1228_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_838_1228_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_838_1228_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_838_1228_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_838_1228_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;28&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    item.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;29&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_885_1120_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_885_1120_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_885_1120_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_885_1120_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_885_1120_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_885_1120_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_885_1120_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_885_1120_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; newItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_885_1120_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_885_1120_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;30&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        id : item.id &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item.children.length&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;31&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        level : item.level &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;32&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        parentId : item.id,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;33&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        html : item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;子节点&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;(item.children.length&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;34&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;#&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;35&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;36&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        createExpand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;37&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;38&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    item.children.push(newItem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;39&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    treemenu.list.push(newItem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;40&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    treemenu.renderChild(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;41&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;42&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;43&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;44&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;45&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;46&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1311_1519_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1311_1519_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1311_1519_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1311_1519_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1311_1519_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1311_1519_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1311_1519_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1311_1519_Open_Text').style.display='inline';" /&gt;            _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1311_1519_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1311_1519_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;47&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;删除节点&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;48&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1372_1454_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1372_1454_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1372_1454_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1372_1454_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1372_1454_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1372_1454_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1372_1454_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1372_1454_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1372_1454_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1372_1454_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;49&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( confirm(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;是否确认删除节点&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;？&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;))&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;50&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        treemenu.remove(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;51&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;52&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;53&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;54&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;55&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;56&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;57&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        contextmenuOnShow(target, _this);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;58&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;那么"回调函数"如何来实现呢？其实很简单，就是函数运行到某一行代码时运行预先设置的"回调函数"，有点像事件机制，如同绑定多个window.onload事件，由于之前可能有绑定函数，所以先记录之前的函数，再设置新绑定的函数，之后再调用之前绑定的函数。上面的所示代码实现右击元素如果为treemenu节点，则在右键里添加添加和删除treemenu节点菜单，效果见后面节点树(TreeMenu)示例。&lt;/p&gt;&#xD;
&lt;p&gt;回调函数里我们需要注意作用域，this指针指向当前回调函数对象，而不是在运行回调函数的上下里，不过我们也可以使用call方法来把回调函数在当前this上下文里运行。我这里是采用给回调函数传递2个参数的办法，这样在回调函数就能很方便的获取this对象和其他变量，这个在Ajax的Callback回调函数里普遍使用。&lt;/p&gt;&#xD;
&lt;p&gt;自定义右键菜单(ContextMenu)只适合一些辅助功能的快捷操作，如有一些业务功能复杂的OA系统等，下面我也将会结合节点树(TreeMenu)进行使用。如果可以话尽量不要使用右键菜单，其一是需要培训用户右击操作的习惯，其二自定义右键菜单丢失掉了原有右键菜单的一些功能，如查看源文件等。&lt;/p&gt;&#xD;
&lt;div id="contextmenu" &gt;&#xD;
            &lt;ol&gt;&#xD;
&lt;li&gt;这里右键菜单区域。&lt;/li&gt;&#xD;
&lt;li&gt;&lt;a href="http://www.jonllen.com/" target="_blank"&gt;右击我你可以看属性哦。&lt;/a&gt;&lt;/li&gt;&#xD;
&lt;li&gt;你也可以选择我再右击复制。&lt;/li&gt;&#xD;
&lt;li&gt;&lt;/li&gt;&#xD;
&lt;/ol&gt;&#xD;
        &lt;/div&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div &gt;&lt;img title="展开" src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" onclick="this.src=this.title=='展开'?'/codehighlighter/outliningIndicators/ExpandedBlockStart.gif':'/codehighlighter/outliningIndicators/ContractedBlock.gif'; document.getElementById('HighlighterCode_634090079487418744').style.display=this.title=='展开'?'block':'none'; this.title=this.title=='展开'?'收缩':'展开'; " /&gt;&lt;span&gt;&lt;a href="http://www.jonllen.com/scripts/ContextMenu.js"&gt;ContextMenu.js&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  id="HighlighterCode_634090079487418744" style="display: none;"&gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #008080;"&gt;  1&lt;/span&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="Img1" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_123_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_123_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_123_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="Img2" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_123_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_123_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_123_Open_Text').style.display='inline';" /&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="Span1"&gt;/**/&lt;/span&gt;&lt;span id="Span2"&gt;&lt;span style="color: #008000;"&gt;/*&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  2&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Author : Jonllen&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  3&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Create : 2010-05-01&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  4&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Update : 2010-05-09&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  5&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** SVN    : 153&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  6&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** WebSite: http://www.jonllen.com/&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  7&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  8&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  9&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_163_603_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_163_603_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_163_603_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_163_603_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_163_603_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_163_603_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_163_603_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_163_603_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; ContextMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (settings) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_163_603_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_163_603_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 10&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 11&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 12&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_199_280_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_199_280_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_199_280_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_199_280_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_199_280_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_199_280_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_199_280_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_199_280_Open_Text').style.display='inline';" /&gt;    &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_199_280_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_199_280_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 13&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;settings.hasOwnProperty(p) ) settings[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings[p];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 14&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 15&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; settings;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 16&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 17&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 18&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 19&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.style.cssText &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;position:absolute;display:none;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    document.body.insertBefore(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu,document.body.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 21&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 22&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 23&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 24&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 25&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_629_20932_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_629_20932_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_629_20932_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_629_20932_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_629_20932_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_629_20932_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_629_20932_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_629_20932_Open_Text').style.display='inline';" /&gt;ContextMenu.prototype &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_629_20932_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_629_20932_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 26&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    list : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 27&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    active : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 28&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    iframes : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 29&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_723_877_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_723_877_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_723_877_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_723_877_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_723_877_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_723_877_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_723_877_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_723_877_Open_Text').style.display='inline';" /&gt;    settings : &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_723_877_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_723_877_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 30&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        menu : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 31&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        excursionX : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 32&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        excursionY : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 33&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;contextmenu&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 34&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        container : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 35&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        locked : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 36&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 37&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_890_1248_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_890_1248_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_890_1248_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_890_1248_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_890_1248_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_890_1248_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_890_1248_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_890_1248_Open_Text').style.display='inline';" /&gt;    item : &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_890_1248_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_890_1248_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 38&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        id : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 39&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        level : &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 40&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        parentId : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 41&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 42&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        title : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 43&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;javascript:;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 44&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        target : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;_self&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 45&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        css : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 46&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        element : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 47&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        childElement : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 48&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        parent : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 49&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        children : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 50&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 51&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 52&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 53&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 54&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1277_1976_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1277_1976_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1277_1976_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1277_1976_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1277_1976_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1277_1976_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1277_1976_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1277_1976_Open_Text').style.display='inline';" /&gt;    push : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1277_1976_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1277_1976_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 55&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Object.prototype.toString.apply(item) &lt;/span&gt;&lt;span style="color: #000000;"&gt;===&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;[object Array]&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item : [item];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 56&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1417_1949_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1417_1949_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1417_1949_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1417_1949_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1417_1949_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1417_1949_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1417_1949_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1417_1949_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1417_1949_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1417_1949_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 57&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt;  _item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 58&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1486_1573_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1486_1573_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1486_1573_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1486_1573_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1486_1573_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1486_1573_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1486_1573_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1486_1573_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.item) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1486_1573_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1486_1573_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 59&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;_item.hasOwnProperty(p) ) _item[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.item[p];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 60&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 61&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _item.element &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 62&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( _item.name ) _item.html &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _item.name;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 63&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( _item.url ) _item.href &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _item.url;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 64&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1754_1808_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1754_1808_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1754_1808_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1754_1808_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1754_1808_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1754_1808_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1754_1808_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1754_1808_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( _item.type &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1754_1808_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1754_1808_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 65&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.push(_item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 66&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1813_1939_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1813_1939_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1813_1939_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1813_1939_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1813_1939_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1813_1939_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1813_1939_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1813_1939_Open_Text').style.display='inline';" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1813_1939_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1813_1939_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 67&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 68&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic.push(_item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 69&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 70&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 71&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 72&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 73&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2000_3302_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2000_3302_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2000_3302_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2000_3302_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2000_3302_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2000_3302_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2000_3302_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2000_3302_Open_Text').style.display='inline';" /&gt;    bind : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; ()&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2000_3302_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2000_3302_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 74&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 75&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 76&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2102_3296_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2102_3296_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2102_3296_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2102_3296_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2102_3296_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2102_3296_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2102_3296_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2102_3296_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2102_3296_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2102_3296_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 77&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 78&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.title &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.title;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 80&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;a href="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.href&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" target="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.target&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 81&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.css:&lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 82&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.element &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 83&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 84&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2496_2772_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2496_2772_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2496_2772_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2496_2772_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2496_2772_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2496_2772_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2496_2772_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2496_2772_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.click ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2496_2772_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2496_2772_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 85&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2530_2750_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2530_2750_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2530_2750_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2530_2750_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2530_2750_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2530_2750_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2530_2750_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2530_2750_Open_Text').style.display='inline';" /&gt;                (&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2530_2750_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2530_2750_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 86&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2601_2731_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2601_2731_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2601_2731_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2601_2731_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2601_2731_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2601_2731_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2601_2731_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2601_2731_Open_Text').style.display='inline';" /&gt;                    item.element.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2601_2731_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2601_2731_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 87&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.clickClose) _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 88&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.click(e);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 89&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 90&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 91&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 92&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 93&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 94&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2874_2902_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2874_2902_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2874_2902_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2874_2902_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2874_2902_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2874_2902_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2874_2902_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2874_2902_Open_Text').style.display='inline';" /&gt;            itemElem.onmouseover &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2874_2902_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2874_2902_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ _this.hidden(item.level);}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 95&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 96&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; index &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.index &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 97&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( index &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.childNodes.length)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 98&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.childNodes.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 99&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( index &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;100&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.appendChild(itemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;101&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;102&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.insertBefore(itemElem, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.childNodes[index]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;103&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;104&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;105&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3340_6362_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3340_6362_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3340_6362_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3340_6362_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3340_6362_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3340_6362_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3340_6362_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3340_6362_Open_Text').style.display='inline';" /&gt;    render : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( container ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3340_6362_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3340_6362_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;106&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;107&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;108&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;109&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        container &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; container &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.container;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;110&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;111&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;112&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;113&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;114&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3561_5036_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3561_5036_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3561_5036_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3561_5036_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3561_5036_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3561_5036_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3561_5036_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3561_5036_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3561_5036_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3561_5036_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;115&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;116&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;117&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;118&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.title &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.title;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;119&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;a href="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.href&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" target="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.target&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;120&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.css:&lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;121&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.hasClass(itemElem, &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;122&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4014_4212_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4014_4212_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4014_4212_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4014_4212_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4014_4212_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4014_4212_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4014_4212_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4014_4212_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( disabled ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4014_4212_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4014_4212_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;123&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;124&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;125&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].removeAttribute(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;href&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;126&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;127&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4267_4331_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4267_4331_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4267_4331_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4267_4331_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4267_4331_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4267_4331_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4267_4331_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4267_4331_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( _this.hasClass(itemElem, &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;hidden&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4267_4331_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4267_4331_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;128&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;129&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;130&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;131&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4374_4650_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4374_4650_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4374_4650_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4374_4650_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4374_4650_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4374_4650_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4374_4650_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4374_4650_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.click ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4374_4650_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4374_4650_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;132&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4408_4628_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4408_4628_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4408_4628_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4408_4628_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4408_4628_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4408_4628_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4408_4628_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4408_4628_Open_Text').style.display='inline';" /&gt;                (&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4408_4628_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4408_4628_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;133&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4479_4609_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4479_4609_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4479_4609_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4479_4609_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4479_4609_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4479_4609_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4479_4609_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4479_4609_Open_Text').style.display='inline';" /&gt;                    item.element.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4479_4609_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4479_4609_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;134&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.clickClose) _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;135&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.click(e);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;136&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;137&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;138&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;139&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;140&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;141&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.contextmenu.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.getChlid(item.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;142&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( itemElem.contextmenu.children.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;143&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].className &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;144&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4944_4971_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4944_4971_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4944_4971_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4944_4971_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4944_4971_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4944_4971_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4944_4971_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4944_4971_Open_Text').style.display='inline';" /&gt;            itemElem.onmouseover &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4944_4971_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4944_4971_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ _this.renderChlid(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;);}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;145&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.appendChild(itemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;146&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;147&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;148&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5071_5104_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5071_5104_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5071_5104_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5071_5104_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5071_5104_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5071_5104_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5071_5104_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5071_5104_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.active[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5071_5104_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5071_5104_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ element : _this.settings.menu }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;149&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.menu.contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;150&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5200_5697_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5200_5697_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5200_5697_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5200_5697_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5200_5697_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5200_5697_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5200_5697_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5200_5697_Open_Text').style.display='inline';" /&gt;        container.oncontextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5200_5697_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5200_5697_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;151&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;152&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;153&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( e.preventDefault)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;154&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                e.preventDefault();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;155&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; mouseCoords &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.mouseCoords(e);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;156&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.settings.menu.style.left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; mouseCoords.x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.settings.excursionX &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;157&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.settings.menu.style.top &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; mouseCoords.y &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.settings.excursionY &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;158&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;159&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.show(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;, target);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;160&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;161&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;162&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5752_6345_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5752_6345_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5752_6345_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5752_6345_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5752_6345_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5752_6345_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5752_6345_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5752_6345_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.addEvent(document, &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;click&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5752_6345_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5752_6345_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;163&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;164&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;165&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; isContextMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!!&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.contextmenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;166&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5934_6247_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5934_6247_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5934_6247_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5934_6247_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5934_6247_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5934_6247_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5934_6247_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5934_6247_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( isContextMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5934_6247_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5934_6247_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;167&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; parent &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.parentNode;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;168&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6021_6233_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6021_6233_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6021_6233_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6021_6233_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6021_6233_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6021_6233_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6021_6233_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6021_6233_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;( parent&lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6021_6233_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6021_6233_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;169&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6067_6167_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6067_6167_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6067_6167_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6067_6167_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6067_6167_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6067_6167_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6067_6167_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6067_6167_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( parent.contextmenu) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6067_6167_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6067_6167_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;170&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        isContextMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;171&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;172&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;173&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    parent &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; parent.parentNode;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;174&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;175&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;176&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6288_6335_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6288_6335_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6288_6335_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6288_6335_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6288_6335_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6288_6335_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6288_6335_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6288_6335_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (isContextMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6288_6335_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6288_6335_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;177&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;178&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;179&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;180&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;181&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;182&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6401_9882_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6401_9882_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6401_9882_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6401_9882_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6401_9882_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6401_9882_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6401_9882_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6401_9882_Open_Text').style.display='inline';" /&gt;    renderChlid : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( target )&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6401_9882_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6401_9882_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;183&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;184&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.locked) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;185&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;186&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.contextmenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;187&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; currentLevel &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.level;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;188&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.hidden(currentLevel);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;189&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;190&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;191&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6680_6844_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6680_6844_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6680_6844_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6680_6844_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6680_6844_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6680_6844_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6680_6844_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6680_6844_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;contextmenu.children.length;j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6680_6844_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6680_6844_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;192&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6763_6834_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6763_6834_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6763_6834_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6763_6834_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6763_6834_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6763_6834_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6763_6834_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6763_6834_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;contextmenu.children[j].css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6763_6834_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6763_6834_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;193&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;194&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;195&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;196&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;197&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;hasChild) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;198&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;199&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.element;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;200&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6961_9482_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6961_9482_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6961_9482_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6961_9482_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6961_9482_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6961_9482_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6961_9482_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6961_9482_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6961_9482_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6961_9482_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;201&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;202&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;203&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;204&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem.style.position &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;absolute&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;205&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem.style.zIndex &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1000&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.level;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;206&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;207&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;208&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;209&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.children.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;210&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7329_9334_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7329_9334_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7329_9334_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7329_9334_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7329_9334_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7329_9334_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7329_9334_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7329_9334_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7329_9334_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7329_9334_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;211&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu.children[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;212&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;213&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;214&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItemElem.title &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.title;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;215&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItemElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;a href="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.href&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" target="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.target&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.html&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;216&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; (childItem.css&lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItem.css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;217&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.hasClass(childItemElem, &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;disabled&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;218&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7834_7991_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7834_7991_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7834_7991_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7834_7991_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7834_7991_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7834_7991_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7834_7991_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7834_7991_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( disabled ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7834_7991_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7834_7991_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;219&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;220&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].removeAttribute(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;href&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;221&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;222&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8054_8131_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8054_8131_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8054_8131_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8054_8131_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8054_8131_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8054_8131_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8054_8131_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8054_8131_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.hasClass(childItemElem, &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;hidden&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8054_8131_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8054_8131_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;223&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;224&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;225&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;226&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8187_8516_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8187_8516_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8187_8516_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8187_8516_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8187_8516_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8187_8516_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8187_8516_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8187_8516_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childItem.click ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8187_8516_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8187_8516_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;227&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8230_8485_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8230_8485_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8230_8485_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8230_8485_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8230_8485_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8230_8485_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8230_8485_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8230_8485_Open_Text').style.display='inline';" /&gt;                    (&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (childItem)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8230_8485_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8230_8485_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;228&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8310_8462_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8310_8462_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8310_8462_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8310_8462_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8310_8462_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8310_8462_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8310_8462_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8310_8462_Open_Text').style.display='inline';" /&gt;                        childItem.element.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8310_8462_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8310_8462_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;229&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childItem.clickClose) _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;230&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.click(e);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;231&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;232&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)(childItem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;233&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;234&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;235&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.parent &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;236&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItemElem.contextmenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;237&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItemElem.contextmenu.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.getChlid(childItem.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;238&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;239&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8837_9055_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8837_9055_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8837_9055_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8837_9055_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8837_9055_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8837_9055_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8837_9055_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8837_9055_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItemElem.contextmenu.children.length; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8837_9055_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8837_9055_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;240&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8942_9037_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8942_9037_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8942_9037_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8942_9037_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8942_9037_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8942_9037_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8942_9037_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8942_9037_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;childItemElem.contextmenu.children[j].css&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hidden &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8942_9037_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8942_9037_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;241&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        hasChild &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;242&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;243&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;244&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;245&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9087_9180_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9087_9180_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9087_9180_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9087_9180_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9087_9180_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9087_9180_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9087_9180_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9087_9180_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( hasChild ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9087_9180_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9087_9180_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;246&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItemElem.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;].className &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; hasChild&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;247&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;248&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9238_9265_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9238_9265_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9238_9265_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9238_9265_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9238_9265_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9238_9265_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9238_9265_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9238_9265_Open_Text').style.display='inline';" /&gt;                childItemElem.onmouseover &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;  &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9238_9265_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9238_9265_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ _this.renderChlid(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;);}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;249&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.appendChild(childItemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;250&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;251&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;252&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            document.body.insertBefore(childElem,document.body.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;253&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            contextmenu.element &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;254&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;255&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;256&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;257&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.active[currentLevel] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; contextmenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;258&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;259&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.elemOffset(target);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;260&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; x &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy.x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.offsetWidth &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.excursionX;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;261&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; y &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; xy.y &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.excursionY;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;262&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        childElem.style.left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;263&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        childElem.style.top &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; y &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;264&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        childElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;265&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;266&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.show(currentLevel);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;267&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;268&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9913_10176_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9913_10176_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9913_10176_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9913_10176_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9913_10176_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9913_10176_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9913_10176_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9913_10176_Open_Text').style.display='inline';" /&gt;    getChlid : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (id) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9913_10176_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9913_10176_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;269&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;270&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;271&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10003_10149_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10003_10149_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10003_10149_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10003_10149_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10003_10149_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10003_10149_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10003_10149_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10003_10149_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10003_10149_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10003_10149_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;272&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;273&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; id)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;274&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10091_10139_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10091_10139_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10091_10139_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10091_10139_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10091_10139_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10091_10139_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10091_10139_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10091_10139_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10091_10139_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10091_10139_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;275&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                list.push(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;276&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;277&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;278&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;279&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;280&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10214_11593_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10214_11593_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10214_11593_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10214_11593_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10214_11593_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10214_11593_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10214_11593_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10214_11593_Open_Text').style.display='inline';" /&gt;    show : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (level, target) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10214_11593_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10214_11593_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;281&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;282&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.locked) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;283&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;284&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        level &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; level &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;285&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.active[level];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;286&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;287&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10373_10741_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10373_10741_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10373_10741_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10373_10741_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10373_10741_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10373_10741_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10373_10741_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10373_10741_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( level &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10373_10741_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10373_10741_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;288&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;289&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10458_10637_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10458_10637_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10458_10637_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10458_10637_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10458_10637_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10458_10637_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10458_10637_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10458_10637_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10458_10637_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10458_10637_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;290&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; dynamicItemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic[i].element;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;291&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( dynamicItemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) dynamicItemElem.parentNode.removeChild(dynamicItemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;292&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;293&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.dynamic.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;294&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.onShow(target, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;295&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;296&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;297&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.element;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;298&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        menuElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;299&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[level];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;300&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10909_11265_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10909_11265_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10909_11265_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10909_11265_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10909_11265_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10909_11265_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10909_11265_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10909_11265_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10909_11265_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10909_11265_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;301&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;iframe&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;302&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.scrolling &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;no&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;303&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.frameBorder &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;304&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iframeElem.style.cssText &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;position:absolute; overflow:hidden;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;305&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            document.body.insertBefore(iframeElem,document.body.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;]);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;306&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes.push(iframeElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;307&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;308&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        iframeElem.width &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem.offsetWidth;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;309&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        iframeElem.height &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem.offsetHeight;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;310&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElemOffset &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.elemOffset(menuElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;311&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        iframeElem.style.left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElemOffset.x &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;312&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        iframeElem.style.top &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElemOffset.y &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;313&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        iframeElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;314&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;315&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;316&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_11633_18870_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11633_18870_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_11633_18870_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11633_18870_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_11633_18870_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11633_18870_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_11633_18870_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11633_18870_Open_Text').style.display='inline';" /&gt;    onShow : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (target, _this) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_11633_18870_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_11633_18870_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;317&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;318&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_11741_13081_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11741_13081_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_11741_13081_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11741_13081_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_11741_13081_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11741_13081_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_11741_13081_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11741_13081_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( target.nodeType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.tagName &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;A&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.innerHTML.indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.rar&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_11741_13081_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_11741_13081_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;319&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;解压文件&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;320&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_11786_13069_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11786_13069_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_11786_13069_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11786_13069_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_11786_13069_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11786_13069_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_11786_13069_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11786_13069_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;            _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_11786_13069_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_11786_13069_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;321&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;解压缩到&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.innerHTML.substring(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,target.innerHTML.lastIndexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;))&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;\\&amp;rdquo;...&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;322&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_11929_12958_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11929_12958_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_11929_12958_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11929_12958_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_11929_12958_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_11929_12958_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_11929_12958_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_11929_12958_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_11929_12958_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_11929_12958_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;323&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;324&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;325&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;326&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;解压缩到&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.innerHTML.substring(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,target.innerHTML.lastIndexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;))&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;\\&amp;rdquo;...&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;327&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; url &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/Ajax/FileZip.aspx?mode=unzip&amp;amp;files=&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.href.substring(target.href.replace(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;//&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;xx&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;));&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;328&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt; Ajax &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;undefined&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;329&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_12464_12813_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12464_12813_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_12464_12813_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12464_12813_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_12464_12813_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12464_12813_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_12464_12813_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12464_12813_Open_Text').style.display='inline';" /&gt;                    Ajax.get(url, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (data, _this)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_12464_12813_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_12464_12813_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;330&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;331&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        eval(data);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;332&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_12597_12671_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12597_12671_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_12597_12671_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12597_12671_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_12597_12671_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12597_12671_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_12597_12671_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12597_12671_Open_Text').style.display='inline';" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( rs.success ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_12597_12671_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_12597_12671_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;333&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            location.reload();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;334&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_12675_12791_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12675_12791_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_12675_12791_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12675_12791_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_12675_12791_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_12675_12791_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_12675_12791_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_12675_12791_Open_Text').style.display='inline';" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_12675_12791_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_12675_12791_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;335&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            alert(rs.error);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;336&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;337&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;338&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, _this);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;339&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;340&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;341&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;342&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;343&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;344&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;345&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;346&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;347&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;348&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_13157_14750_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13157_14750_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_13157_14750_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13157_14750_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_13157_14750_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13157_14750_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_13157_14750_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13157_14750_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( target.nodeType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.title.indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;添加到&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_13157_14750_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_13157_14750_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;349&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;添加单个压缩文件&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;350&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_13207_14738_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13207_14738_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_13207_14738_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13207_14738_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_13207_14738_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13207_14738_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_13207_14738_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13207_14738_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;             _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_13207_14738_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_13207_14738_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;351&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : target.title,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;352&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                title : target.title,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;353&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_13321_14599_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13321_14599_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_13321_14599_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13321_14599_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_13321_14599_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13321_14599_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_13321_14599_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13321_14599_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_13321_14599_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_13321_14599_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;354&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; index &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.href.indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;?path=&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;355&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_13422_13530_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13422_13530_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_13422_13530_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13422_13530_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_13422_13530_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13422_13530_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_13422_13530_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13422_13530_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( index &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_13422_13530_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_13422_13530_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;356&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; fullName &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.href.substring(index&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;?path=&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.length);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;357&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_13535_13665_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13535_13665_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_13535_13665_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13535_13665_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_13535_13665_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_13535_13665_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_13535_13665_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_13535_13665_Open_Text').style.display='inline';" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_13535_13665_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_13535_13665_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;358&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; fullName &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.href.substring(target.href.replace(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;//&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;xx&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;));&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;359&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;360&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;361&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;362&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;363&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;正在添加到&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;fullName.substring(fullName.lastIndexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.rar&amp;rdquo;...&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;364&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; url &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/Ajax/FileZip.aspx?mode=zip&amp;amp;files=&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;fullName;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;365&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt; Ajax &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;undefined&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;366&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_14126_14475_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14126_14475_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_14126_14475_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14126_14475_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_14126_14475_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14126_14475_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_14126_14475_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14126_14475_Open_Text').style.display='inline';" /&gt;                    Ajax.get(url, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (data, _this)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_14126_14475_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_14126_14475_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;367&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;368&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        eval(data);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;369&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_14259_14333_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14259_14333_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_14259_14333_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14259_14333_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_14259_14333_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14259_14333_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_14259_14333_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14259_14333_Open_Text').style.display='inline';" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( rs.success ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_14259_14333_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_14259_14333_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;370&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            location.reload();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;371&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_14337_14453_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14337_14453_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_14337_14453_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14337_14453_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_14337_14453_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14337_14453_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_14337_14453_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14337_14453_Open_Text').style.display='inline';" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_14337_14453_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_14337_14453_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;372&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            alert(rs.error);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;373&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;374&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;375&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, _this);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;376&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    srcElement.onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;377&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;378&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;379&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;380&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;381&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;382&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;383&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;384&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_14755_16599_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14755_16599_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_14755_16599_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14755_16599_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_14755_16599_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14755_16599_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_14755_16599_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14755_16599_Open_Text').style.display='inline';" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_14755_16599_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_14755_16599_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;385&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;添加多个压缩文件&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;386&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; fileName &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;387&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; files &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;388&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; ids &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.getElementsByName(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;ids&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;389&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_14950_15244_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14950_15244_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_14950_15244_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14950_15244_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_14950_15244_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_14950_15244_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_14950_15244_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_14950_15244_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;ids.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_14950_15244_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_14950_15244_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;390&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;ids[i].checked) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;391&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;392&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; file &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; ids[i].value;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;393&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                files.push(file);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;394&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_15130_15230_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15130_15230_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_15130_15230_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15130_15230_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_15130_15230_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15130_15230_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_15130_15230_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15130_15230_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( files.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_15130_15230_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_15130_15230_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;395&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    fileName &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; file.substring(file.lastIndexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;.rar&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;396&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;397&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;398&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_15279_16589_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15279_16589_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_15279_16589_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15279_16589_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_15279_16589_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15279_16589_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_15279_16589_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15279_16589_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( files.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_15279_16589_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_15279_16589_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;399&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_15309_16573_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15309_16573_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_15309_16573_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15309_16573_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_15309_16573_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15309_16573_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_15309_16573_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15309_16573_Open_Text').style.display='inline';" /&gt;                _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_15309_16573_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_15309_16573_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;400&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;添加&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;files.length&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;个文件到压缩包&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;fileName&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;401&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_15421_16446_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15421_16446_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_15421_16446_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15421_16446_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_15421_16446_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15421_16446_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_15421_16446_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15421_16446_Open_Text').style.display='inline';" /&gt;                    click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_15421_16446_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_15421_16446_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;402&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;403&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;404&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;405&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        srcElement.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;406&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        srcElement.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;正在添加到&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;fileName&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;...&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;407&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; url &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/Ajax/FileZip.aspx?mode=zip&amp;amp;files=&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;files.join(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;|&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;408&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt; Ajax &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;undefined&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;409&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_15900_16285_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15900_16285_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_15900_16285_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15900_16285_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_15900_16285_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_15900_16285_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_15900_16285_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_15900_16285_Open_Text').style.display='inline';" /&gt;                        Ajax.get(url, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (data, _this)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_15900_16285_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_15900_16285_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;410&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;411&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            eval(data);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;412&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_16045_16127_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16045_16127_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_16045_16127_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16045_16127_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_16045_16127_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16045_16127_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_16045_16127_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16045_16127_Open_Text').style.display='inline';" /&gt;                            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( rs.success ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_16045_16127_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_16045_16127_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;413&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                                location.reload();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;414&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_16131_16259_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16131_16259_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_16131_16259_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16131_16259_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_16131_16259_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16131_16259_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_16131_16259_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16131_16259_Open_Text').style.display='inline';" /&gt;                            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_16131_16259_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_16131_16259_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;415&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                                alert(rs.error);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;416&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                                _this.hidden();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;417&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;418&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, _this);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;419&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        srcElement.onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;420&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        _this.settings.locked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;421&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;422&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;423&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;424&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;425&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;426&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;427&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;428&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;429&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;430&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_16668_17063_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16668_17063_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_16668_17063_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16668_17063_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_16668_17063_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16668_17063_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_16668_17063_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16668_17063_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( target.nodeType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.tagName &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;A&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_16668_17063_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_16668_17063_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;431&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_16694_17051_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16694_17051_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_16694_17051_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16694_17051_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_16694_17051_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16694_17051_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_16694_17051_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16694_17051_Open_Text').style.display='inline';" /&gt;            _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_16694_17051_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_16694_17051_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{ &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;432&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;属性&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.innerHTML&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;433&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                href : target.href,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;434&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_16820_16941_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16820_16941_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_16820_16941_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16820_16941_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_16820_16941_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_16820_16941_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_16820_16941_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_16820_16941_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_16820_16941_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_16820_16941_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;435&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    prompt(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;属性&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;target.innerHTML&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,target.href);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;436&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;437&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;438&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;439&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;440&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;441&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;442&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;443&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;444&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; selection &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.getSelection &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.getSelection().toString() : document.selection.createRange().text;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;445&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_17217_18833_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17217_18833_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_17217_18833_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17217_18833_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_17217_18833_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17217_18833_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_17217_18833_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17217_18833_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( selection ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_17217_18833_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_17217_18833_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;446&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_17243_18821_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17243_18821_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_17243_18821_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17243_18821_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_17243_18821_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17243_18821_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_17243_18821_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17243_18821_Open_Text').style.display='inline';" /&gt;            _this.push( &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_17243_18821_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_17243_18821_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;447&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;复制&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; (selection.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;15&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; selection.substring(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;12&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;...&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; : selection) &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;448&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                title : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;复制&amp;ldquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; selection &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;rdquo;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;449&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_17440_18711_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17440_18711_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_17440_18711_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17440_18711_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_17440_18711_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17440_18711_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_17440_18711_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17440_18711_Open_Text').style.display='inline';" /&gt;                click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_17440_18711_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_17440_18711_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;450&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_17487_17645_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17487_17645_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_17487_17645_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17487_17645_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_17487_17645_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17487_17645_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_17487_17645_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17487_17645_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(window.clipboardData) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_17487_17645_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_17487_17645_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;451&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        window.clipboardData.clearData();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;452&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        window.clipboardData.setData(&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;Text&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;, selection);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;453&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_17650_18693_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17650_18693_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_17650_18693_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17650_18693_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_17650_18693_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_17650_18693_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_17650_18693_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_17650_18693_Open_Text').style.display='inline';" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_17650_18693_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_17650_18693_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;454&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        netscape.security.PrivilegeManager.enablePrivilege(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;UniversalXPConnect&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;455&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; clip &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Components.classes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;@mozilla.org/widget/clipboard;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;].createInstance(Components.interfaces.nsIClipboard);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;456&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; trans &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Components.classes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;@mozilla.org/widget/transferable;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;].createInstance(Components.interfaces.nsITransferable);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;457&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;clip &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;trans) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;458&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;459&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        trans.addDataFlavor(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;text/unicode&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;460&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; len &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Object();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;461&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; str &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Components.classes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;@mozilla.org/supports-string;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;].createInstance(Components.interfaces.nsISupportsString);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;462&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        str.data &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; selection;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;463&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        trans.setTransferData(&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;text/unicode&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,str,selection.length&lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;464&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; clipid&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;Components.interfaces.nsIClipboard;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;465&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;clip) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;466&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                        clip.setData(trans,&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,clipid.kGlobalClipboard);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;467&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;468&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;469&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                clickClose : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;470&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                index : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;471&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                type : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;dynamic&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;472&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;473&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;474&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;475&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        _this.bind();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;476&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;477&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_18902_19429_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_18902_19429_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_18902_19429_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_18902_19429_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_18902_19429_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_18902_19429_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_18902_19429_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_18902_19429_Open_Text').style.display='inline';" /&gt;    hidden : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (level) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_18902_19429_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_18902_19429_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;478&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;479&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        level &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; level &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;480&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;481&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_18997_19393_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_18997_19393_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_18997_19393_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_18997_19393_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_18997_19393_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_18997_19393_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_18997_19393_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_18997_19393_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; level; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.active.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_18997_19393_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_18997_19393_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;482&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.active[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;483&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;484&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.iframes[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;485&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( iframeElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;486&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iframeElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;487&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;488&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.locked) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;489&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;490&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.element;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;491&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( menuElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;492&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                menuElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;493&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;494&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;495&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.onHidden(level);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;496&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;497&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19463_19470_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19463_19470_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19463_19470_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19463_19470_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19463_19470_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19463_19470_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19463_19470_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19463_19470_Open_Text').style.display='inline';" /&gt;    onHidden : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (level) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19463_19470_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19463_19470_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;498&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;499&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    hasClass : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (elem, name)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;500&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19513_19599_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19513_19599_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19513_19599_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19513_19599_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19513_19599_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19513_19599_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19513_19599_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19513_19599_Open_Text').style.display='inline';" /&gt;    &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19513_19599_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19513_19599_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;501&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!!&lt;/span&gt;&lt;span style="color: #000000;"&gt;elem &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;elem.className&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;).indexOf(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;name&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;502&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;503&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19632_19937_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19632_19937_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19632_19937_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19632_19937_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19632_19937_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19632_19937_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19632_19937_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19632_19937_Open_Text').style.display='inline';" /&gt;    elemOffset : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt;(elem)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19632_19937_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19632_19937_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;504&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; left &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;505&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; top  &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;506&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19711_19834_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19711_19834_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19711_19834_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19711_19834_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19711_19834_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19711_19834_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19711_19834_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19711_19834_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt; (elem.offsetParent)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19711_19834_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19711_19834_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;507&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            left &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetLeft;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;508&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            top  &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetTop;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;509&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            elem  &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetParent;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;510&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;511&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        left &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetLeft;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;512&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        top  &lt;/span&gt;&lt;span style="color: #000000;"&gt;+=&lt;/span&gt;&lt;span style="color: #000000;"&gt; elem.offsetTop;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;513&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19915_19930_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19915_19930_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19915_19930_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19915_19930_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19915_19930_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19915_19930_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19915_19930_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19915_19930_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19915_19930_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19915_19930_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{x:left, y:top}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;514&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;515&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_19969_20344_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19969_20344_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_19969_20344_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19969_20344_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_19969_20344_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_19969_20344_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_19969_20344_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_19969_20344_Open_Text').style.display='inline';" /&gt;    mouseCoords : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_19969_20344_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_19969_20344_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;516&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20003_20105_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20003_20105_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20003_20105_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20003_20105_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20003_20105_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20003_20105_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20003_20105_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20003_20105_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e.pageX &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.pageY) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20003_20105_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20003_20105_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;517&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20024_20094_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20024_20094_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20024_20094_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20024_20094_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20024_20094_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20024_20094_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20024_20094_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20024_20094_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20024_20094_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20024_20094_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;518&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                x: e.pageX,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;519&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                y: e.pageY&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;520&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;521&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;522&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; d &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; (document.documentElement &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.documentElement.scrollTop) &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.documentElement : document.body;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;523&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20246_20337_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20246_20337_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20246_20337_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20246_20337_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20246_20337_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20246_20337_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20246_20337_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20246_20337_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20246_20337_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20246_20337_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;524&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            x: e.clientX &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; d.scrollLeft,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;525&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            y: e.clientY &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; d.scrollTop&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;526&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;527&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;528&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20392_20634_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20392_20634_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20392_20634_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20392_20634_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20392_20634_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20392_20634_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20392_20634_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20392_20634_Open_Text').style.display='inline';" /&gt;    addEvent : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target,eventType,func)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20392_20634_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20392_20634_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;529&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target.attachEvent)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;530&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20421_20477_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20421_20477_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20421_20477_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20421_20477_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20421_20477_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20421_20477_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20421_20477_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20421_20477_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20421_20477_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20421_20477_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;531&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.attachEvent(&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; eventType, func);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;532&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;533&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target.addEventListener)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;534&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20512_20616_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20512_20616_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20512_20616_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20512_20616_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20512_20616_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20512_20616_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20512_20616_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20512_20616_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20512_20616_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20512_20616_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;535&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.addEventListener(eventType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;mousewheel&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;DOMMouseScroll&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; : eventType, func, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;536&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;537&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;538&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;539&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20682_20930_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20682_20930_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20682_20930_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20682_20930_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20682_20930_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20682_20930_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20682_20930_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20682_20930_Open_Text').style.display='inline';" /&gt;    removeEvent : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target,eventType,func)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20682_20930_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20682_20930_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;540&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target.detachEvent)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;541&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20711_20767_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20711_20767_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20711_20767_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20711_20767_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20711_20767_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20711_20767_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20711_20767_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20711_20767_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20711_20767_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20711_20767_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;542&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.detachEvent(&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;on&lt;/span&gt;&lt;span style="color: #000000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; eventType, func);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;543&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;544&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(target.removeEventListener)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;545&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_20805_20912_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20805_20912_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_20805_20912_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20805_20912_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_20805_20912_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_20805_20912_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_20805_20912_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_20805_20912_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_20805_20912_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_20805_20912_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;546&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.removeEventListener(eventType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;mousewheel&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;DOMMouseScroll&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; : eventType, func, &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;547&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;548&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;549&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;550&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;&lt;strong&gt;3.节点树(TreeMenu)&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;节点树(TreeMenu)是我们实际项目中运用得最多了，网上很著名的有梅花雪的MzTreeVew，听说对大数据量时做了一些优化，效率很高。但我不太喜欢拿来主义，有些东西既然我看不懂或还不明白它为什么要这么做，所以就想尝试着自己来"造轮子"。当然功能肯定是没有MzTreeVew的那么强大，大数据量时我也没有做效率测试，图片先借MzTreeVew的。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;b&gt;无限级节点树&lt;/b&gt;&lt;/p&gt;&#xD;
&lt;p&gt;要实现无限级的功能，如果没有什么小技巧，好象就只能递归了。不过需要注意一定要有个正确条件判断来return，避免死循环。从数据的存放结构来说，一般我们数据库里保存有id、name、parentId字段，树结构里仍然保存这种结构，在展开树节点的时候我们需要根据id获取它所有的子节点，并保存起来，避免第二次重复遍历。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;b&gt;层次关系结构&lt;/b&gt;&lt;/p&gt;&#xD;
&lt;p&gt;我这里是想说，呈现出来的HTML具有层次关系，每一个树节点对象有层次关系。HTML层次关系表现为子节点的元素一定是父节点的元素的子节点，本来我觉得这并不是必须的，后来我发现只有这样做才能保持子子节点的状态，比如我点击一级节点只需要展开所有的二级节点，三级或四级节点的状态不需要改变，HTML结构有这种层次关系支持就很容易实现。与之相对应的是树节点对象，它保存着父节点对象、子节点集合对象、引用元素等等，以方便递归调用，这些信息都被附加到对应的dom元素上。&lt;/p&gt;&#xD;
&lt;p&gt;&lt;b&gt;&#xD;
            带checkbox和radio选择&lt;/b&gt;&lt;/p&gt;&#xD;
&lt;p&gt;实际项目的需求都是复杂多变的，有时候我们需要提供radio单选功能，有时候可能需要提供checkbox多选功能，为了能在后台直接获取选择的值，提供带checkbox和radio选择功能也是必须的。当然，是否创建checkbox或radio我们可以在实例化时配置指定，每一个节点初始化时是否选中也可设置指定，这里需要注意的是我们直接创建checkbox和radio是不能指定name属性的，转个弯换种思路来实现即可。&lt;/p&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;inputTemp.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;input type="radio" name="ids" /&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;];&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;&lt;b&gt;只绑定一个click事件&lt;/b&gt;&lt;/p&gt;&#xD;
&lt;p&gt;看似较复杂的树结构，其实我只给最外面的容器元素绑定了一个click事件而已，另外点击checkbox的联动也是在这个click事件里处理的，因为元素的事件是会向父元素冒泡触发的，并且很容易使用事件对象event获取触发源元素，因此我就能获取你点击是checkbox还是什么其他的元素了，很方便。这样做的好处就是集中来处理一个事件，而不需要臃肿的给每一个元素添加事件，充分展示代码的优雅之美。&lt;/p&gt;&#xD;
&lt;div id="treemenu" &gt;&lt;/div&gt;&#xD;
&lt;div style="text-align: center;"&gt;提示：右击菜单可添加和修改节点&lt;/div&gt;&#xD;
&lt;div style="margin: 20px auto;"&gt;&#xD;
            &lt;input onclick="checkboxMode()" value="checkbox模式" type="button" /&gt;&#xD;
            &lt;input onclick="radioMode()" value="radio模式" type="button" /&gt;&#xD;
            &lt;input onclick="treemenu.expandAll()" value="全部展开" type="button" /&gt;&#xD;
            &lt;input onclick="treemenu.expandAll(false)" value="全部收缩" type="button" /&gt;&#xD;
        &lt;/div&gt;&#xD;
&lt;div&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div &gt;&lt;img title="展开" src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" onclick="this.src=this.title=='展开'?'/codehighlighter/outliningIndicators/ExpandedBlockStart.gif':'/codehighlighter/outliningIndicators/ContractedBlock.gif'; document.getElementById('HighlighterCode_634090189415231244').style.display=this.title=='展开'?'block':'none'; this.title=this.title=='展开'?'收缩':'展开'; " /&gt;&lt;span&gt;&lt;a href="http://www.jonllen.com/scripts/TreeMenu.js"&gt;TreeMenu.js&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  id="HighlighterCode_634090189415231244" style="display: none;"&gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #008080;"&gt;  1&lt;/span&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_0_100_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_100_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_100_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_100_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_0_100_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_0_100_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_0_100_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_0_100_Open_Text').style.display='inline';" /&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_0_100_Closed_Text"&gt;/**/&lt;/span&gt;&lt;span id="CodeHighlighter1_0_100_Open_Text"&gt;&lt;span style="color: #008000;"&gt;/*&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  2&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Author : Jonllen&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  3&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** Create : 2010-05-08&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  4&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** SVN    : 152&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  5&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;** WebSite: http://www.jonllen.com/&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  6&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  7&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  8&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_136_280_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_136_280_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_136_280_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_136_280_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_136_280_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_136_280_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_136_280_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_136_280_Open_Text').style.display='inline';" /&gt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; TreeMenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (settings)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_136_280_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_136_280_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;  9&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_167_248_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_167_248_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_167_248_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_167_248_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_167_248_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_167_248_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_167_248_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_167_248_Open_Text').style.display='inline';" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_167_248_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_167_248_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 10&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;settings.hasOwnProperty(p) ) settings[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings[p];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 11&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 12&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; settings;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 13&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 14&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/None.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 15&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockStart.gif" id="CodeHighlighter1_303_10975_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_303_10975_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_303_10975_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_303_10975_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedBlock.gif" style="display: none;" id="CodeHighlighter1_303_10975_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_303_10975_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_303_10975_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_303_10975_Open_Text').style.display='inline';" /&gt;TreeMenu.prototype &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_303_10975_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_303_10975_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 16&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    list : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array(),&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 17&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_344_901_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_344_901_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_344_901_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_344_901_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_344_901_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_344_901_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_344_901_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_344_901_Open_Text').style.display='inline';" /&gt;    settings : &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_344_901_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_344_901_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 18&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        indent : &lt;/span&gt;&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 19&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        container : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 20&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        recursion : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 21&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        checkbox : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 22&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        radio : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 23&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        name : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;ids&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 24&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_expand_plus : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_expand_plus.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 25&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_expand_minus : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_expand_minus.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 26&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_expand_normal : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_expand_normal.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 27&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_icon_file : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_icon_file.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 28&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_icon_folder : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_icon_folder.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 29&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        tree_icon_folderopen : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/tree_icon_folderopen.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 30&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 31&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_914_1269_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_914_1269_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_914_1269_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_914_1269_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_914_1269_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_914_1269_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_914_1269_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_914_1269_Open_Text').style.display='inline';" /&gt;    item : &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_914_1269_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_914_1269_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 32&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        id : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 33&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        level : &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 34&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        parentId : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 35&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 36&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        title : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 37&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;javascript:;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 38&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        target : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;_self&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 39&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 40&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 41&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 42&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        createExpand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 43&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        expand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 44&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        checked : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 45&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        disabled : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 46&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        children : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 47&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 48&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1298_1645_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1298_1645_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1298_1645_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1298_1645_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1298_1645_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1298_1645_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1298_1645_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1298_1645_Open_Text').style.display='inline';" /&gt;    push : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1298_1645_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1298_1645_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 49&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Object.prototype.toString.apply(item) &lt;/span&gt;&lt;span style="color: #000000;"&gt;===&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;[object Array]&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item : [item];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 50&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1438_1639_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1438_1639_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1438_1639_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1438_1639_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1438_1639_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1438_1639_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1438_1639_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1438_1639_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1438_1639_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1438_1639_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 51&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt;  _item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 52&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1507_1594_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1507_1594_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1507_1594_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1507_1594_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1507_1594_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1507_1594_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1507_1594_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1507_1594_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.item) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1507_1594_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1507_1594_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 53&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;_item.hasOwnProperty(p) ) _item[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.item[p];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 54&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 55&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.push(_item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 56&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 57&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 58&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1680_4183_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1680_4183_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1680_4183_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1680_4183_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1680_4183_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1680_4183_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1680_4183_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1680_4183_Open_Text').style.display='inline';" /&gt;    render : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (container)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1680_4183_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1680_4183_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 59&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 60&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 61&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; container &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; container &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.container;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 62&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 63&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1824_1892_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1824_1892_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1824_1892_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1824_1892_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1824_1892_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1824_1892_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1824_1892_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1824_1892_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;( container.lastChild) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1824_1892_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1824_1892_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 64&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            container.removeChild( container.lastChild);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 65&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 66&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 67&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_1949_4094_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1949_4094_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_1949_4094_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1949_4094_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_1949_4094_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_1949_4094_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_1949_4094_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_1949_4094_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_1949_4094_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_1949_4094_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 68&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 69&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 70&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 71&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 72&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 73&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.title &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.title;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 74&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 75&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 76&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2271_2461_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2271_2461_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2271_2461_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2271_2461_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2271_2461_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2271_2461_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2271_2461_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2271_2461_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.createExpand) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2271_2461_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2271_2461_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 77&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;img&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 78&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                expandElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_plus;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 79&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.appendChild(expandElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 80&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 81&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 82&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; iconElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;img&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 83&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            iconElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.img &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_folder;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 84&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.appendChild(iconElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 85&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 86&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_2733_3263_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2733_3263_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_2733_3263_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2733_3263_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_2733_3263_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_2733_3263_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_2733_3263_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_2733_3263_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.checkbox &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.radio)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_2733_3263_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_2733_3263_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 87&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 88&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                inputTemp.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;input type="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.checkbox&lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;checkbox&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;radio&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" name="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.name &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" /&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 89&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 90&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                inputElem.value &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.id;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 91&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                inputElem.checked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.checked;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 92&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                inputElem.disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.disabled;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 93&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 94&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                itemElem.appendChild(inputElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 95&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                item.inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 96&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 97&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 98&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; aElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;a&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt; 99&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            aElem.href &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.href;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;100&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            aElem.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.target;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;101&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            aElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.html;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;102&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.appendChild(aElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;103&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;104&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.getChlid(item.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;105&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_3589_3774_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3589_3774_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_3589_3774_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3589_3774_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_3589_3774_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_3589_3774_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_3589_3774_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_3589_3774_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( children.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_3589_3774_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_3589_3774_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;106&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_normal : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;107&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iconElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.img &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_file;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;108&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;109&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;110&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; children;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;111&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; itemElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;112&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.iconElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; iconElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;113&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;114&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.aElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; aElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;115&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;116&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            itemElem.treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;117&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;118&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            container.appendChild(itemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;119&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;120&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;121&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        container.onclick &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.onClick;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;122&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        container._this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;123&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;124&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4227_8071_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4227_8071_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4227_8071_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4227_8071_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4227_8071_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4227_8071_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4227_8071_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4227_8071_Open_Text').style.display='inline';" /&gt;    renderChild : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt;(item, checked) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4227_8071_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4227_8071_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;125&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;126&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.children.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;127&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;128&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;129&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.expand;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;130&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;131&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4408_7697_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4408_7697_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4408_7697_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4408_7697_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4408_7697_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4408_7697_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4408_7697_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4408_7697_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.children.length;i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4408_7697_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4408_7697_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;132&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;133&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.children[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;134&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;135&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.itemElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;136&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;137&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4582_7191_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4582_7191_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4582_7191_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4582_7191_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4582_7191_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4582_7191_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4582_7191_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4582_7191_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4582_7191_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4582_7191_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;138&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;139&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.css;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;140&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.title &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.title;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;141&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;142&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;143&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_4847_5054_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4847_5054_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_4847_5054_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4847_5054_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_4847_5054_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_4847_5054_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_4847_5054_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_4847_5054_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childItem.createExpand) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_4847_5054_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_4847_5054_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;144&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;img&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;145&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    expandElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_plus;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;146&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childElem.appendChild(expandElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;147&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;148&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;149&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; iconElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;img&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;150&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                iconElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.img &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_folder;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;151&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.appendChild(iconElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;152&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;153&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_5361_5952_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5361_5952_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_5361_5952_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5361_5952_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_5361_5952_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_5361_5952_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_5361_5952_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_5361_5952_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.checkbox &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.radio)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_5361_5952_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_5361_5952_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;154&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;div&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;155&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    inputTemp.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;input type="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.checkbox&lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;checkbox&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;radio&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" name="&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.name &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;" /&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;156&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputTemp.childNodes[&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;157&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    inputElem.value &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.id;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;158&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    inputElem.checked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.checked;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;159&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    inputElem.disabled &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.disabled;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;160&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;161&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childElem.appendChild(inputElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;162&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    childItem.inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inputElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;163&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;164&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;165&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; aElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; document.createElement(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;a&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;166&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                aElem.href &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.href;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;167&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                aElem.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.target;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;168&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                aElem.innerHTML &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.html;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;169&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.appendChild(aElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;170&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;171&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.getChlid(childItem.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;172&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_6335_6542_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6335_6542_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_6335_6542_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6335_6542_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_6335_6542_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_6335_6542_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_6335_6542_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_6335_6542_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( children.length &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt; )&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_6335_6542_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_6335_6542_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;173&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_normal : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;174&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    iconElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.img &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_file;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;175&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;176&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;177&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.level &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.level &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;178&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;179&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.paddingLeft &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.indent&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;px&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;180&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;181&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;182&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.parent &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;183&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.children &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; children;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;184&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.itemElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;185&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.iconElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; iconElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;186&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expandElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;187&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.aElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; aElem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;188&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;189&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childElem.treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;190&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;191&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                item.itemElem.appendChild(childElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;192&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;193&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;194&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7247_7380_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7247_7380_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7247_7380_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7247_7380_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7247_7380_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7247_7380_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7247_7380_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7247_7380_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.recursion ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7247_7380_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7247_7380_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;195&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;递归&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;196&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;                childItem.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;197&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.renderChild(childItem, checked);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;198&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;199&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;200&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7464_7560_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7464_7560_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7464_7560_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7464_7560_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7464_7560_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7464_7560_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7464_7560_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7464_7560_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( childItem.inputElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt; checked &lt;/span&gt;&lt;span style="color: #000000;"&gt;!=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;undefined&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7464_7560_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7464_7560_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;201&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                childItem.inputElem.checked &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; checked;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;202&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;continue&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;203&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;204&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;205&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childItem.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;206&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            childElem.style.display &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; childItem.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;none&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt; : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;block&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;207&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;208&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;209&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_7742_8065_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7742_8065_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_7742_8065_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7742_8065_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_7742_8065_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_7742_8065_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_7742_8065_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_7742_8065_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;typeof&lt;/span&gt;&lt;span style="color: #000000;"&gt; checked &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;undefined&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_7742_8065_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_7742_8065_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;210&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.expandElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item.expandElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_plus : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_expand_minus);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;211&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.iconElem.src &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item.img &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_folder) : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.tree_icon_folderopen;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;212&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;213&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;expand;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;214&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;215&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;216&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8099_9334_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8099_9334_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8099_9334_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8099_9334_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8099_9334_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8099_9334_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8099_9334_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8099_9334_Open_Text').style.display='inline';" /&gt;    onClick :&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (e) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8099_9334_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8099_9334_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;217&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        e &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; window.event;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;218&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; target &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.target &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; e.srcElement;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;219&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;220&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;._this;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;221&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.parentNode.treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.parentNode.parentNode.treemenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;222&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;223&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8414_8724_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8414_8724_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8414_8724_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8414_8724_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8414_8724_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8414_8724_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8414_8724_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8414_8724_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.nodeType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.type &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;checkbox&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8414_8724_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8414_8724_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;224&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;225&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8493_8542_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8493_8542_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8493_8542_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8493_8542_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8493_8542_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8493_8542_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8493_8542_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8493_8542_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( _this.settings.recursion) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8493_8542_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8493_8542_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;226&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;227&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;228&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.settings.recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;229&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.renderChild(treemenu, target.checked);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;230&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.settings.recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; recursion;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;231&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;232&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;233&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;234&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_8784_9167_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8784_9167_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_8784_9167_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8784_9167_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_8784_9167_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_8784_9167_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_8784_9167_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_8784_9167_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( treemenu &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; treemenu.aElem &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; target) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_8784_9167_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_8784_9167_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;235&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.selectItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;?&lt;/span&gt;&lt;span style="color: #000000;"&gt; _this.selectItem.aElem.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt; : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;236&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.selectItem &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; treemenu;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;237&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.className &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;selected&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;238&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            target.blur();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;239&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9006_9070_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9006_9070_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9006_9070_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9006_9070_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9006_9070_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9006_9070_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9006_9070_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9006_9070_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( treemenu.click) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9006_9070_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9006_9070_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;240&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; treemenu.click(treemenu);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;241&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;242&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            alert(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;the selected item id is : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;treemenu.id);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;243&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;244&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;245&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;246&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( target.nodeType &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span style="color: #000000;"&gt; target.type &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;radio&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;247&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;248&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9276_9328_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9276_9328_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9276_9328_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9276_9328_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9276_9328_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9276_9328_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9276_9328_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9276_9328_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( treemenu) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9276_9328_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9276_9328_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;249&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            _this.renderChild(treemenu);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;250&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;251&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;252&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9370_9873_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9370_9873_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9370_9873_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9370_9873_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9370_9873_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9370_9873_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9370_9873_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9370_9873_Open_Text').style.display='inline';" /&gt;    expandAll : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (expand) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9370_9873_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9370_9873_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;253&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;254&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;===&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;255&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;256&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;257&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9493_9534_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9493_9534_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9493_9534_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9493_9534_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9493_9534_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9493_9534_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9493_9534_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9493_9534_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.recursion) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9493_9534_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9493_9534_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;258&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;259&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;260&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;261&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;262&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;263&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9640_9813_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9640_9813_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9640_9813_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9640_9813_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9640_9813_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9640_9813_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9640_9813_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9640_9813_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9640_9813_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9640_9813_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;264&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;265&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            item.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; expand;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;266&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9748_9803_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9748_9803_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9748_9803_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9748_9803_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9748_9803_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9748_9803_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9748_9803_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9748_9803_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9748_9803_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9748_9803_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;267&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.renderChild(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;268&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;269&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;270&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;271&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.settings.recursion &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; recursion;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;272&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;273&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9904_10167_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9904_10167_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9904_10167_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9904_10167_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9904_10167_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9904_10167_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9904_10167_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9904_10167_Open_Text').style.display='inline';" /&gt;    getChlid : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (id) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9904_10167_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9904_10167_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;274&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Array();&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;275&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;276&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_9994_10140_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9994_10140_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_9994_10140_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9994_10140_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_9994_10140_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_9994_10140_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_9994_10140_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_9994_10140_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_9994_10140_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_9994_10140_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;277&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list[i];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;278&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parentId &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; id)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;279&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10082_10130_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10082_10130_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10082_10130_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10082_10130_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10082_10130_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10082_10130_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10082_10130_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10082_10130_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10082_10130_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10082_10130_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;280&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                list.push(item);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;281&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;282&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;283&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;284&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;285&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10203_10973_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10203_10973_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10203_10973_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10203_10973_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10203_10973_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10203_10973_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10203_10973_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10203_10973_Open_Text').style.display='inline';" /&gt;    remove : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (item, list)&lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10203_10973_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10203_10973_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;286&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        list &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; list &lt;/span&gt;&lt;span style="color: #000000;"&gt;||&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;287&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;;i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; list.length; i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;288&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10290_10946_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10290_10946_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10290_10946_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10290_10946_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10290_10946_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10290_10946_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10290_10946_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10290_10946_Open_Text').style.display='inline';" /&gt;        &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10290_10946_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10290_10946_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;289&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( list[i].id &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.id)&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;290&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10343_10936_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10343_10936_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10343_10936_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10343_10936_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10343_10936_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10343_10936_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10343_10936_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10343_10936_Open_Text').style.display='inline';" /&gt;            &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10343_10936_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10343_10936_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;291&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                list[i].itemElem.parentNode.removeChild(list[i].itemElem);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;292&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                list.splice(i,&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;293&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10488_10893_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10488_10893_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10488_10893_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10488_10893_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10488_10893_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10488_10893_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10488_10893_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10488_10893_Open_Text').style.display='inline';" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parent ) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10488_10893_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10488_10893_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;294&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10561_10776_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10561_10776_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10561_10776_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10561_10776_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10561_10776_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10561_10776_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10561_10776_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10561_10776_Open_Text').style.display='inline';" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt; ( &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;item.parent.children.length; j&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10561_10776_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10561_10776_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;295&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockStart.gif" id="CodeHighlighter1_10630_10754_Open_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10630_10754_Open_Text').style.display='none'; document.getElementById('CodeHighlighter1_10630_10754_Closed_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10630_10754_Closed_Text').style.display='inline';" /&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ContractedSubBlock.gif" style="display: none;" id="CodeHighlighter1_10630_10754_Closed_Image" onclick="this.style.display='none'; document.getElementById('CodeHighlighter1_10630_10754_Closed_Text').style.display='none'; document.getElementById('CodeHighlighter1_10630_10754_Open_Image').style.display='inline'; document.getElementById('CodeHighlighter1_10630_10754_Open_Text').style.display='inline';" /&gt;                        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( item.parent.children[j].id &lt;/span&gt;&lt;span style="color: #000000;"&gt;==&lt;/span&gt;&lt;span style="color: #000000;"&gt; item.id) &lt;/span&gt;&lt;span style="border: solid 1px #808080; background-color: #ffffff; display: none;" id="CodeHighlighter1_10630_10754_Closed_Text"&gt;...&lt;/span&gt;&lt;span id="CodeHighlighter1_10630_10754_Open_Text"&gt;&lt;span style="color: #000000;"&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;296&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            item.parent.children.splice(j,&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;297&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                            &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;break&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;298&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;299&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;300&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    item.parent.expand &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;301&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;this&lt;/span&gt;&lt;span style="color: #000000;"&gt;.renderChild(item.parent);&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;302&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;                }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;303&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;                &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;304&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;            }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;305&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;306&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/InBlock.gif" /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;return&lt;/span&gt;&lt;span style="color: #000000;"&gt; list;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;307&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedSubBlockEnd.gif" /&gt;    }&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #008080;"&gt;308&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;img src="http://www.cnblogs.com/codehighlighter/outliningIndicators/ExpandedBlockEnd.gif" /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;/div&gt;&#xD;
&lt;p&gt;&lt;strong&gt;4.结束语&lt;/strong&gt;&lt;/p&gt;&#xD;
&lt;p&gt;如果有细心的童鞋查看原代码，发现我在实例化活动函数的时指定的参数很多地方都是构建成一个静态对象，如下面的代码段：&lt;/p&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #000000;"&gt;treemenu.push({&lt;br /&gt;            id : &lt;/span&gt;&lt;span style="color: #000000;"&gt;9999&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            parentId : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;无限级树节点&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;#&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            img :  &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;/style/default/ico_profile.gif&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            disabled : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            createExpand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;            click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;function&lt;/span&gt;&lt;span style="color: #000000;"&gt; (treemenu) {&lt;br /&gt;                alert(&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;您选择了&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;treemenu.html);&lt;br /&gt;            }&lt;br /&gt;        });&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;那么为什么要这样做呢？这里我来解释一下我这么做的用意：看上去使用复杂了一点，其实用处可大着呢。指定一个静态对象的参数，可以获取它所有的属性和值，并能与预设的参数属性比较，指定缺失参数的默认值。并且有利于以后的扩展，比如新增一个属性直接在预设的参数对象里添加一个默认属性即可，这样也不用修改之前传递过来的参数，在有多个不定的arguments参数时非常实用。算是一个小技巧吧，像jQeruy插件等构造函数初始化都有用到。&lt;/p&gt;&#xD;
&lt;pre&gt;&lt;div &gt;&lt;div&gt;&lt;!--&lt;br /&gt;&lt;br /&gt;Code highlighting produced by Actipro CodeHighlighter (freeware)&lt;br /&gt;http://www.CodeHighlighter.com/&lt;br /&gt;&lt;br /&gt;--&gt;&lt;span style="color: #008000;"&gt;&lt;span style="color: #000000;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: #008000;"&gt;&#xD;
    &lt;/span&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;默认的参数对象&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;var&lt;/span&gt;&lt;span style="color: #000000;"&gt; item &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; {&lt;br /&gt;        id : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        level : &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        parentId : &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        html : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        title : &lt;/span&gt;&lt;span style="color: #000000;"&gt;''&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        href : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;javascript:;&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        target : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;_self&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        css : &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;item&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        img : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        click : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        createExpand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        expand : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        checked : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        disabled : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;br /&gt;        children : &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;null&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;初始化缺失属性参数默认值&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt;( p &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;in&lt;/span&gt;&lt;span style="color: #000000;"&gt; item) {&lt;br /&gt;        &lt;/span&gt;&lt;span style="color: #0000ff;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;( &lt;/span&gt;&lt;span style="color: #000000;"&gt;!&lt;/span&gt;&lt;span style="color: #000000;"&gt;settings.hasOwnProperty(p) ) settings[p] &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; item[p];&lt;br /&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/pre&gt;&#xD;
&lt;p&gt;本文转载自&lt;a target="_blank" href="http://www.jonllen.com/"&gt;金龙博客&lt;/a&gt;：&lt;a href="http://www.jonllen.com/jonllen/js/menu.aspx"&gt;http://www.jonllen.com/jonllen/js/menu.aspx&lt;/a&gt;，转载请保留此段声明。&lt;/p&gt;&#xD;
&lt;link rel="stylesheet" href="http://www.jonllen.com/style/default/admin.css" /&gt;&#xD;
&#xD;
        &#xD;
        &#xD;
        &#xD;
        &#xD;
&lt;/div&gt;&lt;img src="http://www.cnblogs.com/Jonllen/aggbug/1731233.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/Jonllen/archive/2010/05/09/menu.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/09/12/TinyMce.html</id><title type="text">TinyMce在线编辑器完美打造成Asp.Net服务器自定义控件</title><summary type="text">玩了tiny_mce在线编辑器好几个星期，今天终于差不多把所有的功能都给完成了，确切的说是把编辑器的插件功能完美的整合在我的博客里面，解决一些小的bug，这还得意于它本身是开源免费的，这里我实现的功能主要有：修改图片和多媒体文件上传和浏览功能；增加signature个性签名(关联博客)和insertcode插入代码(整合CodeHighlighter代码高亮显示)功能插件；修改编辑器内按下Ctrl...</summary><published>2009-09-12T08:42:00Z</published><updated>2009-09-12T08:42:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/09/12/TinyMce.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/09/12/TinyMce.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/07/13/PowerDesigner.html</id><title type="text">使用PowerDesigner的建模创建升级管理数据库</title><summary type="text">PowerDesigner是一种著名的CASE建摸工具，最开始为数据库建模设计，即物理模型(Physical Data Model)用于生成数据库表结构，还有面向对象模型(Object Oriented Model)，用于建立UML模型的结构，可以直接生成CS代码，还有其他的模型等等，不同的模型之间可以相互的转化。我最中意的就是它的物理模型直接设计生成数据库，给我们对数据库的生成升级维护带来极大的...</summary><published>2009-07-13T01:20:00Z</published><updated>2009-07-13T01:20:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/07/13/PowerDesigner.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/07/13/PowerDesigner.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/06/28/jssave.html</id><title type="text">tinyMce在线编辑器内JavaScript实现按Ctrl+S无刷新保存</title><summary type="text">以前也用过几个编辑器拉，如FCK，CUTEDTOR等，它们大都实现了很不错了的功能，也有丰富的插件使用。不过我还是觉得TinyMCE在线编辑器好用，它是采用纯JS客户端脚本技术构建，是一个轻量级加载速度非常快的WEB的文本编辑控件，并且TinyMCE是一个根据LGPL license发布的自由软件，你可以把它用于商业应用。由于最进在做一个博客系统需要有在线编辑器，于是便找了TinyMCE在线编辑器...</summary><published>2009-06-28T07:10:00Z</published><updated>2009-06-28T07:10:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/06/28/jssave.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/06/28/jssave.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/06/23/1509002.html</id><title type="text">SQL UPDATE 联合表更新的问题</title><summary type="text">两个表,一个辩论表,一个辩论评论表。结构如下:[代码][代码]当删除辩论评论的时候辩论表的冗于字段fdDebaActorCount(参与人数)、fdDebaSquareCount(正方支持人数)、fdDebaReverseCount(反方支持人数)字段要相应的减一，SQL语句如下：[代码]但是为什么是使用以上SQL语句联合更新辩论表那几个字段的时候影响的记录条数只有一条呢，明明指定了2条记录但是联...</summary><published>2009-06-23T02:53:00Z</published><updated>2009-06-23T02:53:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/06/23/1509002.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/06/23/1509002.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/04/05/1429849.html</id><title type="text">门户网站的形成—CMS内容管理系统</title><summary type="text">终于可以稍微停下来不用加班了，这是我进时代财富&amp;#169;过得最轻松的一个双休，总算是可以放下心来好好的调整一下。话说我三月份开始在时代财富公司上班，那怎一个忙字了得？别以为你是刚进公司新员工就要有一个适应环境的过程为由，工作上可以给你放宽一下，刚进公司Earth给我一个事例，是公司.Net框架的应用，因为我们公司是有自己的开发框架(Studio)，几乎所有项目都依赖此框架进行开发的，所以我进了这...</summary><published>2009-04-05T08:03:00Z</published><updated>2009-04-05T08:03:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/04/05/1429849.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/04/05/1429849.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/03/28/1424143.html</id><title type="text">2009新的篇章，惠海→时代财富→广佛都市网</title><summary type="text">在精神委靡的状态，无聊回到的博客园，做个记号(于佛山出差加班时)。 在今年，其实还是有瞒多的变化，年初，我离开了我在广州工作的近一年的公司&amp;#8212;惠海IT连锁， 要离开的时候那段时间确实是有点舍不得，毕竟在那里工作了那么久，每天大家都相处在一起，一起工作，去蓝与白吃饭，这里我要特别感谢我的经理xkp(netfoxer),在惠海他很照顾我，我也再他那里学了不少东西，对每个人也非常的好。不过我离...</summary><published>2009-03-28T14:11:00Z</published><updated>2009-03-28T14:11:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/03/28/1424143.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/03/28/1424143.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/01/07/1370775.html</id><title type="text">二次开发WinWebMail邮件系统接口 - 企业邮件服务器解决方案</title><summary type="text">WinWebMail,是一个比较轻量级的邮件服务器系统,适用于中小型企业的邮件系统,功能也比较齐全,关于它的详细介绍可参见官网地址:http://www.winwebmail.com/.从网上去下载一个安装到机器上,我们公司服务器上安装的是WinWebMail 3.7.6.1 企业版,安装的时候它回自动生成网站文件目录,全部都是ASP的页面,在IIS里面创建一个虚拟目录指向该Web文件夹,按照他的...</summary><published>2009-01-06T17:08:00Z</published><updated>2009-01-06T17:08:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/01/07/1370775.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/01/07/1370775.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/01/05/1368632.html</id><title type="text">一个Windows后台服务(.Net的C#版) - 定时访问数据库循环发送手机短信</title><summary type="text">所谓Windows后台服务,即后台自动运行的程序,一般随操作系统启动而启动,在我的电脑 服务后应用程序 服务里面能看到当前电脑的服务.一般而言,程序上用VC、C++写Windows服务,但是我对这些语言不是很熟,一般编程用C#较多,所以就用C#语言写了一个Windows服务.其实需求是这样的,做那个报价系统的时候加入了发短信的功能,订单处理完即将发货的时候要发送短信都客户手机上,公司内部员工处理订...</summary><published>2009-01-04T16:54:00Z</published><updated>2009-01-04T16:54:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/01/05/1368632.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/01/05/1368632.html"/></entry><entry><id>http://www.cnblogs.com/Jonllen/archive/2009/01/03/1367325.html</id><title type="text">asp项目实战 — 报价订购系统</title><summary type="text">其实我以前在学校里面并没有学过asp的,以前在学校里面学的java的东西最多,其次是.net的课程,不过我一直对.net很感兴趣,好象不只是因为java比较难.net比较人性化些,就感觉它好易用.用.net也做过几个项目了,但是还没有用asp做过,对它还是有点想法.好象听别人说,asp是asp.net的前身哦,全称为Active Server Page动态页面,服务器端解析也是用IIS,但是它不需...</summary><published>2009-01-02T16:28:00Z</published><updated>2009-01-02T16:28:00Z</updated><author><name>Jonllen Peng</name><uri>http://www.cnblogs.com/Jonllen/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Jonllen/archive/2009/01/03/1367325.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Jonllen/archive/2009/01/03/1367325.html"/></entry></feed>
