Deprecated. Don't use for new development and try to migrate existing uses.
Use this function in a 'javascript.aspx' menu item to generate a javascript that sets the value of a dropdown control from a popup window.
NOTE: All other options in the dropdown will be removed.
Javascript that performs the required operations.