(I n s e r t i o n   m e t h o d s.)


Step 1 - demo: first link injects link caller and 
         sets timer to periodically call for script updateme.js
       
         found different ways to inject script related to Google's method ... 
         Their correctness is not clear yet ...
               
Step 2 - Now experimentator needs a server. We use PHP. Response apparently works, but it has the
         same server's time stamp. This is not one wants. 
         Possibly, browser or server calls the same script and next updated script is not used.
         We started to create deletion of childElement, but did not finish. 

         We'll try to use different approach in then next step: reserve a data variable from which
         new script will be executed.

Step 3

         Now, time and random number updates from server. We put random parameters in URL string after "?" 
         to shake a Web browser from caching updateme.php file which contains JS response.


Step 4

         Step a side. Just to collect results of our previous job, we added a block into initial code ijection which builds
         user control. The first information channel which is build in previous steps still works and puts random numbers to
         this control now. Additionally ther is a place holder for second channel which it to be invoked by cliking button submit
         by user both should channels should work asynchronoulsy.

         This widjet should work on any page and take two channels from landkey.net now. Crossdomain.

         Although reader should easily to find all the code from this site, for convenience, here are the links:

        insertme.js  - initial injection
        updateme.php - first channel
        second channel is not done yet.

Step 5 Dynamically adding style sheet file for widjet 
instead of generating it in injector. However, the namespace is polluted with my_dialog_id for div. Step 6 Is intended to modify Step5 to inject constols via text with innerHTML and add working second channel for user interaction.