String.prototype.parseColor=function(){var _1="#";if(this.slice(0,4)=="rgb("){var _2=this.slice(4,this.length-1).split(",");var i=0;do{_1+=parseInt(_2[i]).toColorPart();}while(++i<3);}else{if(this.slice(0,1)=="#"){if(this.length==4){for(var i=1;i<4;i++){_1+=(this.charAt(i)+this.charAt(i)).toLowerCase();}}if(this.length==7){_1=this.toLowerCase();}}}return (_1.length==7?_1:(arguments[0]||this));};Element.collectTextNodes=function(_3){return $A($(_3).childNodes).collect(function(_4){return (_4.nodeType==3?_4.nodeValue:(_4.hasChildNodes()?Element.collectTextNodes(_4):""));}).flatten().join("");};Element.collectTextNodesIgnoreClass=function(_5,_6){return $A($(_5).childNodes).collect(function(_7){return (_7.nodeType==3?_7.nodeValue:((_7.hasChildNodes()&&!Element.hasClassName(_7,_6))?Element.collectTextNodes(_7):""));}).flatten().join("");};Element.setStyle=function(_8,_9){_8=$(_8);for(k in _9){_8.style[k.camelize()]=_9[k];}};Element.setContentZoom=function(_a,_b){Element.setStyle(_a,{fontSize:(_b/100)+"em"});if(navigator.appVersion.indexOf("AppleWebKit")>0){window.scrollBy(0,0);}};Element.getOpacity=function(_c){var _d;if(_d=Element.getStyle(_c,"opacity")){return parseFloat(_d);}if(_d=(Element.getStyle(_c,"filter")||"").match(/alpha\(opacity=(.*)\)/)){if(_d[1]){return parseFloat(_d[1])/100;}}return 1;};Element.setOpacity=function(_e,_f){_e=$(_e);if(_f==1){Element.setStyle(_e,{opacity:(/Gecko/.test(navigator.userAgent)&&!/Konqueror|Safari|KHTML/.test(navigator.userAgent))?0.999999:null});if(/MSIE/.test(navigator.userAgent)){Element.setStyle(_e,{filter:Element.getStyle(_e,"filter").replace(/alpha\([^\)]*\)/gi,"")});}}else{if(_f<0.00001){_f=0;}Element.setStyle(_e,{opacity:_f});if(/MSIE/.test(navigator.userAgent)){Element.setStyle(_e,{filter:Element.getStyle(_e,"filter").replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+_f*100+")"});}}};Element.getInlineOpacity=function(_10){return $(_10).style.opacity||"";};Element.childrenWithClassName=function(_11,_12){return $A($(_11).getElementsByTagName("*")).select(function(c){return Element.hasClassName(c,_12);});};Array.prototype.call=function(){var _13=arguments;this.each(function(f){f.apply(this,_13);});};var Effect={tagifyText:function(_14){var _15="position:relative";if(/MSIE/.test(navigator.userAgent)){_15+=";zoom:1";}_14=$(_14);$A(_14.childNodes).each(function(_16){if(_16.nodeType==3){_16.nodeValue.toArray().each(function(_17){_14.insertBefore(Builder.node("span",{style:_15},_17==" "?String.fromCharCode(160):_17),_16);});Element.remove(_16);}});},multiple:function(_18,_19){var _1a;if(((typeof _18=="object")||(typeof _18=="function"))&&(_18.length)){_1a=_18;}else{_1a=$(_18).childNodes;}var _1b=Object.extend({speed:0.1,delay:0},arguments[2]||{});var _1c=_1b.delay;$A(_1a).each(function(_1d,_1e){new _19(_1d,Object.extend(_1b,{delay:_1e*_1b.speed+_1c}));});},PAIRS:{"slide":["SlideDown","SlideUp"],"blind":["BlindDown","BlindUp"],"appear":["Appear","Fade"]},toggle:function(_1f,_20){_1f=$(_1f);_20=(_20||"appear").toLowerCase();var _21=Object.extend({queue:{position:"end",scope:(_1f.id||"global")}},arguments[2]||{});Effect[Element.visible(_1f)?Effect.PAIRS[_20][1]:Effect.PAIRS[_20][0]](_1f,_21);}};var Effect2=Effect;Effect.Transitions={};Effect.Transitions.linear=function(pos){return pos;};Effect.Transitions.sinoidal=function(pos){return (-Math.cos(pos*Math.PI)/2)+0.5;};Effect.Transitions.reverse=function(pos){return 1-pos;};Effect.Transitions.flicker=function(pos){return ((-Math.cos(pos*Math.PI)/4)+0.75)+Math.random()/4;};Effect.Transitions.wobble=function(pos){return (-Math.cos(pos*Math.PI*(9*pos))/2)+0.5;};Effect.Transitions.pulse=function(pos){return (Math.floor(pos*10)%2==0?(pos*10-Math.floor(pos*10)):1-(pos*10-Math.floor(pos*10)));};Effect.Transitions.none=function(pos){return 0;};Effect.Transitions.full=function(pos){return 1;};Effect.ScopedQueue=Class.create();Object.extend(Object.extend(Effect.ScopedQueue.prototype,Enumerable),{initialize:function(){this.effects=[];this.interval=null;},_each:function(_22){this.effects._each(_22);},add:function(_23){var _24=new Date().getTime();var _25=(typeof _23.options.queue=="string")?_23.options.queue:_23.options.queue.position;switch(_25){case "front":this.effects.findAll(function(e){return e.state=="idle";}).each(function(e){e.startOn+=_23.finishOn;e.finishOn+=_23.finishOn;});break;case "end":_24=this.effects.pluck("finishOn").max()||_24;break;}_23.startOn+=_24;_23.finishOn+=_24;this.effects.push(_23);if(!this.interval){this.interval=setInterval(this.loop.bind(this),40);}},remove:function(_26){this.effects=this.effects.reject(function(e){return e==_26;});if(this.effects.length==0){clearInterval(this.interval);this.interval=null;}},loop:function(){var _27=new Date().getTime();this.effects.invoke("loop",_27);}});Effect.Queues={instances:$H(),get:function(_28){if(typeof _28!="string"){return _28;}if(!this.instances[_28]){this.instances[_28]=new Effect.ScopedQueue();}return this.instances[_28];}};Effect.Queue=Effect.Queues.get("global");Effect.DefaultOptions={transition:Effect.Transitions.sinoidal,duration:1,fps:25,sync:false,from:0,to:1,delay:0,queue:"parallel"};Effect.Base=function(){};Effect.Base.prototype={position:null,start:function(_29){this.options=Object.extend(Object.extend({},Effect.DefaultOptions),_29||{});this.currentFrame=0;this.state="idle";this.startOn=this.options.delay*1000;this.finishOn=this.startOn+(this.options.duration*1000);this.event("beforeStart");if(!this.options.sync){Effect.Queues.get(typeof this.options.queue=="string"?"global":this.options.queue.scope).add(this);}},loop:function(_2a){if(_2a>=this.startOn){if(_2a>=this.finishOn){this.render(1);this.cancel();this.event("beforeFinish");if(this.finish){this.finish();}this.event("afterFinish");return;}var pos=(_2a-this.startOn)/(this.finishOn-this.startOn);var _2b=Math.round(pos*this.options.fps*this.options.duration);if(_2b>this.currentFrame){this.render(pos);this.currentFrame=_2b;}}},render:function(pos){if(this.state=="idle"){this.state="running";this.event("beforeSetup");if(this.setup){this.setup();}this.event("afterSetup");}if(this.state=="running"){if(this.options.transition){pos=this.options.transition(pos);}pos*=(this.options.to-this.options.from);pos+=this.options.from;this.position=pos;this.event("beforeUpdate");if(this.update){this.update(pos);}this.event("afterUpdate");}},cancel:function(){if(!this.options.sync){Effect.Queues.get(typeof this.options.queue=="string"?"global":this.options.queue.scope).remove(this);}this.state="finished";},event:function(_2c){if(this.options[_2c+"Internal"]){this.options[_2c+"Internal"](this);}if(this.options[_2c]){this.options[_2c](this);}},inspect:function(){return "#<Effect:"+$H(this).inspect()+",options:"+$H(this.options).inspect()+">";}};Effect.Parallel=Class.create();Object.extend(Object.extend(Effect.Parallel.prototype,Effect.Base.prototype),{initialize:function(_2d){this.effects=_2d||[];this.start(arguments[1]);},update:function(_2e){this.effects.invoke("render",_2e);},finish:function(_2f){this.effects.each(function(_30){_30.render(1);_30.cancel();_30.event("beforeFinish");if(_30.finish){_30.finish(_2f);}_30.event("afterFinish");});}});Effect.Opacity=Class.create();Object.extend(Object.extend(Effect.Opacity.prototype,Effect.Base.prototype),{initialize:function(_31){this.element=$(_31);if(/MSIE/.test(navigator.userAgent)&&(!this.element.hasLayout)){Element.setStyle(this.element,{zoom:1});}var _32=Object.extend({from:Element.getOpacity(this.element)||0,to:1},arguments[1]||{});this.start(_32);},update:function(_33){Element.setOpacity(this.element,_33);}});Effect.Move=Class.create();Object.extend(Object.extend(Effect.Move.prototype,Effect.Base.prototype),{initialize:function(_34){this.element=$(_34);var _35=Object.extend({x:0,y:0,mode:"relative"},arguments[1]||{});this.start(_35);},setup:function(){Element.makePositioned(this.element);this.originalLeft=parseFloat(Element.getStyle(this.element,"left")||"0");this.originalTop=parseFloat(Element.getStyle(this.element,"top")||"0");if(this.options.mode=="absolute"){this.options.x=this.options.x-this.originalLeft;this.options.y=this.options.y-this.originalTop;}},update:function(_36){Element.setStyle(this.element,{left:this.options.x*_36+this.originalLeft+"px",top:this.options.y*_36+this.originalTop+"px"});}});Effect.MoveBy=function(_37,_38,_39){return new Effect.Move(_37,Object.extend({x:_39,y:_38},arguments[3]||{}));};Effect.Scale=Class.create();Object.extend(Object.extend(Effect.Scale.prototype,Effect.Base.prototype),{initialize:function(_3a,_3b){this.element=$(_3a);var _3c=Object.extend({scaleX:true,scaleY:true,scaleContent:true,scaleFromCenter:false,scaleMode:"box",scaleFrom:100,scaleTo:_3b},arguments[2]||{});this.start(_3c);},setup:function(){this.restoreAfterFinish=this.options.restoreAfterFinish||false;this.elementPositioning=Element.getStyle(this.element,"position");this.originalStyle={};["top","left","width","height","fontSize"].each(function(k){this.originalStyle[k]=this.element.style[k];}.bind(this));this.originalTop=this.element.offsetTop;this.originalLeft=this.element.offsetLeft;var _3d=Element.getStyle(this.element,"font-size")||"100%";["em","px","%"].each(function(_3e){if(_3d.indexOf(_3e)>0){this.fontSize=parseFloat(_3d);this.fontSizeType=_3e;}}.bind(this));this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;this.dims=null;if(this.options.scaleMode=="box"){this.dims=[this.element.offsetHeight,this.element.offsetWidth];}if(/^content/.test(this.options.scaleMode)){this.dims=[this.element.scrollHeight,this.element.scrollWidth];}if(!this.dims){this.dims=[this.options.scaleMode.originalHeight,this.options.scaleMode.originalWidth];}},update:function(_3f){var _40=(this.options.scaleFrom/100)+(this.factor*_3f);if(this.options.scaleContent&&this.fontSize){Element.setStyle(this.element,{fontSize:this.fontSize*_40+this.fontSizeType});}this.setDimensions(this.dims[0]*_40,this.dims[1]*_40);},finish:function(_41){if(this.restoreAfterFinish){Element.setStyle(this.element,this.originalStyle);}},setDimensions:function(_42,_43){var d={};if(this.options.scaleX){d.width=_43+"px";}if(this.options.scaleY){d.height=_42+"px";}if(this.options.scaleFromCenter){var _44=(_42-this.dims[0])/2;var _45=(_43-this.dims[1])/2;if(this.elementPositioning=="absolute"){if(this.options.scaleY){d.top=this.originalTop-_44+"px";}if(this.options.scaleX){d.left=this.originalLeft-_45+"px";}}else{if(this.options.scaleY){d.top=-_44+"px";}if(this.options.scaleX){d.left=-_45+"px";}}}Element.setStyle(this.element,d);}});Effect.Highlight=Class.create();Object.extend(Object.extend(Effect.Highlight.prototype,Effect.Base.prototype),{initialize:function(_46){this.element=$(_46);var _47=Object.extend({startcolor:"#ffff99"},arguments[1]||{});this.start(_47);},setup:function(){if(Element.getStyle(this.element,"display")=="none"){this.cancel();return;}this.oldStyle={backgroundImage:Element.getStyle(this.element,"background-image")};Element.setStyle(this.element,{backgroundImage:"none"});if(!this.options.endcolor){this.options.endcolor=Element.getStyle(this.element,"background-color").parseColor("#ffffff");}if(!this.options.restorecolor){this.options.restorecolor=Element.getStyle(this.element,"background-color");}this._base=$R(0,2).map(function(i){return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16);}.bind(this));this._delta=$R(0,2).map(function(i){return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i];}.bind(this));},update:function(_48){Element.setStyle(this.element,{backgroundColor:$R(0,2).inject("#",function(m,v,i){return m+(Math.round(this._base[i]+(this._delta[i]*_48)).toColorPart());}.bind(this))});},finish:function(){Element.setStyle(this.element,Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}));}});Effect.ScrollTo=Class.create();Object.extend(Object.extend(Effect.ScrollTo.prototype,Effect.Base.prototype),{initialize:function(_49){this.element=$(_49);this.start(arguments[1]||{});},setup:function(){Position.prepare();var _4a=Position.cumulativeOffset(this.element);if(this.options.offset){_4a[1]+=this.options.offset;}var max=window.innerHeight?window.height-window.innerHeight:document.body.scrollHeight-(document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight);this.scrollStart=Position.deltaY;this.delta=(_4a[1]>max?max:_4a[1])-this.scrollStart;},update:function(_4b){Position.prepare();window.scrollTo(Position.deltaX,this.scrollStart+(_4b*this.delta));}});Effect.Fade=function(_4c){var _4d=Element.getInlineOpacity(_4c);var _4e=Object.extend({from:Element.getOpacity(_4c)||1,to:0,afterFinishInternal:function(_4f){with(Element){if(_4f.options.to!=0){return;}hide(_4f.element);setStyle(_4f.element,{opacity:_4d});}}},arguments[1]||{});return new Effect.Opacity(_4c,_4e);};Effect.Appear=function(_50){var _51=Object.extend({from:(Element.getStyle(_50,"display")=="none"?0:Element.getOpacity(_50)||0),to:1,beforeSetup:function(_52){with(Element){setOpacity(_52.element,_52.options.from);show(_52.element);}}},arguments[1]||{});return new Effect.Opacity(_50,_51);};Effect.Puff=function(_53){_53=$(_53);var _54={opacity:Element.getInlineOpacity(_53),position:Element.getStyle(_53,"position")};return new Effect.Parallel([new Effect.Scale(_53,200,{sync:true,scaleFromCenter:true,scaleContent:true,restoreAfterFinish:true}),new Effect.Opacity(_53,{sync:true,to:0})],Object.extend({duration:1,beforeSetupInternal:function(_55){with(Element){setStyle(_55.effects[0].element,{position:"absolute"});}},afterFinishInternal:function(_56){with(Element){hide(_56.effects[0].element);setStyle(_56.effects[0].element,_54);}}},arguments[1]||{}));};Effect.BlindUp=function(_57){_57=$(_57);Element.makeClipping(_57);return new Effect.Scale(_57,0,Object.extend({scaleContent:false,scaleX:false,restoreAfterFinish:true,afterFinishInternal:function(_58){with(Element){[hide,undoClipping].call(_58.element);}}},arguments[1]||{}));};Effect.BlindDown=function(_59){_59=$(_59);var _5a=Element.getStyle(_59,"height");var _5b=Element.getDimensions(_59);return new Effect.Scale(_59,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:_5b.height,originalWidth:_5b.width},restoreAfterFinish:true,afterSetup:function(_5c){with(Element){makeClipping(_5c.element);setStyle(_5c.element,{height:"0px"});show(_5c.element);}},afterFinishInternal:function(_5d){with(Element){undoClipping(_5d.element);setStyle(_5d.element,{height:_5a});}}},arguments[1]||{}));};Effect.SwitchOff=function(_5e){_5e=$(_5e);var _5f=Element.getInlineOpacity(_5e);return new Effect.Appear(_5e,{duration:0.4,from:0,transition:Effect.Transitions.flicker,afterFinishInternal:function(_60){new Effect.Scale(_60.element,1,{duration:0.3,scaleFromCenter:true,scaleX:false,scaleContent:false,restoreAfterFinish:true,beforeSetup:function(_61){with(Element){[makePositioned,makeClipping].call(_61.element);}},afterFinishInternal:function(_62){with(Element){[hide,undoClipping,undoPositioned].call(_62.element);setStyle(_62.element,{opacity:_5f});}}});}});};Effect.DropOut=function(_63){_63=$(_63);var _64={top:Element.getStyle(_63,"top"),left:Element.getStyle(_63,"left"),opacity:Element.getInlineOpacity(_63)};return new Effect.Parallel([new Effect.Move(_63,{x:0,y:100,sync:true}),new Effect.Opacity(_63,{sync:true,to:0})],Object.extend({duration:0.5,beforeSetup:function(_65){with(Element){makePositioned(_65.effects[0].element);}},afterFinishInternal:function(_66){with(Element){[hide,undoPositioned].call(_66.effects[0].element);setStyle(_66.effects[0].element,_64);}}},arguments[1]||{}));};Effect.Shake=function(_67){_67=$(_67);var _68={top:Element.getStyle(_67,"top"),left:Element.getStyle(_67,"left")};return new Effect.Move(_67,{x:20,y:0,duration:0.05,afterFinishInternal:function(_69){new Effect.Move(_69.element,{x:-40,y:0,duration:0.1,afterFinishInternal:function(_6a){new Effect.Move(_6a.element,{x:40,y:0,duration:0.1,afterFinishInternal:function(_6b){new Effect.Move(_6b.element,{x:-40,y:0,duration:0.1,afterFinishInternal:function(_6c){new Effect.Move(_6c.element,{x:40,y:0,duration:0.1,afterFinishInternal:function(_6d){new Effect.Move(_6d.element,{x:-20,y:0,duration:0.05,afterFinishInternal:function(_6e){with(Element){undoPositioned(_6e.element);setStyle(_6e.element,_68);}}});}});}});}});}});}});};Effect.SlideDown=function(_6f){_6f=$(_6f);Element.cleanWhitespace(_6f);var _70=Element.getStyle(_6f.firstChild,"bottom");var _71=Element.getDimensions(_6f);return new Effect.Scale(_6f,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:_71.height,originalWidth:_71.width},restoreAfterFinish:true,afterSetup:function(_72){with(Element){makePositioned(_72.element);makePositioned(_72.element.firstChild);if(window.opera){setStyle(_72.element,{top:""});}makeClipping(_72.element);setStyle(_72.element,{height:"0px"});show(_6f);}},afterUpdateInternal:function(_73){with(Element){setStyle(_73.element.firstChild,{bottom:(_73.dims[0]-_73.element.clientHeight)+"px"});}},afterFinishInternal:function(_74){with(Element){undoClipping(_74.element);undoPositioned(_74.element.firstChild);undoPositioned(_74.element);setStyle(_74.element.firstChild,{bottom:_70});}}},arguments[1]||{}));};Effect.SlideUp=function(_75){_75=$(_75);Element.cleanWhitespace(_75);var _76=Element.getStyle(_75.firstChild,"bottom");return new Effect.Scale(_75,0,Object.extend({scaleContent:false,scaleX:false,scaleMode:"box",scaleFrom:100,restoreAfterFinish:true,beforeStartInternal:function(_77){with(Element){makePositioned(_77.element);makePositioned(_77.element.firstChild);if(window.opera){setStyle(_77.element,{top:""});}makeClipping(_77.element);show(_75);}},afterUpdateInternal:function(_78){with(Element){setStyle(_78.element.firstChild,{bottom:(_78.dims[0]-_78.element.clientHeight)+"px"});}},afterFinishInternal:function(_79){with(Element){[hide,undoClipping].call(_79.element);undoPositioned(_79.element.firstChild);undoPositioned(_79.element);setStyle(_79.element.firstChild,{bottom:_76});}}},arguments[1]||{}));};Effect.Squish=function(_7a){return new Effect.Scale(_7a,window.opera?1:0,{restoreAfterFinish:true,beforeSetup:function(_7b){with(Element){makeClipping(_7b.element);}},afterFinishInternal:function(_7c){with(Element){hide(_7c.element);undoClipping(_7c.element);}}});};Effect.Grow=function(_7d){_7d=$(_7d);var _7e=Object.extend({direction:"center",moveTransistion:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.full},arguments[1]||{});var _7f={top:_7d.style.top,left:_7d.style.left,height:_7d.style.height,width:_7d.style.width,opacity:Element.getInlineOpacity(_7d)};var _80=Element.getDimensions(_7d);var _81,_82;var _83,_84;switch(_7e.direction){case "top-left":_81=_82=_83=_84=0;break;case "top-right":_81=_80.width;_82=_84=0;_83=-_80.width;break;case "bottom-left":_81=_83=0;_82=_80.height;_84=-_80.height;break;case "bottom-right":_81=_80.width;_82=_80.height;_83=-_80.width;_84=-_80.height;break;case "center":_81=_80.width/2;_82=_80.height/2;_83=-_80.width/2;_84=-_80.height/2;break;}return new Effect.Move(_7d,{x:_81,y:_82,duration:0.01,beforeSetup:function(_85){with(Element){hide(_85.element);makeClipping(_85.element);makePositioned(_85.element);}},afterFinishInternal:function(_86){new Effect.Parallel([new Effect.Opacity(_86.element,{sync:true,to:1,from:0,transition:_7e.opacityTransition}),new Effect.Move(_86.element,{x:_83,y:_84,sync:true,transition:_7e.moveTransition}),new Effect.Scale(_86.element,100,{scaleMode:{originalHeight:_80.height,originalWidth:_80.width},sync:true,scaleFrom:window.opera?1:0,transition:_7e.scaleTransition,restoreAfterFinish:true})],Object.extend({beforeSetup:function(_87){with(Element){setStyle(_87.effects[0].element,{height:"0px"});show(_87.effects[0].element);}},afterFinishInternal:function(_88){with(Element){[undoClipping,undoPositioned].call(_88.effects[0].element);setStyle(_88.effects[0].element,_7f);}}},_7e));}});};Effect.Shrink=function(_89){_89=$(_89);var _8a=Object.extend({direction:"center",moveTransistion:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.none},arguments[1]||{});var _8b={top:_89.style.top,left:_89.style.left,height:_89.style.height,width:_89.style.width,opacity:Element.getInlineOpacity(_89)};var _8c=Element.getDimensions(_89);var _8d,_8e;switch(_8a.direction){case "top-left":_8d=_8e=0;break;case "top-right":_8d=_8c.width;_8e=0;break;case "bottom-left":_8d=0;_8e=_8c.height;break;case "bottom-right":_8d=_8c.width;_8e=_8c.height;break;case "center":_8d=_8c.width/2;_8e=_8c.height/2;break;}return new Effect.Parallel([new Effect.Opacity(_89,{sync:true,to:0,from:1,transition:_8a.opacityTransition}),new Effect.Scale(_89,window.opera?1:0,{sync:true,transition:_8a.scaleTransition,restoreAfterFinish:true}),new Effect.Move(_89,{x:_8d,y:_8e,sync:true,transition:_8a.moveTransition})],Object.extend({beforeStartInternal:function(_8f){with(Element){[makePositioned,makeClipping].call(_8f.effects[0].element);}},afterFinishInternal:function(_90){with(Element){[hide,undoClipping,undoPositioned].call(_90.effects[0].element);setStyle(_90.effects[0].element,_8b);}}},_8a));};Effect.Pulsate=function(_91){_91=$(_91);var _92=arguments[1]||{};var _93=Element.getInlineOpacity(_91);var _94=_92.transition||Effect.Transitions.sinoidal;var _95=function(pos){return _94(1-Effect.Transitions.pulse(pos));};_95.bind(_94);return new Effect.Opacity(_91,Object.extend(Object.extend({duration:3,from:0,afterFinishInternal:function(_96){Element.setStyle(_96.element,{opacity:_93});}},_92),{transition:_95}));};Effect.Fold=function(_97){_97=$(_97);var _98={top:_97.style.top,left:_97.style.left,width:_97.style.width,height:_97.style.height};Element.makeClipping(_97);return new Effect.Scale(_97,5,Object.extend({scaleContent:false,scaleX:false,afterFinishInternal:function(_99){new Effect.Scale(_97,1,{scaleContent:false,scaleY:false,afterFinishInternal:function(_9a){with(Element){[hide,undoClipping].call(_9a.element);setStyle(_9a.element,_98);}}});}},arguments[1]||{}));};
