  
  /**
  * Erstellen eines iFrames, welches die Daten lädt
  * @param    string     name      iFrame-Name
  * @param    string     src       Source-Address
  */ function rc_ajax_execurl( name, src )
  {
    var iframe_name = 'rc_ajax_iframe_' + name;
    
    // Nachsehen ob bereits ein Element mit der ID existiert
    var iframes = document.body.getElementsByTagName('iframe');
    for( x=0; x < iframes.length; x++ ) {
      if( iframes[x].getAttribute('id') === iframe_name ) {
        document.body.removeChild( iframes[x] );
        break;
        
      }
    }
    delete iframes;
    
    // Neues iFrame erstellen
    var iframe = document.createElement('iframe');
    iframe.setAttribute('id', iframe_name);
    iframe.setAttribute('src', src);
    iframe.style.display = 'none';
    document.body.appendChild( iframe );
    delete iframe;
    
  }
  
  /**
  * Erstellen eines Daten-Descriptors
  * @param    object    mother            Mohter-Object
  * @param    string    id                ID of the Children
  */ function rc_ajax_create_descriptor( mother, id )
  {
    var divItem = document.createElement('div');
    divItem.setAttribute('id', id);
    mother.appendChild( divItem );
    delete divItem;
    
  }
  
  /**
  * Nachladen eines Stylesheets
  * @param    object     window    Window-Name
  * @param    string     src       Source-Address
  */ function rc_ajax_loadcss( mywindow, src )
  {
    var linkObject = mywindow.createElement('link');
    linkObject.setAttribute('rel', 'stylesheet');
    linkObject.setAttribute('type', 'text/css');
    linkObject.setAttribute('href', src);
    mywindow.getElementsByTagName('head')[0].appendChild( linkObject );
    delete linkObject;
    
  }
  
  
  /**
  * BodyOnload Handler
  * @var    array
  * @access private
  */ var onLoadStack = new Array();
     window.onload = function() { rc_ajax_exec_onload(); }
  
  /**
  * Erstellen eines iFrames, welches die Daten lädt
  * @param    string     name      iFrame-Name
  * @param    string     src       Source-Address
  * @access   public
  * @return   void
  */ function rc_ajax_onload( myFunction )
  {
    onLoadStack.push( myFunction );
  }
  
  /**
  * Ausführen des Onload-Stacks
  * @access   public
  * @return   void
  */ function rc_ajax_exec_onload()
  {
    for( i in onLoadStack )
      onLoadStack[ i ]();
  }
  
  
  /**
  * Images Preloader
  * @var    array
  * @access private
  */ var preloadImageStack = new Array();
  
  /**
  * Ein Bild Preloaden
  * @param    string     src       Source-Address
  * @access   public
  * @return   void
  */ function rc_ajax_preload_image( src )
  {
    var myImage = new Image();
    myImage.src = src;
    preloadImageStack.push( myImage );
    
  }