 |
|
function showNode(pnode, nivell) {
var html='';
if (!pnode.visible) return html;
if (nivell==0) {
html+=' |
';
html+=' | ';
html+='
';
html+='';
html+='| ';
html+=putName(pnode,nivell);
html+=' | ';
html+='
';
html+='';
html+=' | ';
html+='
';
}
else {
if (nivell==1) {
html+='';
html+='![]() | ';
html+='';
html+=putName(pnode,nivell);
html+=' | ';
html+='
';
}
else {
html+='';
if (nivell>2) html+=' | ';
html+='';
if (nivell==2) {
html+=' ';
}
else {
html+=' ';
}
html+=' | ';
html+='';
html+=putName(pnode,nivell);
html+=' | ';
html+='
';
}
}
if (pnode.swdespl==1 && pnode.fills.length>0) {
if (nivell==0) {
html+='';
html+='';
html+='';
}
else {
html+='';
html+=' | ';
html+='';
html+='';
}
var cont=0;
for (cont=0;cont';
html+='';
html+='';
}
return html;
}
function putName(pnode,nivell) {
var html='';
html+='';
else html+=pnode.href+'">';
html+=pnode.nom;
html+='';
return html;
}
function showArbre() {
var html='';
if (nodes[0]!=null) {
var cont=0;
for (cont=0;cont';
var element=document.getElementById?document.getElementById('datos'):(document.all?document.all('datos'):null);
if (element!=null)
element.innerHTML=html;
else
alert("L'arbre no es pot visualitzar");
}
function expandSelected() {
var trobat=false;
var pos=0;
var cont=0;
for (cont=0;cont
 |
 |
|
 |
 |
|
 |
| |
|
|
 |
 |
Actualizado el 2 de Marzo de 2006
|
 |
 |
 |
 |
 |
|
 |
|
|
|
| |