var winW = $(window).width(); if(winW < 640){ $("html, body").animate({scrollTop:position}, 500, "swing"); }else{ $("html, body").animate({scrollTop:position-150}, 500, "swing"); } return false; }); });
var IBP = '/wp-content/themes/timegraph/css/lightbox/lightbox-btn-prev.gif';
var IBN = '/wp-content/themes/timegraph/css/lightbox/lightbox-btn-next.gif';
var IBC='/wp-content/themes/timegraph/css/lightbox/lightbox-btn-close.gif';
var IB='/wp-content/themes/timegraph/css/lightbox/lightbox-blank.gif';
$('.time a').lightBox({ maxWidth:580, maxHeight:580, imageLoading:IL, imageBtnPrev:IBP, imageBtnNext:IBN, imageBtnClose:IBC, imageBlank:IB …