Modify the [login to view URL] javascript so that it is has one function that returns an object that can return HTML, that can be inserted in another "frame"... So any functions, css includes etc, need to be written out with that HTML as well i think, as they may not be accessible otherwise.
Please provide a test case, i have included the sample menu frame and the CSS so it should all display ok if you change a couple of URLs.
The calling function that you will create for us should take all the global values from the [login to view URL] as parameters. Preferably the function you create would not be dependent on our current globals, as these may not be retrieved from the same frame... eg
leftMenuObject = createMenu(domains,pages,cid,tid,securityURL,rscid,hideAccounts,.....)
Please also add the following methods to your object,
[login to view URL](); //returns HTML
[login to view URL](domainID); //void delete the item in the array
[login to view URL](pageID); //void delete the item in the array
[login to view URL](pageID,name); //void update the appropriate item in the array
[login to view URL](pageID,newURL); //void update the appropriate item in the array
I believe this would take a competent JavaScript programmer only 1-3 hours to complete.