(function($){$.fn.kwicks=function(n){var p={isvertical:false,sticky:false,defaultkwick:0,event:'mouseover',spacing:0,duration:500};var o=$.extend(p,n);var q=(o.isvertical?'height':'width');var r=(o.isvertical?'top':'left');return this.each(function(){container=$(this);var k=container.children('li');var l=k.eq(0).css(q).replace(/px/,'');if(!o.max){o.max=(l*k.size())-(o.min*(k.size()-1))}else{o.min=((l*k.size())-o.max)/(k.size()-1)}if(o.isvertical){container.css({width:k.eq(0).css('width'),height:(l*k.size())+(o.spacing*(k.size()-1))+'px'})}else{container.css({width:(l*k.size())+(o.spacing*(k.size()-1))+'px',height:k.eq(0).css('height')})}var m=[];for(i=0;i0&&j