Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/dashboard.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/dashboard.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/dashboard.html	(working copy)
@@ -301,7 +301,7 @@
 </style>
 
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'echarts', 'chalk', 'white', 'moment'], function (a, Vue, ELEMENT, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'echarts', 'chalk', 'white', 'moment', 'jquery-cookie'], function (a, Vue, ELEMENT, echarts) {
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
         $.ajax({
@@ -913,15 +913,18 @@
                     this.pageModel = "main";
                     $("#webconsole").show();
                 }
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    //message: gettext("WebUI graph function is disabled. ") + '<a href="/apv/system/access_control/access_control/_edit">' + gettext("Enable") + '</a>' + gettext(" it to view more graphs."),
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
                 this.clearTimer();
                 this.getSystemTimezone();
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/gslb_dashboard.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/gslb_dashboard.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/gslb_dashboard.html	(working copy)
@@ -193,7 +193,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -681,14 +681,18 @@
             },
             created: function () {
                 this.getSystemTimezone();
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
             },
             destroyed: function () {
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/llb_dashboard.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/llb_dashboard.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/llb_dashboard.html	(working copy)
@@ -121,7 +121,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -765,14 +765,18 @@
             },
             created: function () {
                 this.getSystemTimezone();
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
             },
             destroyed: function () {
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/gslb/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/gslb/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/gslb/monitor/monitor.html	(working copy)
@@ -201,7 +201,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -385,14 +385,18 @@
                     this.drawer = true;
                     //this.handleSelectTree(list_name)
                 }
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
                 this.setTimer();
             },
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/llb/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/llb/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/llb/monitor/monitor.html	(working copy)
@@ -454,7 +454,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -1518,14 +1518,18 @@
                         this.drawer = true;
                         this.handleSelectTree(list_name)
                     }
+                    const noWarning = $.cookie('no_warning');
                     {% if webui_graph_disable %}
