document.getElementById("full-screen").addEventListener("click", function(e) {
toggleFullScreen();
}, false);
function toggleFullScreen() {
setTimeout(function(){
document.getElementById('iframe_tv').src = "login.html";
},1000);
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen();
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
}
}
}