/*
other ideas for function handle()

switch(targ.property) case 'text'//targ.className, targ.id, targ.title//for non-unique items w/diffirent class styles
switch(event) case event.target
*/

function handle(targ) {

switch(true) {
  case targ.className=='titleBar':
    collapseBlock(targ.parentNode.lastChild);
    break;
  default:
    alert("No handler");
    break;
}
}
function collapseBlock(obj) {

// alert(obj.nodeName);
if (obj.style.display == "none") {
  obj.style.display="block";
} else {
  obj.style.display="none"; 
}

}


function ini() {



}
