Code treeview.js var menuskin ="skin"; var node =null;
//Calculate string length, one chinese char impropriate two byte. String.prototype.lenB =function() { returnthis.replace(/[^\x00-\xff]/g,"**").length; }
function hideMenu() { popupMenu.style.visibility ="hidden"; }
function highlighItem() { if (event.srcElement.className =="menuitems") { event.srcElement.style.backgroundColor ="highlight"; event.srcElement.style.color ="white"; } }
function lowlightItem() { if (event.srcElement.className =="menuitems") { event.srcElement.style.backgroundColor =""; event.srcElement.style.color ="black"; window.status =""; } }