window.onscroll = function(){
var li=document.getElementsByTagName('li')
var iHeight =scrollY()+clientY()
for(var i=0;i
var img =li[i].children[0]
if(li[i].offsetTop<=iHeight && img.getAttribute('_src')){
img.src= img.getAttribute('_src')
img.removeAttribute('_src')
}
}
}
function scrollY(){
return document.body.scrollTop || document.documentElement.scrollTop;
}
function clientY(){
return document.documentElement.clientHeight || window.innerHeight
}