﻿function init() {
  CheckSize();
  window.onresize = CheckSize;
}
function View(Obj) {
  for (i = 0; i<Obj.childNodes.length; i++) {
    if (Obj.childNodes[i].nodeType == 1 && Obj.childNodes[i].nodeName == "UL") {
      SubObj = Obj.childNodes[i];
      if ( SubObj.style.display == 'block' ) {
        SubObj.style.display = 'none';
      } else {
        SubObj.style.display = 'block';
      }
    }
  }
}
