What about utilizing two separate XML files. The first files contains the elements that predicate the loading of the second XML file.
Yes, it's more than one file, but may be a more practical approach as opposed to overwriting the onLoad event handler. ...Rob _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com