jscript code:
function OnEvent_MenuClicked(MenuItemId, Location, OriginWind)
{
if (MenuItemId == "mnuNew") {
WndNew = MsgPlus.CreateWnd("New.xml", "mnuNew");
} else if (MenuItemId == "mnuAbout") {
WndAbout = MsgPlus.CreateWnd("About.xml", "mnuAbout");
}
The "else if" block has no closing curled bracket.