Thanks for the flash detect help guys.... PPK: Your flash detect engine is a lot neater than the mooock one even though they work in the same manner Im just going to modify it so that I can use it to spit out either <FLASH> or <IMG> in the document at runtime...