40
| <![CDATA[<script type="text/javascript">
/*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/
(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-81152146-1', 'codel.londrina.pr.gov.br');
ga('send', 'pageview');
/*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/
</script>]]>
|
368
| <![CDATA[<script type="text/javascript">
//<![CDATA[
function YoutubeGalleryClientWidth2() {
return YoutubeGalleryResults2 (
window.innerWidth ? window.innerWidth : 0,
document.documentElement ? document.documentElement.clientWidth : 0,
document.body ? document.body.clientWidth : 0
);
}
function YoutubeGalleryScrollLeft2() {
return YoutubeGalleryResults2 (
window.pageXOffset ? window.pageXOffset : 0,
document.documentElement ? document.documentElement.scrollLeft : 0,
document.body ? document.body.scrollLeft : 0
);
}
function YoutubeGalleryFindHorizontalOffset2(id) {
var node = document.getElementById(id);
var curleft = 0;
var curleftscroll = 0;
var scroll_left = YoutubeGalleryScrollLeft2();
if (node.offsetParent) {
do {
curleft += node.offsetLeft;
curleftscroll =0;
} while (node = node.offsetParent);
var imaged_x=(curleft - curleftscroll)-scroll_left;
return imaged_x;
}
return 0;
}
function YoutubeGalleryResults2(n_win, n_docel, n_body) {
var n_result = n_win ? n_win : 0;
if (n_docel && (!n_result || (n_result > n_docel)))
n_result = n_docel;
return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result;
}
function YoutubeGalleryAutoResizePlayer2(){
var clientWidth=YoutubeGalleryClientWidth2();
var playerObject=document.getElementById("youtubegalleryplayerid_2");
if(playerObject==null) return false;
var mainObject=document.getElementById("YoutubeGalleryMainContainer2");
var parentObject=mainObject.parentNode;
var parentWidth=parentObject.offsetWidth;
var secondaryObject=document.getElementById("YoutubeGallerySecondaryContainer2");
var playerWidth=459;
var x=YoutubeGalleryFindHorizontalOffset2("YoutubeGalleryMainContainer2");
var setWidth=false;
if(playerWidth>parentWidth)
{
playerWidth=parentWidth;
setWidth=true;
}
if(x+playerWidth>clientWidth)
{
playerWidth=clientWidth-x;
setWidth=true;
}
if(playerObject.width!=playerWidth)
setWidth=true;
if(setWidth)
{
mainObject.style.width= (playerWidth) + "px";
var newH=344/(459/playerWidth);
secondaryObject.style.width= (playerWidth) + "px";
secondaryObject.style.height= (newH) + "px";
playerObject.width= (playerWidth) + "px";
playerObject.height= (newH) + "px";
}
}
//]]>
</script>]]>
|