if(!this.BLUE) {
    BLUE = {};
}
BLUE.app = (function() {
    return {
        init: function()
        {
			var anchor = window.location.hash;
			$('#leadin, .slide').hide();
			if (anchor) {
				$(anchor).show();
			} else {
				$('#leadin').show();
			}
			
			//add hook class to indicate presence of js
            $('body').addClass('js');
			$('p.next-slide a').bind('click', function(){
				$('#leadin, .slide').hide();
				var anchor = $(this).attr('href');
				$(anchor).show();
				
				window.location = anchor;
				return false;
			});
        }
    };
})();

$(document).ready(function() {
	BLUE.app.init();
	prettyPrint();
});
