<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<script type="text/javascript">
function tree(name, text, js,pos) {
if (js == "javascript:void(0);") {
document.write("<div><div style='width:150px'><table><tr><td οnclick='bbb(this)'>" + text
+ "</td></tr></table></div>/n");
} else {
document.write("<div style='display:none;width:150px'> <table><tr><td><a href='" + js + "'>" + text + "</td></tr></table></a></div>/n");
if (pos=='0') {
document.write("</div>");
}
}
}
function bbb(obj){
var a = obj.parentElement.parentElement.parentElement.parentElement.parentElement.getElementsByTagName("div");
for ( var index = 1; index < a.length; index++) {
var d = a[index];
d.style.display = d.style.display == 'none' ? 'block' : 'none';
}
}
</script>
<body>
<script type="text/javascript">
tree('first',"第一层",'javascript:void(0);');
tree('first',"第1层",'#');
tree('first',"第2层",'#');
tree('first',"第3层",'#');
tree('first',"第4层",'#');
tree('first',"第5层",'#');
tree('first',"第6层",'#','0');
tree('s',"第222层",'javascript:void(0);');
tree('s',"第1层",'#');
tree('s',"第2层",'#');
tree('s',"第3层",'#');
tree('s',"第4层",'#');
tree('s',"第5层",'#');
tree('s',"第6层",'#','0');
</script>
</body>
</html>