  function GetAjaxCall(url, functionName) {
    url = url +'&'+esPHPSESSION;
    $.ajax({
       url: url,
       processData: false,
       dataType:  'json',
       success: functionName,
       type: 'POST'
     });
  }


  function SOQ_ToggleCheckboxTree(oCheckboxChecked) {
    $(oCheckboxChecked).parent().parent().find("ul input").each(function(){
      this.checked = oCheckboxChecked.checked;
    });
  }

  function SetImage(cssIdName, newPreviewPath, newDetailPath) {
    //$('#'+cssIdName).find('a').each(function(){this.href=newDetailPath});
    $('#'+cssIdName).find('img').each(function(){this.src=newPreviewPath});
  }
