code: function loadResourcesHT() {
    log( 'loadResourcesHT', 'resMap.length='+resMap.length );
    for( var x=0; x<resMap.length; x++ ) {
      var res = resMap[x];
      log( 'loadResourcesHT', res+" (type="+res[2]+")" );
      var divId = res[0];
      if ( res[2] == 'html' ) {
        loadResourcesHTajax( divId, res[1]+"/html" ); 
        $( "#"+divId ).addClass( "htmldiv" );
      } else if ( res[2] == 'raw' ) {
        loadResourcesHTajax( divId, res[1] );
      } else if ( res[2] == 'inner' ) {
        loadResourcesHTajax( divId, res[1] );
      } else {
        hook = getHookMethod( "loadResourcesHtml", res[2] );
        if ( hook != "" ) {
          log( 'loadResourcesHT', "hook="+hook );
          var param = {}; 
          if ( res[3] != null ) {
            param = res[3]; 
          }
          param.get = getUrlGETparams();
          hookCalls.push( hook+'( "'+divId+'", "'+res[1]+'", '+JSON.stringify( param )+' )'  );
          //eval( hook+"( divId, res[1], res[3] )" );
        }
      }
    }
    ajaxOngoing--;
  }
docs: =====================================================================================================