33
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"233a26bfd6687818c4f56af8f24f02ed","system.paths":{"root":"","base":""}}</script>]]>
|
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>]]>
|
53
| <![CDATA[<script>
var videoStopped2=false;
var ygAutoPlay2=false;
var ygPlayList2="3hXTAaP_6mk*184,gN28-dgxfWE*185,-iXzQAlSphw*186,9eCLnvR1vyk*187,U17Mc0NL6O4*188".split(",");
var ygCurrentVideoID2="";
//var ygIframeApiReady2=false;
var ygpv2={"autoplay":"0", "hl":"en", "fs":"1", "showinfo":"1", "iv_load_policy":"3", "rel":"1", "loop":"0", "border":"0", "controls":"1", "playerapiid":"ygplayerapiid_ygplayerapiid_2", "enablejsapi":"1", "fullplaylist":"3hXTAaP_6mk*184,gN28-dgxfWE*185,-iXzQAlSphw*186,9eCLnvR1vyk*187,U17Mc0NL6O4*188", "enablejsapi":"1"};
var ygApiStart2=ygpv2["start"];
var ygApiEnd2=ygpv2["end"];
var ytapi_player2;
var ygAPIPlayerBodyPartLoaded=false;
</script>]]>
|
67
| <![CDATA[<script>
function ygStartAPIPlayer_2()
{
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
}
function onPlayerReady2(event)
{
event.target.setVolume(50);
if(ygAutoPlay2)
event.target.playVideo();
}
function ygSetPlayer_2(videoid)
{
ygpv2["start"]=ygApiStart2;
ygpv2["end"]=ygApiEnd2;
videoStopped2=false;
ygCurrentVideoID2=videoid;
ytapi_player2 = new YT.Player("ygplayerapiid_2api", {
width: "459",
id: "ygplayerapiid_2api",
height: "344",
playerVars: ygpv2,
videoId: videoid,
events: {
"onReady": onPlayerReady2,
"onStateChange": onPlayerStateChange2
}
});
}
function onYouTubeIframeAPIReady()
{
ygSetPlayer_2(ygCurrentVideoID2);
}
function ygFindNextVideo2()
{
var d=0;
var v=ygCurrentVideoID2;
for(i=0;ygPlayList2.length;i++)
{
var g=ygPlayList2[i].split("*");
if(g[0]==v)
{
if(i<ygPlayList2.length-1)
d=i+1;
break;
}
}
var g=ygPlayList2[d].split("*");
videoid=g[0];
ygAutoPlay2=true;
YoutubeGalleryHotVideoSwitch2(videoid,"youtube",g[1]);
}
function onPlayerStateChange2(event)
{
if (event.data == YT.PlayerState.ENDED)
{
setTimeout(ygFindNextVideo2, 500);
}
}
ygCurrentVideoID2="3hXTAaP_6mk";
ygAPIPlayerBodyPartLoaded=true;
</script>]]>
|
153
| <![CDATA[<script>
var ygFlashNotFound2=false;
var ygpvFlash2="autoplay=0&hl=en&fs=1&showinfo=1&iv_load_policy=3&rel=1&loop=0&border=0&controls=1&playerapiid=ygplayerapiid_ygplayerapiid_2&enablejsapi=1&fullplaylist=3hXTAaP_6mk*184,gN28-dgxfWE*185,-iXzQAlSphw*186,9eCLnvR1vyk*187,U17Mc0NL6O4*188";
ygApiStart2="0";
ygApiEnd2="0";
var ytplayer;
google.load("swfobject", "2.2");
function yg_flash_runIframePlayerIfReady2()
{
if(ygAPIPlayerBodyPartLoaded)
ygStartAPIPlayer_2();
else
setTimeout(runIframePlayerIfReady2, 500);
}
function onYouTubePlayerReady()
{
ytplayer = document.getElementById("youtubegalleryplayerid_2");
ytplayer.addEventListener("onStateChange", "yg_onPlayerStateChange_flash2");
YGYouTubePlayerReady2(false);
}
function yg_onPlayerStateChange_flash2(newState)
{
if (newState == 0)
{
setTimeout(ygFindNextVideo2, 500);
}
}
function YGYouTubePlayerReady2(playVideo)
{
ytplayer = document.getElementById("youtubegalleryplayerid_2");
setTimeout("changeVolumeAndPlay2("+playVideo+")", 750);
}
function changeVolumeAndPlay2(playVideo)
{
var ytplayer = document.getElementById("youtubegalleryplayerid_2");
if(ytplayer)
{
ytplayer.setVolume(50);
if(playVideo)
ytplayer.playVideo();
}
}
function youtubegallery_updateplayer_youtube_2(videoid,playVideo)
{
if(ygFlashNotFound2)
{
ygAutoPlay2=playVideo;
ygSetPlayer_2(videoid);
return;
}
ygCurrentVideoID2=videoid;
var playerVersion = swfobject.getFlashPlayerVersion();
if (playerVersion.major>0)
{
var params = { allowScriptAccess: "always", wmode: "transparent", allowFullScreen: "true" };
var atts = { id: "youtubegalleryplayerid_2" };
var playerLink="http://www.youtube.com/v/"+videoid+"?version=3&"+ygpvFlash2+"&start="+ygApiStart2+"&end="+ygApiEnd2;
if(playVideo)
playerLink=playerLink.replace("autoplay=0","autoplay=1");
swfobject.embedSWF(playerLink,"ygplayerapiid_2", "459", "344", "8", null, null, params, atts);
}
else
{
ygFlashNotFound2=true;
// run Iframe player instead
yg_flash_runIframePlayerIfReady2();
}
}
</script>]]>
|
563
| <![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>]]>
|
656
| <![CDATA[<script type="text/javascript">
//<![CDATA[
ygCurrentVideoID2="3hXTAaP_6mk";
youtubegallery_updateplayer_youtube_2("3hXTAaP_6mk",false);
//]]>
</script>]]>
|
692
| <![CDATA[<script language="JavaScript">
//<![CDATA[
window.onresize = function() { YoutubeGalleryAutoResizePlayer2(); }
//]]>
</script>]]>
|