Site hosted by Angelfire.com: Build your free website today!
") redrawNode(foldersTree, doc, 0, 1, "") doc.close() } function redrawNode(foldersNode, doc, level, lastNode, leftSide) { var i=0 doc.write("") doc.write("
") doc.write(leftSide) if (level>0) if (lastNode) { doc.write("") leftSide = leftSide + "" } else { doc.write("") leftSide = leftSide + "" } displayIconAndLabel(foldersNode, doc) doc.write("
") if (foldersNode.length > 4 && foldersNode[0]) { if (!foldersNode[2]) { level=level+1 for (i=4; i") doc.write("") doc.write(leftSide) if (i==foldersNode.length - 1) doc.write("") else doc.write("") doc.write(foldersNode[i]) doc.write("") } } } } function displayIconAndLabel (foldersNode, doc) { doc.write("") } else { doc.write("onMouseOver='window.status=\"Open folder\"; return true'>") } doc.write("") doc.write(""+foldersNode[3]+"") } function closeFolders(foldersNode) { var i=0 if (!foldersNode[2]) { for (i=4; i< foldersNode.length; i++) closeFolders(foldersNode[i]) } foldersNode[0] = 0 foldersNode[1] = 0 } function clickOnFolderRec(foldersNode, folderName) { var i=0 if (foldersNode[3] == folderName) { if (foldersNode[0]) closeFolders(foldersNode) else { foldersNode[0] = 1 foldersNode[1] = 1 } } else { if (!foldersNode[2]) for (i=4; i< foldersNode.length; i++) clickOnFolderRec(foldersNode[i], folderName) } } function openBranch(branchName) { clickOnFolderRec(foldersTree, branchName) if (branchName=="Start folder" && foldersTree[0]==0) top.folderFrame.location="basefldr.htm" timeOutId = setTimeout("redrawTree()",100) } function initializeTree() { generateTree() redrawTree() } var foldersTree = 0 var timeOutId = 0 generateTree() // Deja de ocultar el contenido a los exploradores antiguos -->