/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/


window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dojox.css3.fx"],["require","dojo.fx"],["require","dojox.html.ext-dojo.style"],["require","dojox.fx.ext-dojo.complex"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dojox.css3.fx"]){_4._hasResource["dojox.css3.fx"]=true;_4.provide("dojox.css3.fx");_4.require("dojo.fx");_4.require("dojox.html.ext-dojo.style");_4.require("dojox.fx.ext-dojo.complex");_4.mixin(_6.css3.fx,{puff:function(_7){return _4.fx.combine([_4.fadeOut(_7),this.expand({node:_7.node,endScale:_7.endScale||2})]);},expand:function(_8){return _4.animateProperty({node:_8.node,properties:{transform:{start:"scale(1)",end:"scale("+[_8.endScale||3]+")"}}});},shrink:function(_9){return this.expand({node:_9.node,endScale:0.01});},rotate:function(_a){return _4.animateProperty({node:_a.node,duration:_a.duration||1000,properties:{transform:{start:"rotate("+(_a.startAngle||"0deg")+")",end:"rotate("+(_a.endAngle||"360deg")+")"}}});},flip:function(_b){var _c=[],_d=_b.whichAnims||[0,1,2,3],_e=_b.direction||1,_f=[{start:"scale(1, 1) skew(0deg,0deg)",end:"scale(0, 1) skew(0,"+(_e*30)+"deg)"},{start:"scale(0, 1) skew(0deg,"+(_e*30)+"deg)",end:"scale(-1, 1) skew(0deg,0deg)"},{start:"scale(-1, 1) skew(0deg,0deg)",end:"scale(0, 1) skew(0deg,"+(-_e*30)+"deg)"},{start:"scale(0, 1) skew(0deg,"+(-_e*30)+"deg)",end:"scale(1, 1) skew(0deg,0deg)"}];for(var i=0;i<_d.length;i++){_c.push(_4.animateProperty(_4.mixin({node:_b.node,duration:_b.duration||600,properties:{transform:_f[_d[i]]}},_b)));}return _4.fx.chain(_c);},bounce:function(_10){var _11=[],n=_10.node,_12=_10.duration||1000,_13=_10.scaleX||1.2,_14=_10.scaleY||0.6,ds=_4.style,_15=ds(n,"position"),_16="absolute",_17=ds(n,"top"),_18=[],_19=0,_1a=Math.round,_1b=_10.jumpHeight||70;if(_15!=="absolute"){_16="relative";}var a1=_4.animateProperty({node:n,duration:_12/6,properties:{transform:{start:"scale(1, 1)",end:"scale("+_13+", "+_14+")"}}});_4.connect(a1,"onBegin",function(){ds(n,{transformOrigin:"50% 100%",position:_16});});_11.push(a1);var a2=_4.animateProperty({node:n,duration:_12/6,properties:{transform:{end:"scale(1, 1)",start:"scale("+_13+", "+_14+")"}}});_18.push(a2);_18.push(new _4.Animation(_4.mixin({curve:[],duration:_12/3,delay:_12/12,onBegin:function(){_19=(new Date).getTime();},onAnimate:function(){var _1c=(new Date).getTime();ds(n,{top:parseInt(ds(n,"top"))-_1a(_1b*((_1c-_19)/this.duration))+"px"});_19=_1c;}},_10)));_11.push(_4.fx.combine(_18));_11.push(_4.animateProperty(_4.mixin({duration:_12/3,onEnd:function(){ds(n,{position:_15});},properties:{top:_17}},_10)));_11.push(a1);_11.push(a2);return _4.fx.chain(_11);}});}}};});