jQuery.fn.imageScroller=function(F){var C=F||{next:"buttonNext",prev:"buttonPrev",frame:"viewerFrame",width:100,child:"a",auto:true};var B=$("#"+C.next);var L=$("#"+C.prev);var M=$("#"+C.frame);var E=C.width;var G=C.child;var J=C.auto;var I;var K=function(){L.unbind("click",K);if(J){A()}M.animate({marginLeft:-E},"fast","",function(){M.find(G+":first").appendTo(M);M.css("marginLeft",0);L.bind("click",K);if(J){H()}})};var D=function(){B.unbind("click",D);if(J){A()}M.find(G+":last").clone().show().prependTo(M);M.css("marginLeft",-E);M.animate({marginLeft:0},"fast","",function(){M.find(G+":last").remove();B.bind("click",D);if(J){H()}})};B.css("cursor","hand").click(D);L.css("cursor","hand").click(K);this.mouseout(function(){H()});this.mouseover(function(){A()});var H=function(){I=window.setInterval(K,3000)};var A=function(){window.clearInterval(I)};if(J){H()}}

