var rules = {
  '.nuoroda' : function(el) {
    el.onclick = function() {
      var url = 'nuorodos/geturl/'+get_id(el);
      new Ajax.Request(url,{method: 'get',onComplete: goto2});
      return false;
    }
  }
};
Behaviour.register(rules);
