var list_items = document.getElementsByTagName("li");
for (var i = 0; i < list_items.length; ++i) { var list_item = list_items[i];
console.log(list_item);
var show = list_item.getAttribute("show"); if (show != []._) { var elementToShow = document.getElementById(show); console.log("elementToShow: " + elementToShow ); if (elementToShow != []._) { list_item.onclick = function() { elementToShow.display = 'block'; } elementToShow.display = 'none';
}
elementToShow.display = 'none';
}
}
console.log("Common.js (" + list_items.length + ")");}