$(document).ready(function(){
    $("img").lazyload({effect: "fadeIn", threshold: 100});
    $.localScroll();
    var s = $('.scroll');var curr = 0, node;shortcut.add("Down",function() {node = s[++curr];if (node) {$.scrollTo( node,800);}else {curr = s.length-1;}});shortcut.add("Up",function() {node = s[--curr];if (node) {$.scrollTo( node ,800);}else {curr = 0;}});
    var dialog = "<div id='js-enabled'><strong>Hint:</strong> You can use the <em>up</em> and <em>down</em> arrows on your keyboard to scroll through the photos.</div>";
    $(function() {
    	if( $("body").hasClass("blog") ) {
    		$("#deck").after(dialog);
    		$("#js-enabled").hide().fadeIn(1000).delay(3000).fadeOut(1000).delay(1000, function(){$(this).remove();})
    	}
    	else {}
    });
});

var _sf_startpt = (new Date()).getTime();
