$(document).keydown(function(b){if(b.ctrlKey){var a=null;switch(b.keyCode||b.which||null){case 37:a=$("#link_prev").get(0);break;case 39:a=$("#link_next").get(0);break}if(a&&a.href){document.location=a.href;return false}}});$(window).load(function(){$(".h-scrollable div").scroll();var a=$(".scroll-l, .scroll-r");a.height(a.parent().height());$("div.quote").each(function(){if(parseInt($(this).height())>100){$(this).append('<span class="corner"></span>')}})});$(document).ready(function(){$("#prj-links div").append('<a id="prj-links-info" href=""></a>');$("#prj-links-info").hover(function(){},function(){$(this).hide()});$(".h-scrollable div").scroll(function(a){var b=$(this.parentNode).children("div");if(b.scrollLeft()==0){b.parent().children(".scroll-l").hide()}else{b.parent().children(".scroll-l").show()}if(b.scrollLeft()==b.get(0).scrollWidth-b.width()){b.parent().children(".scroll-r").hide()}else{b.parent().children(".scroll-r").show()}});$(".h-scrollable .scroll-l").hover(function(){var a=$(this.parentNode).children("div");a.animate({scrollLeft:0},a.scrollLeft()*2,"linear")},function(){$(this.parentNode).children("div").stop()});$(".h-scrollable .scroll-r").hover(function(){var b=$(this.parentNode).children("div");var a=b.data("scrollWidth");if(typeof a=="undefined"){a=b.get(0).scrollWidth;if(a){b.data("scrollWidth",a)}}a-=b.width();b.animate({scrollLeft:a},(a-b.scrollLeft())*2,"linear")},function(){$(this.parentNode).children("div").stop()})});
