
  // original code by mr.a -- http://www.mr-a.hu
  function startList() {
      if (document.all&&document.getElementById) {
          navRoot = document.getElementById("leftmenu");
          for (i=0; i<navRoot.childNodes.length; i++) {
              node = navRoot.childNodes[i];
              if (node.nodeName=="LI") {
                  node.onmouseover=function() { this.className+=" over"; }
                  node.onmouseout=function() { this.className=this.className.replace(" over", ""); }
              }
          }
      }
  }

  window.onload=startList;

  function kep(mit) {
      window.open(url+'/kep.html?'+mit,'','width=100,height=100,toolbar=no,status=no,resizable=yes,scrollbars=no');
  }


  function jump(o, x) {
      var v = x.options[x.selectedIndex].value;
      if (v) document.location.href = o+v;
  }

  function checkOrderForm() {
      var f = document.forms.orderform;
      for (a = 0; a < f.elements.length; a++) {
          // nem vesszük figyelembe
          if (f.elements[a].name == "megjegyzes") continue;
          
          // megnézzük, hogy kitöltötte-e
          if (!f.elements[a].value) { alert('Valamelyik mezőt nem töltötte még ki!'); return; }
      }
      f.submit();
  }

