var showPleaseWaitTimeOut = 1000; #lds-680bdf7f8e30favideoLoader-wrapper { position: fixed; left: 0 !important; width: 100% !important; height: 100% !important; z-index: 1000; margin: 0 !important; } #lds-680bdf7f8e30favideoLoader { display: block; position: relative; left: 50%; top: 50%; width: 150px; height: 150px; margin: -175px 0 0 -75px; border-radius: 50%; border: 3px solid transparent; border-top-color: #3498db; -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ z-index: 1001; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } #lds-680bdf7f8e30favideoLoader:before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #e74c3c; -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } #lds-680bdf7f8e30favideoLoader:after { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border-radius: 50%; border: 3px solid transparent; border-top-color: #f9c922; -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } @keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section { position: fixed; top: 0; width: 50%; height: 100%; background: #00000077; z-index: 1000; -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ } #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-left { left: 0; } #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-right { right: 0; } #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-left { -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); } #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-right { -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); } /* Loaded */ .loaded #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-left { -webkit-transform: translateX(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(-100%); /* IE 9 */ transform: translateX(-100%); /* Firefox 16+, IE 10+, Opera */ } .loaded #lds-680bdf7f8e30favideoLoader-wrapper .lds-680bdf7f8e30favideoLoader-section.section-right { -webkit-transform: translateX(100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(100%); /* IE 9 */ transform: translateX(100%); /* Firefox 16+, IE 10+, Opera */ } .loaded #lds-680bdf7f8e30favideoLoader { opacity: 0; } .loaded #lds-680bdf7f8e30favideoLoader-wrapper { visibility: hidden; -webkit-transform: translateY(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateY(-100%); /* IE 9 */ transform: translateY(-100%); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.3s 1s ease-out; transition: all 0.3s 1s ease-out; } var avideoLoader = '
';
var webSiteRootURL = 'https://dreamax.tv/';
var my_users_id = 0;
var my_identification = "Unknown User";
var player;
var _serverTime = "1745608575";
var _serverDBTime = "1745626575";
var _serverTimeString = "2025-04-25 14:16:15";
var _serverDBTimeString = "2025-04-25 19:16:15";
var _serverTimezone = "America/Panama";
var avideoModalIframeFullScreenCloseButton = "\n \n \n \n \n <\/svg> \n <\/button>\n\n\n\n\n";
var avideoModalIframeFullScreenCloseButtonSmall = "\n \n \n \n \n <\/svg>\n <\/button>\n\n\n\n\n";
var PHPSESSID = "kf8tkp6h12et85dss98ekts0un";
// AVideo Analytics
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-96597943-1', 'auto', 'aVideo');
ga('aVideo.send', 'pageview');
var subtitleIsOn = true;var autoPlayAjax=true; .epgProgress.progress-bar-primary{opacity: 0.5;}.epgProgress:hover{opacity: 1.0;}.epgProgressText{border-right: 1px solid #FFF; height:100%;} var _adWasPlayed = 0;
- Trending...
$(document).ready(function () {
YPTHidenavbar();
});
0:03:20
SIGGRAPH 2016 - Computer Animation Festival
4 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL59680bdf7f99ca1();
});
var _loadPL59680bdf7f99ca1_timeout;
function loadPL59680bdf7f99ca1(){
clearTimeout(_loadPL59680bdf7f99ca1_timeout);
; if(typeof $('#addBtn59680bdf7f99ca1').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL59680bdf7f99ca1_timeout = setTimeout(function(){loadPL59680bdf7f99ca1()}, 1000);
}else{
loadPlayLists('59', '680bdf7f99ca1');
$('#addBtn59680bdf7f99ca1').webuiPopover();
$('#addPlayList59680bdf7f99ca1').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 59,
'status': $('#publicPlayList59680bdf7f99ca1').is(":checked") ? "public" : "private",
'name': $('#playListName59680bdf7f99ca1').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('59', '680bdf7f99ca1');
$('#playListName59680bdf7f99ca1').val("");
$('#publicPlayList59680bdf7f99ca1').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
0:02:02
SIGGRAPH 2017 - Computer Animation Festival
4 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL60680bdf7f9aae0();
});
var _loadPL60680bdf7f9aae0_timeout;
function loadPL60680bdf7f9aae0(){
clearTimeout(_loadPL60680bdf7f9aae0_timeout);
; if(typeof $('#addBtn60680bdf7f9aae0').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL60680bdf7f9aae0_timeout = setTimeout(function(){loadPL60680bdf7f9aae0()}, 1000);
}else{
loadPlayLists('60', '680bdf7f9aae0');
$('#addBtn60680bdf7f9aae0').webuiPopover();
$('#addPlayList60680bdf7f9aae0').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 60,
'status': $('#publicPlayList60680bdf7f9aae0').is(":checked") ? "public" : "private",
'name': $('#playListName60680bdf7f9aae0').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('60', '680bdf7f9aae0');
$('#playListName60680bdf7f9aae0').val("");
$('#publicPlayList60680bdf7f9aae0').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
0:01:19
SIGGRAPH 2018 Computer Animation Festival
4 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL61680bdf7f9b8ee();
});
var _loadPL61680bdf7f9b8ee_timeout;
function loadPL61680bdf7f9b8ee(){
clearTimeout(_loadPL61680bdf7f9b8ee_timeout);
; if(typeof $('#addBtn61680bdf7f9b8ee').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL61680bdf7f9b8ee_timeout = setTimeout(function(){loadPL61680bdf7f9b8ee()}, 1000);
}else{
loadPlayLists('61', '680bdf7f9b8ee');
$('#addBtn61680bdf7f9b8ee').webuiPopover();
$('#addPlayList61680bdf7f9b8ee').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 61,
'status': $('#publicPlayList61680bdf7f9b8ee').is(":checked") ? "public" : "private",
'name': $('#playListName61680bdf7f9b8ee').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('61', '680bdf7f9b8ee');
$('#playListName61680bdf7f9b8ee').val("");
$('#publicPlayList61680bdf7f9b8ee').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
0:04:20
Mathias
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL69680bdf7f9c6fd();
});
var _loadPL69680bdf7f9c6fd_timeout;
function loadPL69680bdf7f9c6fd(){
clearTimeout(_loadPL69680bdf7f9c6fd_timeout);
; if(typeof $('#addBtn69680bdf7f9c6fd').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL69680bdf7f9c6fd_timeout = setTimeout(function(){loadPL69680bdf7f9c6fd()}, 1000);
}else{
loadPlayLists('69', '680bdf7f9c6fd');
$('#addBtn69680bdf7f9c6fd').webuiPopover();
$('#addPlayList69680bdf7f9c6fd').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 69,
'status': $('#publicPlayList69680bdf7f9c6fd').is(":checked") ? "public" : "private",
'name': $('#playListName69680bdf7f9c6fd').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('69', '680bdf7f9c6fd');
$('#playListName69680bdf7f9c6fd').val("");
$('#publicPlayList69680bdf7f9c6fd').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
0:01:00
María Félix La Doña - Trailer
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL71680bdf7f9d543();
});
var _loadPL71680bdf7f9d543_timeout;
function loadPL71680bdf7f9d543(){
clearTimeout(_loadPL71680bdf7f9d543_timeout);
; if(typeof $('#addBtn71680bdf7f9d543').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL71680bdf7f9d543_timeout = setTimeout(function(){loadPL71680bdf7f9d543()}, 1000);
}else{
loadPlayLists('71', '680bdf7f9d543');
$('#addBtn71680bdf7f9d543').webuiPopover();
$('#addPlayList71680bdf7f9d543').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 71,
'status': $('#publicPlayList71680bdf7f9d543').is(":checked") ? "public" : "private",
'name': $('#playListName71680bdf7f9d543').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('71', '680bdf7f9d543');
$('#playListName71680bdf7f9d543').val("");
$('#publicPlayList71680bdf7f9d543').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
La historia de la vida de María Félix, desde sus humildes comienzos como una de quince hijos hasta su ascenso a la fama y a la infamia como una de las actrices Mexicanas más conocidas de los años 40 y más adelante.
Elenco Sandra EcheverríaÚrsula PrunedaXimena Romo
0:00:55
CAJA 25 - Trailer
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL72680bdf7f9e36d();
});
var _loadPL72680bdf7f9e36d_timeout;
function loadPL72680bdf7f9e36d(){
clearTimeout(_loadPL72680bdf7f9e36d_timeout);
; if(typeof $('#addBtn72680bdf7f9e36d').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL72680bdf7f9e36d_timeout = setTimeout(function(){loadPL72680bdf7f9e36d()}, 1000);
}else{
loadPlayLists('72', '680bdf7f9e36d');
$('#addBtn72680bdf7f9e36d').webuiPopover();
$('#addPlayList72680bdf7f9e36d').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 72,
'status': $('#publicPlayList72680bdf7f9e36d').is(":checked") ? "public" : "private",
'name': $('#playListName72680bdf7f9e36d').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('72', '680bdf7f9e36d');
$('#playListName72680bdf7f9e36d').val("");
$('#publicPlayList72680bdf7f9e36d').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
Box 25 repasa los principales acontecimientos de la turbulenta relación entre Panamá y Estados Unidos, pero se centra en 114 cartas recientemente descubiertas escritas por excavadores del Canal de Panamá que describen las brutales condiciones de trabajo, la discriminación rampante y las esperanzas perdurables. Utilizando elegantemente documentos de archivo, fotografías y películas, así como entrevistas contemporáneas, Box 25 devuelve a la vida estas voces perdidas, recordándonos nuestra diversa historia y los sacrificios realizados para hacer realidad un sueño.
Dirección Mercedes AriasDelfina Vidal
Guionista Joaneska Grössl
0:01:20
Ilegitimo - Trailer
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL73680bdf7f9f1b8();
});
var _loadPL73680bdf7f9f1b8_timeout;
function loadPL73680bdf7f9f1b8(){
clearTimeout(_loadPL73680bdf7f9f1b8_timeout);
; if(typeof $('#addBtn73680bdf7f9f1b8').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL73680bdf7f9f1b8_timeout = setTimeout(function(){loadPL73680bdf7f9f1b8()}, 1000);
}else{
loadPlayLists('73', '680bdf7f9f1b8');
$('#addBtn73680bdf7f9f1b8').webuiPopover();
$('#addPlayList73680bdf7f9f1b8').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 73,
'status': $('#publicPlayList73680bdf7f9f1b8').is(":checked") ? "public" : "private",
'name': $('#playListName73680bdf7f9f1b8').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('73', '680bdf7f9f1b8');
$('#playListName73680bdf7f9f1b8').val("");
$('#publicPlayList73680bdf7f9f1b8').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
Juancho busca a su verdadera familia tras la muerte de su madre adoptiva, sólo para descubrir que su padre es un político corrupto que intentó matarlo.
Dirección Juan Camilo Gamba
Guionista Adrian Manzano
Elenco Julieth RestrepoJorge Enrique AbelloRoberto Durán
0:02:27
Plan V (2018) Tráiler
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL74680bdf7fa0017();
});
var _loadPL74680bdf7fa0017_timeout;
function loadPL74680bdf7fa0017(){
clearTimeout(_loadPL74680bdf7fa0017_timeout);
; if(typeof $('#addBtn74680bdf7fa0017').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL74680bdf7fa0017_timeout = setTimeout(function(){loadPL74680bdf7fa0017()}, 1000);
}else{
loadPlayLists('74', '680bdf7fa0017');
$('#addBtn74680bdf7fa0017').webuiPopover();
$('#addPlayList74680bdf7fa0017').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 74,
'status': $('#publicPlayList74680bdf7fa0017').is(":checked") ? "public" : "private",
'name': $('#playListName74680bdf7fa0017').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('74', '680bdf7fa0017');
$('#playListName74680bdf7fa0017').val("");
$('#publicPlayList74680bdf7fa0017').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
Paula, que ha sido herida por su exnovio, planea una venganza junto a sus dos mejores amigas para burlarse de los hombres. El desafío será encontrar y enamorarse de un joven virgen.
Dirección Fez Noriega
Guionistas Miguel García MorenoAdriana PelusiDesiree Sanchez
Elenco David AllegreAgustín AranaLuis Arrieta
0:01:16
Amores Perros 20 Aniversario - Trailer Especial
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL75680bdf7fa0cd5();
});
var _loadPL75680bdf7fa0cd5_timeout;
function loadPL75680bdf7fa0cd5(){
clearTimeout(_loadPL75680bdf7fa0cd5_timeout);
; if(typeof $('#addBtn75680bdf7fa0cd5').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL75680bdf7fa0cd5_timeout = setTimeout(function(){loadPL75680bdf7fa0cd5()}, 1000);
}else{
loadPlayLists('75', '680bdf7fa0cd5');
$('#addBtn75680bdf7fa0cd5').webuiPopover();
$('#addPlayList75680bdf7fa0cd5').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 75,
'status': $('#publicPlayList75680bdf7fa0cd5').is(":checked") ? "public" : "private",
'name': $('#playListName75680bdf7fa0cd5').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('75', '680bdf7fa0cd5');
$('#playListName75680bdf7fa0cd5').val("");
$('#publicPlayList75680bdf7fa0cd5').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
Un horrible accidente automovilístico conecta tres historias, cada una de las cuales involucra personajes que tratan con la pérdida, el arrepentimiento y las duras realidades de la vida, todo en nombre del amor.
Dirección Alejandro G. Iñárritu
Guionista Guillermo Arriaga
Elenco Emilio EchevarríaGael García BernalGoya Toledo
0:01:44
LA SIRGA Trailer Festival 2012
2 years ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
$(document).ready(function () {
loadPL76680bdf7fa1b14();
});
var _loadPL76680bdf7fa1b14_timeout;
function loadPL76680bdf7fa1b14(){
clearTimeout(_loadPL76680bdf7fa1b14_timeout);
; if(typeof $('#addBtn76680bdf7fa1b14').webuiPopover !== 'function' || typeof loadPlayLists !== 'function'){
_loadPL76680bdf7fa1b14_timeout = setTimeout(function(){loadPL76680bdf7fa1b14()}, 1000);
}else{
loadPlayLists('76', '680bdf7fa1b14');
$('#addBtn76680bdf7fa1b14').webuiPopover();
$('#addPlayList76680bdf7fa1b14').click(function () {
modal.showPleaseWait();
$.ajax({
url: 'https://dreamax.tv/objects/playlistAddNew.json.php',
method: 'POST',
data: {
'videos_id': 76,
'status': $('#publicPlayList76680bdf7fa1b14').is(":checked") ? "public" : "private",
'name': $('#playListName76680bdf7fa1b14').val()
},
success: function (response) {
if (response.status>0) {
playList = [];
reloadPlayLists();
loadPlayLists('76', '680bdf7fa1b14');
$('#playListName76680bdf7fa1b14').val("");
$('#publicPlayList76680bdf7fa1b14').prop('checked', true);
}
modal.hidePleaseWait();
}
});
return false;
});
}
}
Una refugiada colombiana intenta rehacer su vida en una casa de huéspedes situada a orillas de un gran lago en los Andes.
Dirección William Vega
Guionista William Vega
Elenco Joghis Seudin AriasJulio César RobleFloralba Achicanoy
$(function () {
/** showAlertMessage **/
/** showAlertMessage END **/ });
var checkFooterTimout;
$(function () {
checkFooter();
$(window).scroll(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
$(window).resize(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
$(window).mouseup(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
});
function checkFooter() {
$("#mainFooter").fadeIn();
if (getPageHeight() <= $(window).height()) {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 1000);
$("#mainFooter").css("position", "fixed");
} else {
$("#mainFooter").css("position", "relative");
}
}
function getPageHeight() {
var mainNavBarH = 0;
if ($('#mainNavBar').length) {
mainNavBarH = $('#mainNavBar').height();
}
var mainFooterH = 0;
if ($('#mainFooter').length) {
mainFooterH = $('#mainFooter').height();
}
var containerH = getLargerContainerHeight();
return mainNavBarH + mainFooterH + containerH;
}
function getLargerContainerHeight() {
var conteiners = $('body > .container,body > .container-fluid');
var height = 0;
for (var item in conteiners) {
if (isNaN(item)) {
continue;
}
var h = $(conteiners[item]).height();
if (h > height) {
height = h;
}
}
return height;
}
$(document).ready(function () {
$container = $('.results').infiniteScroll({
path: '.pagination__next',
append: '.searchResult',
status: '.scroller-status',
hideNav: '.pagination',
});
$container.on('append.infiniteScroll', function (event, response, path, items) {
mouseEffect();
lazyImage();
});
mouseEffect();
lazyImage();
});