(function(a){function b(b,c){return parseInt(a.curCSS(b.jquery?b[0]:b,c,true))||0}a.dimensions={version:"1.2"};a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(!this[0])return;var a=d=="Height"?"Top":"Left",c=d=="Height"?"Bottom":"Right";return this.is(":visible")?this[0]["client"+d]:b(this,d.toLowerCase())+b(this,"padding"+a)+b(this,"padding"+c)};a.fn["outer"+d]=function(c){if(!this[0])return;var e=d=="Height"?"Top":"Left",f=d=="Height"?"Bottom":"Right";c=a.extend({margin:false},c||{});var g=this.is(":visible")?this[0]["offset"+d]:b(this,d.toLowerCase())+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f);return g+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}});a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){if(!this[0])return;return b!=undefined?this.each(function(){this==window||this==document?window.scrollTo(c=="Left"?b:a(window)["scrollLeft"](),c=="Top"?b:a(window)["scrollTop"]()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self[c=="Left"?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]}});a.fn.extend({position:function(){var a=0,c=0,d=this[0],e,f,g,h;if(d){g=this.offsetParent();e=this.offset();f=g.offset();e.top-=b(d,"marginTop");e.left-=b(d,"marginLeft");f.top+=b(g,"borderTopWidth");f.left+=b(g,"borderLeftWidth");h={top:e.top-f.top,left:e.left-f.left}}return h},offsetParent:function(){var b=this[0].offsetParent;while(b&&!/^body|html$/i.test(b.tagName)&&a.css(b,"position")=="static")b=b.offsetParent;return a(b)}});})(jQuery);(function(a){a.extend({ahover:{version:1,defaults:{toggleSpeed:75,toggleEffect:"both",hoverEffect:null,moveSpeed:250,easing:"swing",className:"ahover"},effects:{width:{width:0},height:{height:0},both:{width:0,height:0}}}});a.fn.extend({ahover:function(b){var b=a.extend({},a.ahover.defaults,b);var c=typeof b.toggleEffect=="string"?a.ahover.effects[b.toggleEffect]:b.toggleEffect;var d=this.offsetParent();return this.hover(function(e){var f=a(this);var g={width:f.outerWidth(),height:f.outerHeight()};var h=f.offset();var i=d.offset();var j=a("div."+b.className,d).stop();var k=j.length==0;if(k){j=a("<div> </div>").addClass(b.className).appendTo(d).css(g)}var l={left:h.left-i.left-(j.outerWidth()-j.width())/2,top:h.top-i.top-(j.outerHeight()-j.height())/2};if(k){j.css(l).css(c).animate(g,{queue:false,duration:b.toggleSpeed,easing:b.easing})}else{var m=a.extend({},g,l);j.animate(m,{queue:false,duration:b.moveSpeed,easing:b.easing})}if(a.isFunction(b.hoverEffect)){j.queue(b.hoverEffect)}},function(e){a("div."+b.className,d).animate(c,{queue:false,duration:b.toggleSpeed,easing:b.easing,complete:function(){a(this).remove()}})})}})})(jQuery);jQuery(function(a){a("ul.links li").ahover();a("ul.comics li").ahover({toggleEffect:"width"});a("ul.cards li").ahover({moveSpeed:100,hoverEffect:function(){a(this).css({opacity:.99}).animate({opacity:.5},750).animate({opacity:.99},750).dequeue();a(this).queue(arguments.callee)}});a("ul.letters li").ahover({toggleEffect:"height",moveSpeed:75,toggleSpeed:250})})
