                 debugLogIt('replacing string "' + tmpStr + '"');
                    var xstr = menuPassFunct[xitem.id];
                    menuPassFunct[xitem.id] = xstr.replace(tmpStr, "'menudiv'");
                } else {
                    if (menuPassFunct[xitem.id + "_back"] !== undefined) {
                        menuPassFunct[xitem.id] = menuPassFunct[xitem.id + "_back"];
                    }
                }
                if (menuPassFunct[xitem.id + "_id"] != "") {
                    if 