  function cItem(oParent){
    
    // this.onclick     = null; Is reserved to the box Yes-No
    this.onmousedown = null;
    this.onmouseup   = null;
    this.onmousemove = null;
    
    var m_sText;
    var m_sUrl = '#';
    var m_sTarget;
    var m_oIcone;
    var m_sIconeUrl;
    var m_sSep;
    var m_sMsgBox = '';
    var m_sTitle = '';
    var m_oSelf = this;
    var m_oParent = oParent;

    // Graphic object
    var m_oUiImg = null;
    var m_oUiText = null;

    // -------------------------------------------------------------------    
    this.set = function(sText, sUrl, sTarget, sIcone, sIconeUrl, sSep){
      m_sText   = typeof(sText)   == 'undefined' ? ''       : sText;  
      m_sUrl    = typeof(sUrl)    == 'undefined' ? '#'      : sUrl;  
      m_sTarget = typeof(sTarget) == 'undefined' ? '_blank' : sTarget;    
      m_oIcone  = typeof(sIcone)  == 'undefined' ? null     : new cIcone();
      if(m_oIcone != null){
        m_oIcone.setId(sIcone);
      }
      m_sIconeUrl = typeof(sIconeUrl)== 'undefined' ? '' : sIconeUrl;     
      m_sSep      = typeof(sSep)     == 'undefined' ? '' : sSep;               
    };
    
    // -------------------------------------------------------------------        
    this.get = function(){
      var r = {Icone  : m_oIcone,
               IconeUrl : m_sIconeUrl,
               Text   : m_sText, 
               Url    : m_sUrl, 
               Target : m_sTarget,
               Sep    : m_sSep,
               MsgBox : m_sMsgBox,
               Parent : m_oParent,
               Title  : m_sTitle,
               onmousedown : this.onmousedown,
               onmouseup   : this.onmouseup,  
               onmousemove : this.onmousemove
              };
      return r;  
    };
    // -------------------------------------------------------------------        
    this.setTitle = function(sValue){
      m_sTitle = sValue;      
    }
    // -------------------------------------------------------------------        
    this.setMsgBox = function(sValue){
      m_sMsgBox = sValue;      
    }
    // -------------------------------------------------------------------            
    this.setUiImage = function(oImg){
      m_oUiImg = oImg;    
    }
    // -------------------------------------------------------------------        
    this.setUiText = function(oText){
      m_oUiText = oText;    
    }
    // -------------------------------------------------------------------        
    this.getUiImage = function(){
      return m_oUiImg;    
    }
    // -------------------------------------------------------------------        
    this.getUiText = function(){
      return m_oUiText;    
    }
    // -------------------------------------------------------------------        
    
  }
