function getRandomIntInRange(min, max) {
return Math.floor(Math.random() * (max + 1 - min) + min);
}
function playRandom() {
var rnd = getRandomIntInRange(1, 3)
document.getElementById('sound-' + rnd).play();
}
switch(window.location.pathname) {
case "/gworld/":
document.getElementById("uzconv").className += " tab-active";
break;
case "/techno/":
default:
document.getElementById("allnews").className += " tab-active";
}