Green chaffey breeze

Related Stories:

Living

Green

computer task group inc ctg releases earnings results hits expectations

chaffey breeze

ani pharmaceuticals nasdaqbpax stock price news amp analysis

Green Sun May 21 2017 12:08:29 GMT+0000 (UTC)
img = images[i]; if (img.getBoundingClientRect().top < window.innerHeight + 400) { datasrc = img.getAttribute('data-src'); if (datasrc) { this._onloaders(img); img.src = datasrc; img.removeAttribute('data-src'); } else if (img.offsetHeight <= 35) { load = img.getAttribute('data-load'); if (now - parseInt(load) >= MAX_LOADTIME_SECS) { img.src = "http://cheers.ws/images/transparent.gif"; img.style.width = "98%"; img.style.height = "100px"; img.style.border = "2px solid #eeeeee"; } } } } } }, _onloaders: function(img) { img.onerror = function() { //console.log("onerror img.src=" + img.src); img.onload = null; img.src = "http://cheers.ws/images/transparent.gif"; img.style.width = "98%"; img.style.height = "100px"; img.style.background = "#eeeeee"; } img.onabort = function() { //console.log("onabort img.src=" + img.src); img.onload = null; img.src = "http://cheers.ws/images/transparent.gif"; img.style.width = "98%"; img.style.height = "100px"; img.style.background = "#eeeeee"; } img.onload = function() { //console.log("onload img.src=" + img.src); if (img.offsetHeight <= 35) { img.onload = null; img.src = "http://cheers.ws/images/transparent.gif"; img.style.width = "98%"; img.style.height = "100px"; img.style.background = "#eeeeee"; } } } }; window.onload = resize; window.onresize = resize; resize();