"; document.getElementById("ckplayer").innerHTML = frmcode; } else { let frmcode = ''; document.getElementById('ckplayer').innerHTML = frmcode; playerfrm = document.getElementById("playfrm"); } } var vurlsbox = document.getElementsByClassName("vurls"); for (let n = 0; n < vurlsbox.length; n++) { for (let i = 0; i < vurlsbox[n].children.length; i++) { if (vurlsbox[n].children[i].innerHTML.indexOf("background:#ccc;color:#000") != -1) { vurlsbox[n].scrollTop = vurlsbox[n].children[i].offsetTop; break; } } } play();