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