(function (d, w, i) { var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//metricus.artlebedev.ru/watch.js?"; if (i && i.width) { s.src += '&w=' + i.width + '&h=' + i.height; } s.src += '&t=' + encodeURIComponent(document.title.toString()); if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, screen);