   menulist.prototype.inherit = function(props, depth, state)
   {
      depth++;
      for(var i = 0; i < this.items.length; i++)
      {
         with(this.items[i])
         {
           if(it_exist)
           {
              is_child.inherit(props, depth, state);
           }
         }
      }
      if( depth != state)	 this.setproperties( props );
      return true;
   }
   menulist.prototype.setproperties = function(props)
   {
      for(var j = 0; j < props.length; j++)
      {
         eval( eval('"'+ this.obj+ '.'+ props[j][0]+ '"') + '= '+ props[j][1]+ '');
      }
      return true;
   }