  function cLink(){
    
    // public properties
    this.onclick = null;
    this.onmousemove = null;
    this.onmouseup = null;
    this.onmousedown = null;
    
    // private properties
    var m_sText;
    var m_sUrl = '#';
    var m_sTarget;
    var m_oSelf = this;
    // -------------------------------------------------------------------    
    this.set = function(sText, sUrl, sTarget){
      m_sText   = typeof(sText)   == 'undefined' ? ''       : sText;  
      m_sUrl    = typeof(sUrl)    == 'undefined' ? '#'      : sUrl;  
      m_sTarget = typeof(sTarget) == 'undefined' ? '_blank' : sTarget;    
    };
    
    // -------------------------------------------------------------------        
    this.get = function(){
      var r = {Text   : m_sText, 
               Url    : m_sUrl,
               Target : m_sTarget,
               onclick : this.onclick,
               onmousemove : this.onmousemove,
               onmouseup : this.onmouseup,
               onmousedown : this.onmousedown
              };
      return r;  
    };
    // -------------------------------------------------------------------        
  }
