283
| <![CDATA[<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-6172929-9', 'auto');
ga('send', 'pageview');
</script>]]>
|
296
| <![CDATA[<script>
var changeUrlSelect = function () {
window.location = this.options[this.selectedIndex].value
};
var keyupTab = function (a) {
if (a.keyCode == 9) {
document.getElementById("accessibility").removeAttribute("class");
document.querySelector(".nav-accessibility a[accesskey='1']").focus();
ga("send", {
hitType: "event",
eventCategory: "accessibility",
eventAction: "start",
eventLabel: window.location.href,
nonInteraction: true
});
document.onkeyup = null
}
};
window.onload = function () {
//document.getElementById("orgaosSecretarias").onchange = changeUrlSelect;
//document.getElementById("orgaosSubprefeituras").onchange = changeUrlSelect;
//document.getElementById("orgaosOutros").onchange = changeUrlSelect;
document.onkeyup = keyupTab;
$("#nav").affix({
offset: {
top: 100 //(document.querySelector(".header").offsetHeight)
}
})
};
</script>]]>
|