function come(elem) {
var docViewTop = $(window).scrollTop(),
docViewBottom = docViewTop + $(window).height(),
elemTop = elem.offset().top,
elemBottom = elemTop + elem.height();
return ((elemBottom <= docViewBottom) && (elemTop >= docViewTop));
}
onscroll = function(){
if (come($('.timer').eq(0))) count($('.timer').eq(0));
if (come($('.timer').eq(1))) count($('.timer').eq(1));
};