// Input 0
(function(){jQuery.fn.humanMsg=function(d,a){return this.each(function(){var c=this==window||this==document?document.body:this;!jQuery.data(c,"humanMsg")&&jQuery.data(c,"humanMsg",new jQuery.humanMsg(c,d,a))})};jQuery.fn.humanMsg.defaults={message:"no message was set",autoHide:3E3,addClass:"",speed:300};jQuery.humanMsg=function(d,a,c){function b(){f.fadeOut(e.speed,function(){f.remove();jQuery.removeData(d,"humanMsg")})}if(typeof a=="object"){c=a;a=null}var e=jQuery.extend({},jQuery.fn.humanMsg.defaults,
c),f;c=d==document.body?window:d;f=jQuery('<div class="humanized-message '+e.addClass+'"/>').html(a||e.message).click(b).appendTo(d);f.css({display:"none",visibility:"visible",top:(jQuery(c).height()-f.innerHeight())/2,left:(jQuery(c).width()-f.innerWidth())/2}).fadeIn(e.speed);e.autoHide&&setTimeout(b,e.autoHide)}})(jQuery);
// Input 1
(function(d){d.fn.hoverIntent=function(a,c){var b={sensitivity:7,interval:100,timeout:0};b=d.extend(b,c?{over:a,out:c}:a);var e,f,g,k,m=function(i){e=i.pageX;f=i.pageY},n=function(i,h){h.hoverIntent_t=clearTimeout(h.hoverIntent_t);if(Math.abs(g-e)+Math.abs(k-f)<b.sensitivity){d(h).unbind("mousemove",m);h.hoverIntent_s=1;return b.over.apply(h,[i])}else{g=e;k=f;h.hoverIntent_t=setTimeout(function(){n(i,h)},b.interval)}},o=function(i,h){h.hoverIntent_t=clearTimeout(h.hoverIntent_t);h.hoverIntent_s=0;
return b.out.apply(h,[i])};a=function(i){for(var h=(i.type=="mouseover"?i.fromElement:i.toElement)||i.relatedTarget;h&&h!=this;)try{h=h.parentNode}catch(p){h=this}if(h==this)return false;var l=jQuery.extend({},i),j=this;if(j.hoverIntent_t)j.hoverIntent_t=clearTimeout(j.hoverIntent_t);if(i.type=="mouseover"){g=l.pageX;k=l.pageY;d(j).bind("mousemove",m);if(j.hoverIntent_s!=1)j.hoverIntent_t=setTimeout(function(){n(l,j)},b.interval)}else{d(j).unbind("mousemove",m);if(j.hoverIntent_s==1)j.hoverIntent_t=
setTimeout(function(){o(l,j)},b.timeout)}};return this.mouseover(a).mouseout(a)}})(jQuery);
// Input 2
(function(d){function a(){if(!b){b=d(d.message.defaults.template).appendTo(document.body);d(window).bind("mousemove click keypress",c)}}function c(){b.is(":visible")&&!b.is(":animated")&&!e&&b.animate({opacity:0},d.message.defaults.fadeOutDuration,function(){d(this).hide()})}var b,e,f,g;d.fn.message=function(k){if(k=d.trim(k||this.text())){clearTimeout(f);clearTimeout(g);a();b.find("p").html(k);b.show().animate({opacity:d.message.defaults.opacity},d.message.defaults.fadeInDuration);e=true;active=
false;f=setTimeout(function(){e=false},d.message.defaults.minDuration+d.message.defaults.displayDurationPerCharacter*Math.sqrt(k.length));g=setTimeout(c,d.message.defaults.totalTimeout)}};d.message={};d.message.defaults={opacity:0.8,fadeOutDuration:500,fadeInDuration:200,displayDurationPerCharacter:125,minDuration:2500,totalTimeout:6E3,template:'<div class="jquery-message"><div class="round"></div><p></p><div class="round"></div></div>'}})(jQuery);
// Input 3
jQuery.cookie=function(d,a,c){if(typeof a!="undefined"){c=c||{};if(a===null){a="";c.expires=-1}var b="";if(c.expires&&(typeof c.expires=="number"||c.expires.toUTCString)){if(typeof c.expires=="number"){b=new Date;b.setTime(b.getTime()+c.expires*24*60*60*1E3)}else b=c.expires;b="; expires="+b.toUTCString()}var e=c.path?"; path="+c.path:"",f=c.domain?"; domain="+c.domain:"";c=c.secure?"; secure":"";document.cookie=[d,"=",encodeURIComponent(a),b,e,f,c].join("")}else{a=null;if(document.cookie&&document.cookie!=
""){c=document.cookie.split(";");for(b=0;b<c.length;b++){e=jQuery.trim(c[b]);if(e.substring(0,d.length+1)==d+"="){a=decodeURIComponent(e.substring(d.length+1));break}}}return a}};
// Input 4
jQuery.fn.crossfade=function(){return this.each(function(){var d=jQuery(this);d.not(".current").hover(function(){d.stop().animate({opacity:0},300)},function(){d.stop().animate({opacity:1},600)})})};jQuery.fn.toggleFade=function(){return this.each(function(){var d=jQuery(this);d.is(":visible")?d.hide():d.fadeIn("fast")})};
// Input 5
jQuery.timer=function(d,a,c){d={timer:setTimeout(a,d),callback:null};if(typeof c=="function")d.callback=c;return d};jQuery.clearTimer=function(d){clearTimeout(d.timer);typeof d.callback=="function"&&d.callback();return this};
// Input 6
jQuery.easing.jswing=jQuery.easing.swing;
jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(d,a,c,b,e){return jQuery.easing[jQuery.easing.def](d,a,c,b,e)},easeInQuad:function(d,a,c,b,e){return b*(a/=e)*a+c},easeOutQuad:function(d,a,c,b,e){return-b*(a/=e)*(a-2)+c},easeInOutQuad:function(d,a,c,b,e){if((a/=e/2)<1)return b/2*a*a+c;return-b/2*(--a*(a-2)-1)+c},easeInCubic:function(d,a,c,b,e){return b*(a/=e)*a*a+c},easeOutCubic:function(d,a,c,b,e){return b*((a=a/e-1)*a*a+1)+c},easeInOutCubic:function(d,a,c,b,e){if((a/=e/2)<1)return b/
2*a*a*a+c;return b/2*((a-=2)*a*a+2)+c},easeInQuart:function(d,a,c,b,e){return b*(a/=e)*a*a*a+c},easeOutQuart:function(d,a,c,b,e){return-b*((a=a/e-1)*a*a*a-1)+c},easeInOutQuart:function(d,a,c,b,e){if((a/=e/2)<1)return b/2*a*a*a*a+c;return-b/2*((a-=2)*a*a*a-2)+c},easeInQuint:function(d,a,c,b,e){return b*(a/=e)*a*a*a*a+c},easeOutQuint:function(d,a,c,b,e){return b*((a=a/e-1)*a*a*a*a+1)+c},easeInOutQuint:function(d,a,c,b,e){if((a/=e/2)<1)return b/2*a*a*a*a*a+c;return b/2*((a-=2)*a*a*a*a+2)+c},easeInSine:function(d,
a,c,b,e){return-b*Math.cos(a/e*(Math.PI/2))+b+c},easeOutSine:function(d,a,c,b,e){return b*Math.sin(a/e*(Math.PI/2))+c},easeInOutSine:function(d,a,c,b,e){return-b/2*(Math.cos(Math.PI*a/e)-1)+c},easeInExpo:function(d,a,c,b,e){return a==0?c:b*Math.pow(2,10*(a/e-1))+c},easeOutExpo:function(d,a,c,b,e){return a==e?c+b:b*(-Math.pow(2,-10*a/e)+1)+c},easeInOutExpo:function(d,a,c,b,e){if(a==0)return c;if(a==e)return c+b;if((a/=e/2)<1)return b/2*Math.pow(2,10*(a-1))+c;return b/2*(-Math.pow(2,-10*--a)+2)+c},
easeInCirc:function(d,a,c,b,e){return-b*(Math.sqrt(1-(a/=e)*a)-1)+c},easeOutCirc:function(d,a,c,b,e){return b*Math.sqrt(1-(a=a/e-1)*a)+c},easeInOutCirc:function(d,a,c,b,e){if((a/=e/2)<1)return-b/2*(Math.sqrt(1-a*a)-1)+c;return b/2*(Math.sqrt(1-(a-=2)*a)+1)+c},easeInElastic:function(d,a,c,b,e){d=1.70158;var f=0,g=b;if(a==0)return c;if((a/=e)==1)return c+b;f||(f=e*0.3);if(g<Math.abs(b)){g=b;d=f/4}else d=f/(2*Math.PI)*Math.asin(b/g);return-(g*Math.pow(2,10*(a-=1))*Math.sin((a*e-d)*2*Math.PI/f))+c},easeOutElastic:function(d,
a,c,b,e){d=1.70158;var f=0,g=b;if(a==0)return c;if((a/=e)==1)return c+b;f||(f=e*0.3);if(g<Math.abs(b)){g=b;d=f/4}else d=f/(2*Math.PI)*Math.asin(b/g);return g*Math.pow(2,-10*a)*Math.sin((a*e-d)*2*Math.PI/f)+b+c},easeInOutElastic:function(d,a,c,b,e){d=1.70158;var f=0,g=b;if(a==0)return c;if((a/=e/2)==2)return c+b;f||(f=e*0.3*1.5);if(g<Math.abs(b)){g=b;d=f/4}else d=f/(2*Math.PI)*Math.asin(b/g);if(a<1)return-0.5*g*Math.pow(2,10*(a-=1))*Math.sin((a*e-d)*2*Math.PI/f)+c;return g*Math.pow(2,-10*(a-=1))*Math.sin((a*
e-d)*2*Math.PI/f)*0.5+b+c},easeInBack:function(d,a,c,b,e,f){if(f==undefined)f=1.70158;return b*(a/=e)*a*((f+1)*a-f)+c},easeOutBack:function(d,a,c,b,e,f){if(f==undefined)f=1.70158;return b*((a=a/e-1)*a*((f+1)*a+f)+1)+c},easeInOutBack:function(d,a,c,b,e,f){if(f==undefined)f=1.70158;if((a/=e/2)<1)return b/2*a*a*(((f*=1.525)+1)*a-f)+c;return b/2*((a-=2)*a*(((f*=1.525)+1)*a+f)+2)+c},easeInBounce:function(d,a,c,b,e){return b-jQuery.easing.easeOutBounce(d,e-a,0,b,e)+c},easeOutBounce:function(d,a,c,b,e){return(a/=
e)<1/2.75?b*7.5625*a*a+c:a<2/2.75?b*(7.5625*(a-=1.5/2.75)*a+0.75)+c:a<2.5/2.75?b*(7.5625*(a-=2.25/2.75)*a+0.9375)+c:b*(7.5625*(a-=2.625/2.75)*a+0.984375)+c},easeInOutBounce:function(d,a,c,b,e){if(a<e/2)return jQuery.easing.easeInBounce(d,a*2,0,b,e)*0.5+c;return jQuery.easing.easeOutBounce(d,a*2-e,0,b,e)*0.5+b*0.5+c}});
// Input 7
jQuery.extend(jQuery.easing,{easeIn:function(d,a,c,b,e){return jQuery.easing.easeInQuad(d,a,c,b,e)},easeOut:function(d,a,c,b,e){return jQuery.easing.easeOutQuad(d,a,c,b,e)},easeInOut:function(d,a,c,b,e){return jQuery.easing.easeInOutQuad(d,a,c,b,e)},expoin:function(d,a,c,b,e){return jQuery.easing.easeInExpo(d,a,c,b,e)},expoout:function(d,a,c,b,e){return jQuery.easing.easeOutExpo(d,a,c,b,e)},expoinout:function(d,a,c,b,e){return jQuery.easing.easeInOutExpo(d,a,c,b,e)},bouncein:function(d,a,c,b,e){return jQuery.easing.easeInBounce(d,
a,c,b,e)},bounceout:function(d,a,c,b,e){return jQuery.easing.easeOutBounce(d,a,c,b,e)},bounceinout:function(d,a,c,b,e){return jQuery.easing.easeInOutBounce(d,a,c,b,e)},elasin:function(d,a,c,b,e){return jQuery.easing.easeInElastic(d,a,c,b,e)},elasout:function(d,a,c,b,e){return jQuery.easing.easeOutElastic(d,a,c,b,e)},elasinout:function(d,a,c,b,e){return jQuery.easing.easeInOutElastic(d,a,c,b,e)},backin:function(d,a,c,b,e){return jQuery.easing.easeInBack(d,a,c,b,e)},backout:function(d,a,c,b,e){return jQuery.easing.easeOutBack(d,
a,c,b,e)},backinout:function(d,a,c,b,e){return jQuery.easing.easeInOutBack(d,a,c,b,e)}});