-                    this.$message({
-                        dangerouslyUseHTMLString: true,
-                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                        showClose: true,
-                        duration:0,
-                        type: 'warning'
-                    });
+                    if(!noWarning) {
+                        this.$message({
+                            dangerouslyUseHTMLString: true,
+                            message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                            showClose: true,
+                            duration:0,
+                            type: 'warning'
+                        });
+                        $.cookie('no_warning', 'true');
+                    }
                     {% endif %}
                     this.initServiceList();
                 }
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/seg_slb/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/seg_slb/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/seg_slb/monitor/monitor.html	(working copy)
@@ -178,7 +178,7 @@
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 {% set segment_name = SESSION.segment_name %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -1221,14 +1221,18 @@
                         this.handleSelectTree(list_name, this.service_list.type, list_protocol)
                     }
                 }
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
                 this.getSystemTimezone();
                 
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/slb/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/slb/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/slb/monitor/monitor.html	(working copy)
@@ -1261,7 +1261,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -5477,14 +5477,18 @@
                         this.handleSelectTree(list_name, this.service_list.type, list_protocol)
                     }
                 }
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
                 this.getSystemTimezone();
                 
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/sslo/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/sslo/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/sslo/monitor/monitor.html	(working copy)
@@ -690,7 +690,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         
         var loadingConfig = {
             text: 'loading',
@@ -2472,7 +2472,9 @@
                 }
             },
             created : function() {
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
+                if(!noWarning) {
                     this.$message({
                         dangerouslyUseHTMLString: true,
                         message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
@@ -2480,6 +2482,8 @@
                         duration:0,
                         type: 'warning'
                     });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
 
                 this.initStatsDate();
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/system/monitor/monitor.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/system/monitor/monitor.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/monitoring/system/monitor/monitor.html	(working copy)
@@ -867,7 +867,7 @@
 </style>
 
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'echarts', 'chalk', 'white', 'moment'], function (a, Vue, ELEMENT, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'echarts', 'chalk', 'white', 'moment', 'jquery-cookie'], function (a, Vue, ELEMENT, echarts) {
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
         $.ajax({
@@ -1645,14 +1645,18 @@
                 if (tab) {
                     this.activeName = tab;
                 }
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
                 this.getSystemTimezone();
                 this.getVirtualService();
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/slb_dashboard.html
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/slb_dashboard.html	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/apv/templates/slb_dashboard.html	(working copy)
@@ -575,7 +575,7 @@
 
 {% set lang = SESSION.pref.get('default_lang') if SESSION.pref.get('default_lang') else 'en' %}
 <script type="text/javascript">
-    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery'], function (a, Vue, ELEMENT, ellanguage, echarts) {
+    require(['hive', 'vue', 'ELEMENT', 'ELEMENT-{{ lang }}','echarts', 'chalk', 'white', 'jquery', 'jquery-cookie'], function (a, Vue, ELEMENT, ellanguage, echarts) {
         $HIVE.set_help_link("{{ lang }}/app.html#id585379");
         var system_timezone = 0;
         var theme = localStorage.getItem("theme");
@@ -2214,14 +2214,18 @@
             },
             created: function () {
                 this.getSystemTimezone();
+                const noWarning = $.cookie('no_warning');
                 {% if webui_graph_disable %}
-                this.$message({
-                    dangerouslyUseHTMLString: true,
-                    message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
-                    showClose: true,
-                    duration:0,
-                    type: 'warning'
-                });
+                if(!noWarning) {
+                    this.$message({
+                        dangerouslyUseHTMLString: true,
+                        message: interpolate(gettext("WebUI graph function is disabled. %s Enable %s it to view more graphs."),['<a href="/apv/system/access_control/access_control/_edit">', '</a>']),
+                        showClose: true,
+                        duration:0,
+                        type: 'warning'
+                    });
+                    $.cookie('no_warning', 'true');
+                }
                 {% endif %}
             },
             destroyed: function () {
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/config.js
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/config.js	(revision 39032)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/config.js	(working copy)
@@ -67,7 +67,8 @@
         "ext-language":"build/ext-language_tools",
         "mode-tcl":"build/mode-tcl",
         "theme-dreamweaver":"build/theme-dreamweaver",
-        "lodash":"build/lodash.min"
+        "lodash":"build/lodash.min",
+        "jquery-cookie":"build/jquery.cookie.min"
     },
     shim: {
         "messenger": {
Index: /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/lib/utils/jquery.cookie.js
===================================================================
--- /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/lib/utils/jquery.cookie.js	(revision 0)
+++ /branches/rel_apv_10_7/usr/click/webui/htdocs/new/src/media/js/lib/utils/jquery.cookie.js	(working copy)
@@ -0,0 +1,117 @@
+/*!
+ * jQuery Cookie Plugin v1.4.1
+ * https://github.com/carhartl/jquery-cookie
+ *
+ * Copyright 2013 Klaus Hartl
+ * Released under the MIT license
+ */
+(function (factory) {
+	if (typeof define === 'function' && define.amd) {
+		// AMD
+		define(['jquery'], factory);
+	} else if (typeof exports === 'object') {
+		// CommonJS
+		factory(require('jquery'));
+	} else {
+		// Browser globals
+		factory(jQuery);
+	}
+}(function ($) {
+
+	var pluses = /\+/g;
+
+	function encode(s) {
+		return config.raw ? s : encodeURIComponent(s);
+	}
+
+	function decode(s) {
+		return config.raw ? s : decodeURIComponent(s);
+	}
+
+	function stringifyCookieValue(value) {
+		return encode(config.json ? JSON.stringify(value) : String(value));
+	}
+
+	function parseCookieValue(s) {
+		if (s.indexOf('"') === 0) {
+			// This is a quoted cookie as according to RFC2068, unescape...
+			s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\');
+		}
+
+		try {
+			// Replace server-side written pluses with spaces.
+			// If we can't decode the cookie, ignore it, it's unusable.
+			// If we can't parse the cookie, ignore it, it's unusable.
+			s = decodeURIComponent(s.replace(pluses, ' '));
+			return config.json ? JSON.parse(s) : s;
+		} catch(e) {}
+	}
+
+	function read(s, converter) {
+		var value = config.raw ? s : parseCookieValue(s);
+		return $.isFunction(converter) ? converter(value) : value;
+	}
+
+	var config = $.cookie = function (key, value, options) {
+
+		// Write
+
+		if (value !== undefined && !$.isFunction(value)) {
+			options = $.extend({}, config.defaults, options);
+
+			if (typeof options.expires === 'number') {
+				var days = options.expires, t = options.expires = new Date();
+				t.setTime(+t + days * 864e+5);
+			}
+
+			return (document.cookie = [
+				encode(key), '=', stringifyCookieValue(value),
+				options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
+				options.path    ? '; path=' + options.path : '',
+				options.domain  ? '; domain=' + options.domain : '',
+				options.secure  ? '; secure' : ''
+			].join(''));
+		}
+
+		// Read
+
+		var result = key ? undefined : {};
+
+		// To prevent the for loop in the first place assign an empty array
+		// in case there are no cookies at all. Also prevents odd result when
+		// calling $.cookie().
+		var cookies = document.cookie ? document.cookie.split('; ') : [];
+
+		for (var i = 0, l = cookies.length; i < l; i++) {
+			var parts = cookies[i].split('=');
+			var name = decode(parts.shift());
+			var cookie = parts.join('=');
+
+			if (key && key === name) {
+				// If second argument (value) is a function it's a converter...
+				result = read(cookie, value);
+				break;
+			}
+
+			// Prevent storing a cookie that we couldn't decode.
+			if (!key && (cookie = read(cookie)) !== undefined) {
+				result[name] = cookie;
+			}
+		}
+
+		return result;
+	};
+
+	config.defaults = {};
+
+	$.removeCookie = function (key, options) {
+		if ($.cookie(key) === undefined) {
+			return false;
+		}
+
+		// Must not alter options, thus extending a fresh object...
+		$.cookie(key, '', $.extend({}, options, { expires: -1 }));
+		return !$.cookie(key);
+	};
+
+}));
