if(typeof $telerik.$==="undefined"){$telerik.$=jQuery; /* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Open source under the BSD License. * * Copyright ? 2008 George McGinley Smith * All rights reserved. */ /* * EASING EQUATIONS * * Open source under the BSD License. * * Copyright ? 2001 Robert Penner * All rights reserved. */ }(function(a){a.easing.jswing=a.easing.swing; a.extend(a.easing,{def:"easeOutQuad",swing:function(e,f,g,h,i){return a.easing[a.easing.def](e,f,g,h,i); },easeLinear:function(e,f,g,h,i){return h*f/i+g; },easeInQuad:function(e,f,g,h,i){return h*(f/=i)*f+g; },easeOutQuad:function(e,f,g,h,i){return -h*(f/=i)*(f-2)+g; },easeInOutQuad:function(e,f,g,h,i){if((f/=i/2)<1){return h/2*f*f+g; }return -h/2*((--f)*(f-2)-1)+g; },easeInCubic:function(e,f,g,h,i){return h*(f/=i)*f*f+g; },easeOutCubic:function(e,f,g,h,i){return h*((f=f/i-1)*f*f+1)+g; },easeInOutCubic:function(e,f,g,h,i){if((f/=i/2)<1){return h/2*f*f*f+g; }return h/2*((f-=2)*f*f+2)+g; },easeInQuart:function(e,f,g,h,i){return h*(f/=i)*f*f*f+g; },easeOutQuart:function(e,f,g,h,i){return -h*((f=f/i-1)*f*f*f-1)+g; },easeInOutQuart:function(e,f,g,h,i){if((f/=i/2)<1){return h/2*f*f*f*f+g; }return -h/2*((f-=2)*f*f*f-2)+g; },easeInQuint:function(e,f,g,h,i){return h*(f/=i)*f*f*f*f+g; },easeOutQuint:function(e,f,g,h,i){return h*((f=f/i-1)*f*f*f*f+1)+g; },easeInOutQuint:function(e,f,g,h,i){if((f/=i/2)<1){return h/2*f*f*f*f*f+g; }return h/2*((f-=2)*f*f*f*f+2)+g; },easeInSine:function(e,f,g,h,i){return -h*Math.cos(f/i*(Math.PI/2))+h+g; },easeOutSine:function(e,f,g,h,i){return h*Math.sin(f/i*(Math.PI/2))+g; },easeInOutSine:function(e,f,g,h,i){return -h/2*(Math.cos(Math.PI*f/i)-1)+g; },easeInExpo:function(e,f,g,h,i){return(f==0)?g:h*Math.pow(2,10*(f/i-1))+g; },easeOutExpo:function(e,f,g,h,i){return(f==i)?g+h:h*(-Math.pow(2,-10*f/i)+1)+g; },easeInOutExpo:function(e,f,g,h,i){if(f==0){return g; }if(f==i){return g+h; }if((f/=i/2)<1){return h/2*Math.pow(2,10*(f-1))+g; }return h/2*(-Math.pow(2,-10*--f)+2)+g; },easeInCirc:function(e,f,g,h,i){return -h*(Math.sqrt(1-(f/=i)*f)-1)+g; },easeOutCirc:function(e,f,g,h,i){return h*Math.sqrt(1-(f=f/i-1)*f)+g; },easeInOutCirc:function(e,f,g,h,i){if((f/=i/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+g; }return h/2*(Math.sqrt(1-(f-=2)*f)+1)+g; },easeInElastic:function(e,l,g,h,i){var k=1.70158; var j=0; var f=h; if(l==0){return g; }if((l/=i)==1){return g+h; }if(!j){j=i*0.3; }if(ff?d.now:f; d.elem.style[d.prop]=Math.round(e)+d.unit; }; function c(d,e){return["live",d,e.replace(/\./g,"`").replace(/ /g,"|")].join("."); }function a(e,d){b.each(d,function(g,f){if(g.indexOf("et_")>0){e[g]=f; return; }var h=function(){return f; }; if(g=="domEvent"&&f){h=function(){return new Sys.UI.DomEvent(f.originalEvent||f.rawEvent||f); }; }e["get_"+g]=h; }); return e; }b.extend({registerControlEvents:function(d,e){b.each(e,function(f,g){d.prototype["add_"+g]=function(h){this.get_events().addHandler(g,h); }; d.prototype["remove_"+g]=function(h){this.get_events().removeHandler(g,h); }; }); },registerControlProperties:function(d,e){b.each(e,function(f,g){d.prototype["get_"+f]=function(){var h=this["_"+f]; return typeof h=="undefined"?g:h; }; d.prototype["set_"+f]=function(h){this["_"+f]=h; }; }); },registerEnum:function(e,d,f){e[d]=function(){}; e[d].prototype=f; e[d].registerEnum("Telerik.Web.UI."+d); },raiseControlEvent:function(e,f,d){var g=e.get_events().getHandler(f); if(g){g(e,a(new Sys.EventArgs(),d)); }},raiseCancellableControlEvent:function(e,g,d){var h=e.get_events().getHandler(g); if(h){var f=a(new Sys.CancelEventArgs(),d); h(e,f); return f.get_cancel(); }return false; },isBogus:function(e){try{var d=e.parentNode; return false; }catch(f){return true; }}}); b.fn.extend({live:function(e,d){var f=b.event.proxy(d); f.guid+=this.selector+e; b(this.context).bind(c(e,this.selector),this.selector,f); return this; },die:function(e,d){b(this.context).unbind(c(e,this.selector),d?{guid:d.guid+this.selector+e}:null); return this; }}); b.eachCallback=function(d,e){var f=0; function g(){if(d.length==0){return; }var h=d[f]; e.apply(h); f++; if(f