Inicio Chile Tricel aprobó la candidatura presidencial de Marco Enríquez-Ominami | soychile.cl

Tricel aprobó la candidatura presidencial de Marco Enríquez-Ominami | soychile.cl

‘);
});
items = document.querySelectorAll(‘.branding-item’);
changeBanner = setInterval(setCurrentItem, changeInterval);
}
});
}catch(e){}

var setActiveBanner = function () {
for (var i = 0; i timeStamp + 2){
if (currentItem >= maxItems-1) {
currentItem = 0
} else {
currentItem++
}
setActiveBanner();
}
}

$(window).scroll(function () {
clearInterval(changeBanner);
setCurrentItem();
changeBanner = setInterval(setCurrentItem, changeInterval);
});

bannersContainer.hover(
function() {
clearInterval(changeBanner);
},
function() {
changeBanner = setInterval(setCurrentItem, changeInterval);
}
);

‘;
template += ‘

‘;
template += ‘

‘;
template += »;
template += ‘

‘;
template += ‘

‘;
if (streaming.titulo) {
template += »;
}
template += ‘

‘;
}else {
template +=»;
}

return document.getElementById(‘home-video-player’).innerHTML = template;
}

var getStreamingStatus = function () {
var request = new XMLHttpRequest();
request.onreadystatechange = function () {
if (request.readyState == XMLHttpRequest.DONE) {
if (request.status == 200) {
var response = JSON.parse(request.response)
if (response.url) {
appendPlayer(response)
GRM.config.refresh.hasVideo = true;
}
}
}
}
request.open(‘GET’, ‘/noticias/json/nuevos/jsonCajaVivo.aspx?idCiudad=’ + document.body.getAttribute(‘data-id’), true);
request.send();
}
getStreamingStatus();
})();

Publicidad