Yes that code will work, but in IE7, you will get the message,No offense to Misty or anyone else but the 'codebase' and entire 'embed' tag should not be used. The above code is cleaner and will validate.
"Click to activate to use this control" hence why javascript file is used.




