window.CuteEditor_OnInitialized(editor)" the "window" is not needed . I removed it and now I get the alert in CuteEditor_OnInitialized(editor) function executed.
So I know what to do now.
Thanks .
murli