function Show(obj){
if(document.getElementById && document.createTextNode){
if(obj.style.display == 'none' ){
obj.style.display="block";
return;
}else if(obj.style.display != "none"){
obj.style.display="none";
return;
}
}
}
function arrayElement(){
if(document.getElementById && document.createTextNode){
var ol = document.getElementsByTagName('ol');
for(var i=0;i<ol.length;i++){
if(ol[i].className == 'sub'){
Show(ol[i]);
ol[i].parentNode.onclick=function(){
for(var i=0;this.childNodes.length;i++){
if(this.childNodes[i].className && this.childNodes[i].className == 'sub' ){
Show(this.childNodes[i]);
}
}
}
}
}
}
}
window.onload = function () {
arrayElement();
}