
//----------------------------------------------------------------------------
//
// Invoke and instantiate the global "Eden" object, if it hasn't already been
// created.
//
if (typeof Eden == "undefined" || !Eden) {
    var Eden = function() {

        //------------------------------------------------------------------------
        // Private methods
        //------------------------------------------------------------------------
        
        // Yeah, they'd go here

        //--------------------------------------------------------------------
        // Public Methods
        //--------------------------------------------------------------------
        return {

            //--!! document.write() is not valid for the XHTML DOM.  Things have
            //--!! been working because we're currently interpreting XHTML as HTML
            //--!! (using an HTML MIME type).  To be more future-proof, let's have
            //--!! the core object decide how to send output to the document.  It'll
            //--!! be easier to modify, if/when necessary.
            output: function(txtOut) {
                document.write(txtOut);
            }

        };

    }(); // End Eden object
}

