function Folder(a,b,c){this.desc=a;this.hreference=b;this.id=-1;this.isLastNode=this.nodeImg=this.iconImg=this.navObj=0;this.lowlevel=1;this.isOpen=!0;this.iconSrc="../image/folderopen.gif";this.children=[];this.nChildren=0;this.image=c;this.initialize=initializeFolder;this.setState=setStateFolder;this.addChild=addChild;this.createIndex=createEntryIndex;this.hide=hideFolder;this.display=display;this.renderOb=drawFolder;this.subEntries=folderSubEntries;this.outputLink=outputFolderLink}
function initializeFolder(a,b,c){var d=this.nChildren;this.createIndex();var e="<a href='javascript:clickOnNode("+this.id+")'>";0<a?b?(this.renderOb(c+'<td class="tree">'+e+"<img name='nodeIcon"+this.id+"' src='../image/mlastnode.gif' width='16px' height='20px' border='0px' /></a></td>"),c+="<td class=\"tree\"><img src='../image/blank.gif' width='16px' height='20px' /></td>",this.isLastNode=1):(this.renderOb(c+'<td class="tree">'+e+"<img name='nodeIcon"+this.id+"' src='../image/mnode.gif' width='16px' height='20px' border='0px' /></a></td>"),
c+="<td class=\"tree\"><img src='../image/vertline.gif' width='16px' height='20px' /></td>",this.isLastNode=0):this.renderOb("");if(0<d)for(a+=1,b=0;b<this.nChildren;b++)b==this.nChildren-1?this.children[b].initialize(a,1,c):this.children[b].initialize(a,0,c)}function setStateFolder(a){a!=this.isOpen&&(this.isOpen=a,propagateChangesInState(this))}
function propagateChangesInState(a){var b;if(a.isOpen)for(a.nodeImg&&(a.nodeImg.src=a.isLastNode?"../image/mlastnode.gif":"../image/mnode.gif",a.iconImg.src="../image/folderopen.gif"),b=0;b<a.nChildren;b++)a.children[b].display();else for(a.nodeImg&&(a.nodeImg.src=a.isLastNode?"../image/plastnode.gif":"../image/pnode.gif",a.iconImg.src="../image/"+a.image+"Folder.gif"),b=0;b<a.nChildren;b++)a.children[b].hide()}function addChild(a){this.children[this.nChildren]=a;this.nChildren++;return a}
function hideFolder(){"none"!=this.navObj.style.display&&(this.navObj.style.display="none",this.setState(0))}
function drawFolder(a){doc.write("<tr class='"+(1==this.lowlevel?"row_h":"row_"+this.lowlevel%2)+"' id='folder"+this.id+"' style='position:block;' >");doc.write(a);doc.write('<td class="tree">');this.outputLink();doc.write("<img name='folderIcon"+this.id+"' src='"+this.iconSrc+"' width='16px' height='20px' border='0px' /></A>");doc.write("</td>");for(a=0;a<maxlevel-this.lowlevel;a++)doc.write('<td class="tree"></td>');doc.write('<td class="tree">');doc.write("</td>");doc.write(this.desc);doc.write("</tr>");
this.navObj=doc.all["folder"+this.id];this.iconImg=doc.all["folderIcon"+this.id];this.nodeImg=doc.all["nodeIcon"+this.id]}function outputFolderLink(){this.hreference?(doc.write("<a href='"+this.hreference+'\' target="CONTENTS" '),doc.write("onClick='javascript:clickOnFolder("+this.id+")'"),doc.write(">")):doc.write("<a>")}function folderSubEntries(){var a,b=this.nChildren;for(a=0;a<this.nChildren;a++)this.children[a].children&&(b+=this.children[a].subEntries());return b}
function Item(a,b,c){this.desc=a;this.link=b;this.id=-1;this.lowlevel=1;this.iconImg=this.navObj=0;this.iconSrc="../image/"+c+"File.gif";this.initialize=initializeItem;this.createIndex=createEntryIndex;this.hide=hideItem;this.display=display;this.renderOb=drawItem}
function initializeItem(a,b,c){this.createIndex();0<a?b?this.renderOb(c+"<td class=\"tree\"><img src='../image/lastnode.gif' width='16px' height='20px' /></td>"):this.renderOb(c+"<td class=\"tree\"><img src='../image/node.gif' width='16px' height='20px' /></td>"):this.renderOb("")}function hideItem(){"none"!=this.navObj.style.display&&(this.navObj.style.display="none")}
function drawItem(a){doc.write("<tr class='"+(1==this.lowlevel?"row_h":"row_"+this.lowlevel%2)+"' id='item"+this.id+"' style='position:block;' >");doc.write(a);doc.write('<td class="tree">');doc.write("<img id='itemIcon"+this.id+"' src='"+this.iconSrc+"' width='16px' height='20px' border='0px' />");doc.write("</td>");for(a=0;a<maxlevel-this.lowlevel;a++)doc.write('<td class="tree"></td>');doc.write('<td class="tree">');doc.write("</td>");doc.write(this.desc);doc.write("</tr>");this.navObj=doc.all["item"+
this.id];this.iconImg=doc.all["itemIcon"+this.id]}function display(){this.navObj.style.display="block"}function createEntryIndex(){this.id=nEntries;indexOfEntries[nEntries]=this;nEntries++}function clickOnFolder(a){indexOfEntries[a].isOpen||clickOnNode(a)}function clickOnNode(a){a=indexOfEntries[a];a.setState(!a.isOpen)}function initializeDocument(){doc.write("<tbody>");aux0.initialize(0,1,"");doc.write("</tbody>");aux0.display();clickOnNode(0);clickOnFolder(0)}
function gFld(a,b,c){return folder=new Folder(a,b,c)}function gLnk(a,b,c,d){fullLink="";fullLink="'"+c+"' target=\""+a+'"';return linkItem=new Item(b,fullLink,d)}function insFld(a,b){b.lowlevel=a.lowlevel+1;maxlevel<b.lowlevel&&(maxlevel=b.lowlevel);return a.addChild(b)}USETEXTLINKS=1;indexOfEntries=[];maxlevel=nEntries=0;doc=document;selectedItem=browserVersion=0;
