(function(a){a.extend({browserSelector:function(){var m=navigator.userAgent,d=m.toLowerCase(),f=function(b){return d.indexOf(b)>-1},j="gecko",l="webkit",p="safari",e="opera",i=document.documentElement,k=[(!(/opera|webtv/i.test(d))&&/msie\s(\d)/.test(d))?("ie ie"+parseFloat(navigator.appVersion.split("MSIE")[1])):f("firefox/2")?j+" ff2":f("firefox/3.5")?j+" ff3 ff3_5":f("firefox/3")?j+" ff3":f("gecko/")?j:f("opera")?e+(/version\/(\d+)/.test(d)?" "+e+RegExp.jQuery1:(/opera(\s|\/)(\d+)/.test(d)?" "+e+RegExp.jQuery2:"")):f("konqueror")?"konqueror":f("chrome")?l+" chrome":f("iron")?l+" iron":f("applewebkit/")?l+" "+p+(/version\/(\d+)/.test(d)?" "+p+RegExp.jQuery1:""):f("mozilla/")?j:"",f("j2me")?"mobile":f("iphone")?"iphone":f("ipod")?"ipod":f("mac")?"mac":f("darwin")?"mac":f("webtv")?"webtv":f("win")?"win":f("freebsd")?"freebsd":(f("x11")||f("linux"))?"linux":"","js"];c=k.join(" ");i.className+=" "+c;var n=!(window.ActiveXObject)&&"ActiveXObject" in window;if(n){a("html").removeClass("gecko").addClass("ie ie11");return}if(m.match(/(iPhone|iPod|iPad|Android|ios|Windows Phone)/i)){a("html").addClass("mobile")}}})})(jQuery);(function(a){a.extend({smoothScroll:function(){var E={frameRate:60,animationTime:700,stepSize:120,pulseAlgorithm:true,pulseScale:10,pulseNormalize:1,accelerationDelta:25,accelerationMax:1,keyboardSupport:true,arrowScroll:50,touchpadSupport:true,fixedBackground:true,excluded:""};var g=E;var i=false;var t=false;var F={x:0,y:0};var r=false;var w=document.documentElement;var m;var x;var D=[120,120,120];var K={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36};function B(){var N=false;if(document.URL.indexOf("google.com/reader/view")>-1){N=true}if(g.excluded){var L=g.excluded.split(/[,\n] ?/);L.push("mail.google.com");for(var M=L.length;M--;){if(document.URL.indexOf(L[M])>-1){x&&x.disconnect();y("mousewheel",C);N=true;i=true;break}}}if(N){y("keydown",q)}if(g.keyboardSupport&&!N){u("keydown",q)}}function z(){if(!document.body){return}var Q=document.body;var P=document.documentElement;var L=window.innerHeight;var U=Q.scrollHeight;w=(document.compatMode.indexOf("CSS")>=0)?P:Q;m=Q;B();r=true;if(top!=self){t=true}else{if(U>L&&(Q.offsetHeight<=L||P.offsetHeight<=L)){var M=false;var R=function(){if(!M&&P.scrollHeight!=document.height){M=true;setTimeout(function(){P.style.height=document.height+"px";M=false},600)}};P.style.height="auto";setTimeout(R,10);var O={attributes:true,childList:true,characterData:false};x=new o(R);x.observe(Q,O);if(w.offsetHeight<=L){var N=document.createElement("div");N.style.clear="both";Q.appendChild(N)}}}if(document.URL.indexOf("mail.google.com")>-1){var T=document.createElement("style");T.innerHTML=".iu { visibility: hidden }";(document.getElementsByTagName("head")[0]||P).appendChild(T)}else{if(document.URL.indexOf("www.facebook.com")>-1){var S=document.getElementById("home_stream");S&&(S.style.webkitTransform="translateZ(0)")}}if(!g.fixedBackground&&!i){Q.style.backgroundAttachment="scroll";P.style.backgroundAttachment="scroll"}}var h=[];var j=false;var l=+new Date;function f(O,N,S,P){P||(P=1000);J(N,S);if(g.accelerationMax!=1){var L=+new Date;var T=L-l;if(T1){Q=Math.min(Q,g.accelerationMax);N*=Q;S*=Q}}l=+new Date}h.push({x:N,y:S,lastX:(N<0)?0.99:-0.99,lastY:(S<0)?0.99:-0.99,start:+new Date});if(j){return}var R=(O===document.body);var M=function(V){var U=+new Date;var ac=0;var ab=0;for(var X=0;X=g.animationTime);var Y=(W)?1:ad/g.animationTime;if(g.pulseAlgorithm){Y=k(Y)}var aa=(ae.x*Y-ae.lastX)>>0;var Z=(ae.y*Y-ae.lastY)>>0;ac+=aa;ab+=Z;ae.lastX+=aa;ae.lastY+=Z;if(W){h.splice(X,1);X--}}if(R){window.scrollBy(ac,ab)}else{if(ac){O.scrollLeft+=ac}if(ab){O.scrollTop+=ab}}if(!N&&!S){h=[]}if(h.length){b(M,O,(P/g.frameRate+1))}else{j=false}};b(M,O,0);j=true}function C(O){if(!r){z()}var P=O.target;var N=G(P);if(!N||O.defaultPrevented||A(m,"embed")||(A(P,"embed")&&/\.pdf/i.test(P.src))){return true}var M=O.wheelDeltaX||0;var L=O.wheelDeltaY||0;if(!M&&!L){L=O.wheelDelta||0}if(!g.touchpadSupport&&n(L)){return true}if(Math.abs(M)>1.2){M*=g.stepSize/120}if(Math.abs(L)>1.2){L*=g.stepSize/120}f(N,-M,-L);O.preventDefault()}function q(M){var R=M.target;var P=M.ctrlKey||M.altKey||M.metaKey||(M.shiftKey&&M.keyCode!==K.spacebar);if(/input|textarea|select|embed/i.test(R.nodeName)||R.isContentEditable||M.defaultPrevented||P){return true}if(A(R,"button")&&M.keyCode===K.spacebar){return true}var N,T=0,S=0;var O=G(m);var Q=O.clientHeight;if(O==document.body){Q=window.innerHeight}switch(M.keyCode){case K.up:S=-g.arrowScroll;break;case K.down:S=g.arrowScroll;break;case K.spacebar:N=M.shiftKey?1:-1;S=-N*Q*0.9;break;case K.pageup:S=-Q*0.9;break;case K.pagedown:S=Q*0.9;break;case K.home:S=-O.scrollTop;break;case K.end:var L=O.scrollHeight-O.scrollTop-Q;S=(L>0)?L+10:0;break;case K.left:T=-g.arrowScroll;break;case K.right:T=g.arrowScroll;break;default:return true}f(O,T,S);M.preventDefault()}function v(L){m=L.target}var p={};setInterval(function(){p={}},10*1000);var e=(function(){var L=0;return function(M){return M.uniqueID||(M.uniqueID=L++)}})();function H(M,L){for(var N=M.length;N--;){p[e(M[N])]=L}return L}function G(O){var M=[];var L=w.scrollHeight;do{var N=p[e(O)];if(N){return H(M,N)}M.push(O);if(L===O.scrollHeight){if(!t||w.clientHeight+100)?1:-1;M=(M>0)?1:-1;if(F.x!==L||F.y!==M){F.x=L;F.y=M;h=[];l=0}}var s;function n(L){if(!L){return}L=Math.abs(L);D.push(L);D.shift();clearTimeout(s);var N=(D[0]==D[1]&&D[1]==D[2]);var M=(d(D[0],120)&&d(D[1],120)&&d(D[2],120));return !(N||M)}function d(M,L){return(Math.floor(M/L)==M/L)}var b=(function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(N,M,L){window.setTimeout(N,L||(1000/60))}})();var o=window.MutationObserver||window.WebKitMutationObserver;function I(L){var N,O,M;L=L*g.pulseScale;if(L<1){N=L-(1-Math.exp(-L))}else{O=Math.exp(-1);L-=1;M=1-Math.exp(-L);N=O+(M*(1-O))}return N*g.pulseNormalize}function k(L){if(L>=1){return 1}if(L<=0){return 0}if(g.pulseNormalize==1){g.pulseNormalize/=I(1)}return I(L)}u("mousedown",v);u("mousewheel",C);u("load",z)}})})(jQuery);jQuery.extend(jQuery.easing,{backout:function(e,f,a,i,h){var g=1.70158;return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a}});(function(a){a.fn.lavaLamp=function(b){b=a.extend({fx:"linear",speed:500,click:function(){}},b||{});return this.each(function(){var g=a(this),f=function(){},i=a('
  • ').appendTo(g),j=a("li",this),h=a("li.current",this)[0]||a(j[0]).addClass("")[0];j.not(".back1").hover(function(){d(this)},f);a(this).hover(f,function(){d(h)});j.click(function(k){e(this);return b.click.apply(this,[k,this])});e(h);function e(k){i.css({top:k.offsetTop+"px",height:k.offsetHeight+"px"});h=k}function d(k){i.each(function(){a.dequeue(this,"fx")}).animate({height:k.offsetHeight,top:k.offsetTop},b.speed,b.fx)}})}})(jQuery);jQuery.can_access=function(b,e,a){var d=new Image();d.src=b;if(typeof e==="function"){if(d.addEventListener){d.addEventListener("load",e,false)}else{d.attachEvent("onload",e)}}if(typeof a==="function"){if(d.addEventListener){d.addEventListener("error",a,false)}else{d.attachEvent("onerror",a)}}};