function supports_html5_storage() {
return (typeof localStorage !== "undefined");
}
var a = "https", b = escape(document.referrer),
c = "undefined" == typeof screen ? "" : screen.width + "*" + screen.height, d = escape(document.URL),
e = document.title.substring(0, 256), u = 0, m = 0;
u=1508068;if (supports_html5_storage()) {
m = localStorage.getItem("megaindex_counter_id");
}
f = document.createElement("script");f.type = "text/javascript";
f.async = !0;f.src = a + "://counter.megaindex.ru/counter.js?t;" + b + ";" + c + ";" + d + ";" + e + ";" + u + ";" + m + ";";
document.getElementsByTagName("head")[0].appendChild(f);