/*
 * AnythingSlider Slide FX 1.2 minified for AnythingSlider v1.5.8+
 * By Rob Garrison (aka Mottie & Fudgey)
 * Dual licensed under the MIT and GPL licenses.
 */
(function(h){h.fn.anythingSliderFx=function(e){var l=h(this).closest(".anythingSlider"),i=l.width(),n=l.height(),o=function(a){return{top:[{inFx:{top:0},outFx:{top:"-"+(a||n)}}],bottom:[{inFx:{bottom:0},outFx:{bottom:a||n}}],left:[{inFx:{left:0},outFx:{left:"-"+(a||i)}}],right:[{inFx:{right:0},outFx:{right:a||i}}],fade:[{inFx:{opacity:1},outFx:{opacity:0}}],expand:[{inFx:{width:"100%",top:"0%",left:"0%"},outFx:{width:a||"10%",top:"50%",left:"50%"}}],listLR:[{inFx:{left:0,opacity:1},outFx:[{left:a|| i,opacity:0},{left:"-"+(a||i),opacity:0}],selector:[":odd",":even"]}],listRL:[{inFx:{left:0,opacity:1},outFx:[{left:a||i,opacity:0},{left:"-"+(a||i),opacity:0}],selector:[":even",":odd"]}],"caption-Top":[{inFx:{top:0,opacity:0.8},outFx:{top:"-"+a||-50,opacity:0}}],"caption-Right":[{inFx:{right:0,opacity:0.8},outFx:{right:"-"+a||-150,opacity:0}}],"caption-Bottom":[{inFx:{bottom:0,opacity:0.8},outFx:{bottom:"-"+a||-50,opacity:0}}],"caption-Left":[{inFx:{left:0,opacity:0.8},outFx:{left:"-"+a||-150,opacity:0}}]}}; return this.each(function(){var a=o(),k={easing:"swing",timeIn:400,timeOut:350},i=function(c){c.each(function(){h(this).closest(".panel").is(".activePage")||h(this).css("visibility","hidden")})},m=function(c,a,d){if(!(c.length===0||typeof a==="undefined")){var b=a[0]||a,g=b[1]||"",h=parseInt(g===""?b.duration:b[0].duration,10);if(d&&(c.css("position")!=="absolute"&&c.css({position:"relative"}),c.stop(),g!=="")){c.filter(a[1][0]).animate(b[0],{queue:!1,duration:h,easing:b[0].easing});c.filter(a[1][1]).animate(g, {queue:!1,duration:h,easing:b[0].easing,complete:function(){setTimeout(function(){i(c)},k.timeOut)}});return}d||c.css("visibility","visible");c.animate(b,{queue:!1,duration:h,easing:b.easing,complete:function(){d&&setTimeout(function(){i(c)},k.timeOut)}})}},l=function(c,f){var d,b,g=f?"outFx":"inFx",e={},i=f?k.timeOut:k.timeIn,j=h.trim(c[0].replace(/\s+/g," ")).split(" ");if(f&&j.length===1&&a.hasOwnProperty(j)&&typeof a[j][0].selector!=="undefined")return b=a[j][0].outFx,b[0].duration=c[2]||k.timeOut, b[0].easing=c[3]||k.easing,[b,a[j][0].selector||[]];h.each(j,function(b,f){if(a.hasOwnProperty(f)){var j=f==="fade"?1:2;d=typeof c[1]==="undefined"?a:o(c[1]);h.extend(!0,e,d[f][0][g]);e.duration=c[j]||e.duration||i;e.easing=c[j+1]||k.easing}});return[e]};h(this).bind("slide_init",function(a,f){var d,b,g=f.$lastPage.add(f.$items.eq(f.exactPage)[0]);g=g.find("*").andSelf();for(d in e)if(d==="outFx")for(b in e.outFx)m(g.filter(b),e.outFx[b],!0);else d!=="inFx"&&h.isArray(e[d])&&m(g.filter(d),l(e[d], !0),!0)}).bind("slide_complete",function(a,f){var d,b,g=f.$currentPage.add(f.$items.eq(f.exactPage)[0]);g=g.find("*").andSelf();for(d in e)if(d==="inFx")for(b in e.inFx)m(g.filter(b),e.inFx[b],!1);else d!=="outFx"&&h.isArray(e[d])&&m(g.filter(d),l(e[d],!1),!1)})})}})(jQuery);

