I was looking to implement a document object for DOM interaction from javascript like the ExpandoObject in this link http://www.codeproject.com/KB/cs/dynamicincsharp.aspx. The
current issue is I can create a "document" object that contains the html elements within, but in javascript you can call "document.formName" to reference a form from within the document. My purpose would be to create logic inside
the TryGetMember function of the DynamicObject class to return a form object based off business logic.

also, javascript might call document.write code that inserts new forms that don't exist before run time.