= et || wh + wt == dh || eh + et < wh) {
if (!busy) {
busy = true;
$(".").removeClass("");
atr = atr + 1;
get_url = urls[atr] + " .";
if(urls[atr] != undefined){
await loading().then(_ => {
document.body.style.cursor = "default";
document.body.style.overflow = "auto";
(adsbygoogle = window.adsbygoogle || []).push({});
start_films();
try {
history.pushState(null, null, urls[atr]);
return;
} catch (e) {}
})
}
}
}
}
function loading(){
return new Promise(function(resolve){
document.body.style.cursor = "wait";
document.body.style.overflow = "hidden";
$(".").load(get_url);
setTimeout(function () {
$(".").unwrap();
id = jQuery(".").attr("id");
$("#" + id).after($(""));
busy = false;
$(".").removeClass("");
resolve();
}, 1000);
})
}