 |
 |
|
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+='
| | |