function sesBehavior(){

   this.sessionID = "";
   this.urlClic = "";

   this.clic = function(elem){
      var oDate = new dateBehavior();
      var oWs = new wsBehavior();
      var oXml = new xmlBehavior();

      oWs.wsUrl = this.urlClic;

      var docXml = oXml.newXmlDoc();

      xmlClic = oXml.newElement(docXml, docXml, "clic");
      xmlClic.setAttribute("sessionid", this.sessionID);

      xmlLabel = oXml.newElement(docXml, xmlClic, "label");
      oXml.addCDATA(docXml, xmlLabel, elem.innerHTML);

      xmlLabel = oXml.newElement(docXml, xmlClic, "href");
      oXml.addCDATA(docXml, xmlLabel, elem.href);

      xmlDate = oXml.newElement(docXml, xmlClic, "clientdatetime");
      oXml.addCDATA(docXml, xmlDate, oDate.nowFormat("YYYYMMDD HH:NN:SS"));

      xmlDate = oXml.newElement(docXml, xmlClic, "serverdatetime");

      xmlError = oXml.newElement(docXml, xmlClic, "error");

      oWs.sendXml(docXml.xml, "", "post", false);

//alert(oWs.text);

      xmlError = null;
      xmlDate = null;
      xmlLabel = null;
      xmlClic = null;

      docXml = null;
      oXml = null;
      oWs = null;
      oDate = null;
   }
}
