var eBDSectionC = {

  calls : new Array(),
  
   /**************************************************************************
      PUBLIC METHODS
   *************************************************************************/

  show: function(url, callbackFunction,parametres)
  {
    var i = this.calls.length;
    this.calls[i] = callbackFunction;
    ajaxCallerC.get('/_ajax/Section.show' + url, null, this._getResponse, true, i,parametres);
  },

  /**************************************************************************
     PRIVATE METHODS
  *************************************************************************/

  _getResponse: function(xml,headers,context,parametres)
  {
  	if (xml != null)
  	{
		var callback = eBDSectionC.calls[context];
		/*alert(xml.getElementsByTagName("todo").length);*/
  		var html = xml.getElementsByTagName("body")[0].firstChild.nodeValue;
  		if (callback != null)
  		{ callback(html,parametres); }
  	}
  }
};
