Summary: Monitor your network traffic usage with cool charts
Requirements:
Windows Mobile Pocket PC 5 , 6 , 6.1
', '", " "]
},
init: function() {
var t = window[e];
t && this.setOptions(t), this.setContainer(), this.options.theme ? this.loadTheme(this.render) : this.render()
},
setOptionsOnTheFly: function(e) {
this.setOptions(e), this.render()
},
setOptions: function(e) {
s.merge(this.options, e)
},
setContainer: function() {
this.container = this.options.container ? document.querySelector(this.options.container) : document.body, this.containerClasses = "", navigator.appVersion.indexOf("MSIE 8") > -1 && (this.containerClasses += " cc_ie8")
},
loadTheme: function(e) {
var t = this.options.theme; - 1 === t.indexOf(".css") && (t = i + t + ".css");
var n = document.createElement("link");
n.rel = "stylesheet", n.type = "text/css", n.href = t;
var o = !1;
n.onload = s.bind(function() {
!o && e && (e.call(this), o = !0)
}, this), document.getElementsByTagName("head")[0].appendChild(n)
},
render: function() {
this.element && this.element.parentNode && (this.element.parentNode.removeChild(this.element), delete this.element), this.element = r.build(this.options.markup, this), this.container.firstChild ? this.container.insertBefore(this.element, this.container.firstChild) : this.container.appendChild(this.element)
},
dismiss: function(e) {
e.preventDefault && e.preventDefault(), e.returnValue = !1, this.setDismissedCookie(), this.container.removeChild(this.element)
},
setDismissedCookie: function() {
s.setCookie(n, "yes", this.options.expiryDays, this.options.domain, this.options.path)
}
}, a = !1;
(o = function() {
a || "complete" != document.readyState || (c.init(), a = !0, window[t] = s.bind(c.setOptionsOnTheFly, c))
})(), s.addEventListener(document, "readystatechange", o)
}
}
}();