text: /**
   * VERSION: beta 0.12
   * DATE: 2013-01-13
   * JavaScript
   * UPDATES AND DOCS AT: http://www.greensock.com
   *
   * @license Copyright (c) 2008-2013, GreenSock. All rights reserved.
   * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for 
   * Club GreenSock members, the software agreement that was issued with your membership.
   * 
   * @author: Jack Doyle, jack@greensock.com
   **/
  (window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.EaselPlugin",["plugins.TweenPlugin"],function(e){var t=function(t,n){e.call(this,"easel",-1);this._overwriteProps.pop()},n=t.prototype=new e("easel",-1),r=/(\d|\.)+/g,i,s=["redMultiplier","greenMultiplier","blueMultiplier","alphaMultiplier","redOffset","greenOffset","blueOffset","alphaOffset"],o=function(e,t,n){if(!i){i=window.ColorFilter||window.createjs.ColorFilter;if(!i)throw"EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded."}var r=e.filters||[],o=r.length,a,f,l,c,h;while(--o>-1)if(r[o]instanceof i){f=r[o];break}if(!f){f=new i;r.push(f);e.filters=r}l=f.clone();if(t.tint!=null){a=u(t.tint);c=t.tintAmount!=null?Number(t.tintAmount):1;l.redOffset=Number(a[0])*c;l.greenOffset=Number(a[1])*c;l.blueOffset=Number(a[2])*c;l.redMultiplier=l.greenMultiplier=l.blueMultiplier=1-c}else for(h in t)h!=="exposure"&&h!=="brightness"&&(l[h]=Number(t[h]));if(t.exposure!=null){l.redOffset=l.greenOffset=l.blueOffset=255*(Number(t.exposure)-1);l.redMultiplier=l.greenMultiplier=l.blueMultiplier=1}else if(t.brightness!=null){c=Number(t.brightness)-1;l.redOffset=l.greenOffset=l.blueOffset=c>0?c*255:0;l.redMultiplier=l.greenMultiplier=l.blueMultiplier=1-Math.abs(c)}o=8;while(--o>-1){h=s[o];f[h]!==l[h]&&n._addTween(f,h,f[h],l[h],"easel_colorFilter")}n._overwriteProps.push("easel_colorFilter");if(!e.cacheID)throw"EaselPlugin warning: for filters to display in EaselJS, you must call the object's cache() method first. "+e},u=function(e){if(e===""||e==null||e==="none")return a.transparent;if(a[e])return a[e];if(typeof e=="number")return[e>>16,e>>8&255,e&255];if(e.charAt(0)==="#"){e.length===4&&(e="#"+e.charAt(1)+e.charAt(1)+e.charAt(2)+e.charAt(2)+e.charAt(3)+e.charAt(3));e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}return e.match(r)||a.transparent},a={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]};n.constructor=t;t.API=2;n._onInitTween=function(e,t,n){this._target=e;var r,i,s;for(r in t)if(r==="colorFilter"||r==="tint"||r==="tintAmount"||r==="exposure"||r==="brightness"){if(!s){o(e,t.colorFilter||t,this);s=!0}}else if(e[r]!=null){this._firstPT=i={_next:this._firstPT,t:e,p:r,f:typeof e[r]=="function",n:r,pr:0,type:0};i.s=i.f?e[r.indexOf("set")||typeof e["get"+r.substr(3)]!="function"?r:"get"+r.substr(3)]():parseFloat(e[r]);i.c=typeof t[r]=="number"?t[r]-i.s:typeof t[r]=="string"?parseFloat(t[r].split("=").join("")):0;i._next&&(i._next._prev=i)}return!0};n.setRatio=function(e){var t=this._firstPT,n;while(t){n=t.c*e+t.s;t.r&&(n=n+(n>0?.5:-0.5)>>0);t.f?t.t[t.p](n):t.t[t.p]=n;t=t._next}this._target.cacheID&&this._target.updateCache()};e.activate([t]);return t},!0)});window._gsDefine&&_gsQueue.pop()();