Index: /branches/rel_ag_9_4_5/proxy/lite/ThemeMP/welcome/welcome.js
===================================================================
--- /branches/rel_ag_9_4_5/proxy/lite/ThemeMP/welcome/welcome.js	(revision 20609)
+++ /branches/rel_ag_9_4_5/proxy/lite/ThemeMP/welcome/welcome.js	(working copy)
@@ -560,17 +560,12 @@
             this.bindEvent()
             this.browseJudge();
             setTimeout(function(){
-                var foundVariable = null, groupType = null;
-                for (var prop in window) {
-                    if (prop.indexOf('_AN_res_limit_check_') !== -1 && typeof window[prop] != "undefined") {
-                        foundVariable = window[prop];
-                        groupType = prop.replace('_AN_res_limit_check_', '');
-                        break;
+                if (_AN_res_limit_check) {
+                    var groupType = Object.keys(_AN_res_limit_check).filter(group => _AN_res_limit_check[group]);
+                    if (groupType.length > 0) {
+                        $('#VRGLimitMsg').html("<h4>vpn resource group \"" + groupType.join(', ') + "\" reaches the maximum number</h4>");
                     }
                 }
-                if (groupType && foundVariable) {
-                    $('#VRGLimitMsg').html("<h4>vpn resource group \"" + groupType + "\" reaches the maximum number</h4>");
-                }
             }, 400);
         }
     }
