function func(tar) {
 document.getElementById(tar).style.backgroundColor = "#000000";     
 document.getElementById(tar).style.Color = "#ffffff";
}

function def(tar) {
  document.getElementById(tar).style.backgroundColor = "";
  document.getElementById(tar).style.Color = "";
}


flag = false;
function tree(tName) {
  tMenu = document.all[tName].style;
  if(tMenu.display == 'none') tMenu.display = "block";
  else tMenu.display = "none";
}
