Array.implement({count:function(){return this.length}});Element.implement({getSelectedValue:function(){if(this.tagName.toLowerCase()!="select"){return null}return $splat(new Elements($A(this.options).filter(function(A){return A.selected})).map(function(A){return A.value.clean()}))},getSelectedIndex:function(){if(this.tagName.toLowerCase()!="select"){return null}return $splat(new Elements($A(this.options).filter(function(A){return A.selected})).map(function(A){return A.index}))},getSelectedFull:function(){if(this.tagName.toLowerCase()!="select"){return null}return $splat(new Elements($A(this.options).filter(function(A){return A.selected})).map(function(A){return{"index":A.index,"value":A.value.clean()}}))},setSelected:function(A,B){if(this.tagName.toLowerCase()!="select"){return null}if(!B){this.clearSelect()}var A=$splat(A);Array.each(this.options,function(D,C){if(A.contains(D.getProperty("value"))||A.contains(C)){D.set("selected","selected")}});return },clearSelect:function(B){if(this.tagName.toLowerCase()!="select"){return null}var A=this.getSelectedFull();Array.each(this.options,function(C){C.set("selected",(C.defaultSelected&&B)?"selected":"")});return A}});(function(){var B;var A=function(E){var D=$(E.target);var C=D.getParents();B.each(function(G){var F=G.element;if(F!=D&&!C.contains(F)){G.fn.call(F,E)}})};Element.Events.outerClick={onAdd:function(C){if(!B){document.addEvent("click",A);B=[]}B.push({element:this,fn:C})},onRemove:function(C){B=B.filter(function(D){return D.element!=this||D.fn!=C},this);if(!B.length){document.removeEvent("click",A);B=null}}}})();Element.Events.pressEnter={base:"keydown",condition:function(A){return(A.key=="enter")}};Browser.combine({getHost:function(A){A=$pick(A,window.location.href);var B=A;if(A.test("http://")){A=A.substring(A.indexOf("http://")+7,A.length);if(A.test(":")){A=A.substring(0,A.indexOf(":"))}if(A.test("/")){return A.substring(0,A.indexOf("/"))}return A}return false},getQueryStringValue:function(B,A){try{return Browser.getQueryStringValues(A)[B]}catch(C){return null}},getQueryStringValues:function(B){var A=$pick(B,window.location.search,"").split("?")[1];if(!$chk(A)){return{}}if(A.test("#")){A=A.substring(0,A.indexOf("#"))}try{if(A){return A.parseQuery()}}catch(C){return null}return{}},getPort:function(C){C=$pick(C,window.location.href);var D=new RegExp(":([0-9]{4})");var A=D.exec(C);if(A==null){return false}else{var B=false;A.each(function(E){if($chk(parseInt(E))){B=E}})}return B}});window.addEvent("domready",function(){var B=0;function A(){function C(){B++;if(B<20){A.delay(50)}}try{if(!Browser.set("qs",Browser.getQueryStringValues())){C()}}catch(D){C()}}A()});Browser.combine({fixPNG:function(A){if($type(A)=="array"){return $$(A).each(Browser.fixPNG)}if($(A)){A=$(A).get("tag")}window.addEvent("domready",function(){if(document.all&&/MSIE (5\.5|6)/.test(navigator.userAgent)&&document.styleSheets&&document.styleSheets[0]&&document.styleSheets[0].addRule){if(!$("iepngfix_tilebg_js")){new Element("script",{src:Browser.iepngFixJs,id:"iepngfix_tilebg_js","type":"text/javascript"}).inject(document.head)}if(!document.styleSheets[0]){new Element("style").inject(document.head)}document.styleSheets[0].addRule(A||".fixPNG","behavior: url("+Browser.iepngfixUrl+")")}})},iepngFixJs:"/resources/base/scripts/plugin/fixpng/iepngfix_tilebg.js",iepngfixUrl:"/resources/base/scripts/plugin/fixpng/iepngfix.htc"});Browser.fixPNG();var IframeShim=new Class({Implements:[Options,Events],options:{name:"",className:"iframeShim",display:false,zindex:null,margin:0,offset:{x:0,y:0},browsers:(Browser.Engine.trident4||(Browser.Engine.gecko&&!Browser.Engine.gecko19&&Browser.Platform.mac))},initialize:function(B,A){this.setOptions(A);if(this.options.offset&&this.options.offset.top){this.options.offset.y=this.options.offset.top}if(this.options.offset&&this.options.offset.left){this.options.offset.x=this.options.offset.left}this.element=$(B);this.makeShim();return },makeShim:function(){this.shim=new Element("iframe");this.id=this.options.name||new Date().getTime()+"_shim";if(this.element.getStyle("z-Index").toInt()<1||isNaN(this.element.getStyle("z-Index").toInt())){this.element.setStyle("z-Index",5)}var B=this.element.getStyle("z-Index")-1;if($chk(this.options.zindex)&&this.element.getStyle("z-Index").toInt()>this.options.zindex){B=this.options.zindex}this.shim.setStyles({"position":"absolute","zIndex":B,"border":"none","filter":"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"}).setProperties({"src":"javascript:void(0);","frameborder":"0","scrolling":"no","id":this.id}).addClass(this.options.className);this.element.store("shim",this);var A=function(){this.shim.inject(this.element,"after");if(this.options.display){this.show()}else{this.hide()}this.fireEvent("onInject")};if(this.options.browsers){if(Browser.Engine.trident&&!IframeShim.ready){window.addEvent("load",A.bind(this))}else{A.run(null,this)}}},position:function(C){if(!this.options.browsers||!IframeShim.ready){return this}var B=this.element.getStyles("display","visibility","position");this.element.setStyles({display:"block",position:"absolute",visibility:"hidden"});var A=this.element.getSize();this.element.setStyles(B);if($type(this.options.margin)){A.x=A.x-(this.options.margin*2);A.y=A.y-(this.options.margin*2);this.options.offset.x+=this.options.margin;this.options.offset.y+=this.options.margin}this.shim.setStyles({"width":A.x,"height":A.y}).setPosition({relativeTo:this.element,offset:this.options.offset});return this},hide:function(){if(this.options.browsers){this.shim.setStyle("display","none")}return this},show:function(){if(!this.options.browsers){return this}this.shim.setStyle("display","block");return this.position()},dispose:function(){if(this.options.browsers){this.shim.dispose()}return this}});window.addEvent("load",function(){IframeShim.ready=true});Browser.set("Popup",new Class({Implements:[Options,Events],options:{width:500,height:300,x:50,y:50,toolbar:0,location:0,directories:0,status:0,scrollbars:"auto",resizable:1,name:"popup"},initialize:function(B,A){this.url=B||false;this.setOptions(A);if(this.url){this.openWin()}},openWin:function(B){B=B||this.url;var A="toolbar="+this.options.toolbar+",location="+this.options.location+",directories="+this.options.directories+",status="+this.options.status+",scrollbars="+this.options.scrollbars+",resizable="+this.options.resizable+",width="+this.options.width+",height="+this.options.height+",top="+this.options.y+",left="+this.options.x;this.window=window.open(B,this.options.name,A);if(!this.window){this.window=window.open("",this.options.name,A);this.window.location.href=B}this.focus.delay(100,this);return this},focus:function(){if(this.window){this.window.focus()}else{if(this.focusTries<10){this.focus.delay(100,this)}else{this.blocked=true;this.fireEvent("onBlock")}}return this},focusTries:0,blocked:null,close:function(){this.window.close();return this}}));Hash.implement({getFromPath:function(A){var B=this.getClean();A.replace(/\[([^\]]+)\]|\.([^.[]+)|[^[.]+/g,function(C){if(!B){return }var D=arguments[2]||arguments[1]||arguments[0];B=(D in B)?B[D]:null;return C});return B},cleanValues:function(A){A=A||$defined;this.each(function(C,B){if(!A(C)){this.erase(B)}},this);return this}});String.implement({stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},parseQuery:function(C,A){C=$pick(C,true);A=$pick(A,true);var D=this.split(/[&;]/);var B={};if(D.length){D.each(function(F){var E=F.split("=");if(E.length&&E.length==2){B[(C)?encodeURIComponent(E[0]):E[0]]=(A)?encodeURIComponent(E[1]):E[1]}})}return B},tidy:function(){var A=this.toString();$each({"[\xa0\u2002\u2003\u2009]":" ","\xb7":"*","[\u2018\u2019]":"'","[\u201c\u201d]":'"',"\u2026":"...","\u2013":"-","\u2014":"--","\uFFFD":"&raquo;"},function(C,B){A=A.replace(new RegExp(B,"g"),C)});return A},cleanQueryString:function(A){return this.split("&").filter(A||function(B){return $chk(B.split("=")[1])}).join("&")}});Element.implement({expose:function(){if(this.getStyle("display")!="none"){return $empty}var B={};var A={visibility:"hidden",display:"block",position:"absolute"};$each(A,function(D,C){B[C]=this.style[C]||""},this);this.setStyles(A);return(function(){this.setStyles(B)}).bind(this)},getDimensions:function(A){A=$merge({computeSize:false},A);var E={};function D(G,F){return(F.computeSize)?G.getComputedSize(F):G.getSize()}if(this.getStyle("display")=="none"){var B=this.expose();E=D(this,A);B()}else{try{E=D(this,A)}catch(C){}}return $chk(E.x)?$extend(E,{width:E.x,height:E.y}):$extend(E,{x:E.width,y:E.height})},getComputedSize:function(A){A=$merge({styles:["padding","border"],plains:{height:["top","bottom"],width:["left","right"]},mode:"both"},A);var C={width:0,height:0};switch(A.mode){case"vertical":delete C.width;delete A.plains.width;break;case"horizontal":delete C.height;delete A.plains.height;break}var B=[];$each(A.plains,function(G,F){G.each(function(H){A.styles.each(function(I){B.push((I=="border")?I+"-"+H+"-width":I+"-"+H)})})});var E=this.getStyles.apply(this,B);var D=[];$each(A.plains,function(G,F){C["total"+F.capitalize()]=0;C["computed"+F.capitalize()]=0;G.each(function(H){C["computed"+H.capitalize()]=0;B.each(function(J,I){if(J.test(H)){E[J]=E[J].toInt();if(isNaN(E[J])){E[J]=0}C["total"+F.capitalize()]=C["total"+F.capitalize()]+E[J];C["computed"+H.capitalize()]=C["computed"+H.capitalize()]+E[J]}if(J.test(H)&&F!=J&&(J.test("border")||J.test("padding"))&&!D.contains(J)){D.push(J);C["computed"+F.capitalize()]=C["computed"+F.capitalize()]-E[J]}})})});if($chk(C.width)){C.width=C.width+this.offsetWidth+C.computedWidth;C.totalWidth=C.width+C.totalWidth;delete C.computedWidth}if($chk(C.height)){C.height=C.height+this.offsetHeight+C.computedHeight;C.totalHeight=C.height+C.totalHeight;delete C.computedHeight}return $extend(E,C)}});Element.implement({setPosition:function(N){$each(N||{},function(P,O){if(!$defined(P)){delete N[O]}});N=$merge({relativeTo:document.body,position:{x:"center",y:"center"},edge:false,offset:{x:0,y:0},returnPos:false,relFixedPosition:false,ignoreMargins:false},N);var A={x:0,y:0};var F=false;var G=this.expose();var B=this.getOffsetParent();G();if(B&&B!=this.getDocument().body){var G=B.expose();A=B.getPosition();G();F=true;N.offset.x=N.offset.x-A.x;N.offset.y=N.offset.y-A.y}function M(O){if($type(O)!="string"){return O}O=O.toLowerCase();var P={};if(O.test("left")){P.x="left"}else{if(O.test("right")){P.x="right"}else{P.x="center"}}if(O.test("upper")||O.test("top")){P.y="top"}else{if(O.test("bottom")){P.y="bottom"}else{P.y="center"}}return P}N.edge=M(N.edge);N.position=M(N.position);if(!N.edge){if(N.position.x=="center"&&N.position.y=="center"){N.edge={x:"center",y:"center"}}else{N.edge={x:"left",y:"top"}}}this.setStyle("position","absolute");var L=$(N.relativeTo)||document.body;var K=(L==document.body)?window.getScroll().y:L.getPosition().y;var E=(L==document.body)?window.getScroll().x:L.getPosition().x;if(K<0){K=0}if(E<0){E=0}var H=this.getDimensions({computeSize:true,styles:["padding","border","margin"]});if(N.ignoreMargins){N.offset.x=N.offset.x-A.x-B.getStyle("border-left-width").toInt()||0;N.offset.y=N.offset.y-A.y-B.getStyle("border-top-width").toInt()||0}var J={};var C=N.offset.y.toInt();var D=N.offset.x.toInt();switch(N.position.x){case"left":J.x=E+D;break;case"right":J.x=E+D+L.offsetWidth;break;default:J.x=E+(((L==document.body)?window.getSize().x:L.offsetWidth)/2)+D;break}switch(N.position.y){case"top":J.y=K+C;break;case"bottom":J.y=K+C+L.offsetHeight;break;default:J.y=K+(((L==document.body)?window.getSize().y:L.offsetHeight)/2)+C;break}if(N.edge){var I={};switch(N.edge.x){case"left":I.x=0;break;case"right":I.x=-H.x-H.computedRight-H.computedLeft;break;default:I.x=-(H.x/2);break}switch(N.edge.y){case"top":I.y=0;break;case"bottom":I.y=-H.y-H.computedTop-H.computedBottom;break;default:I.y=-(H.y/2);break}J.x=J.x+I.x;J.y=J.y+I.y}J={left:((J.x>=0||F)?J.x:0).toInt(),top:((J.y>=0||F)?J.y:0).toInt()};if(L.getStyle("position")=="fixed"||N.relFixedPosition){J.top=J.top.toInt()+window.getScroll().y;J.left=J.left.toInt()+window.getScroll().x}if(N.returnPos){return J}else{this.setStyles(J)}return this}});Element.implement({isVisible:function(){return this.getStyle("display")!="none"},toggle:function(){return this[this.isVisible()?"hide":"show"]()},hide:function(){var B;try{B=this.getStyle("display")}catch(A){}this.store("originalDisplay",B||"block");this.setStyle("display","none");return this},show:function(A){original=this.retrieve("originalDisplay")?this.retrieve("originalDisplay"):this.get("originalDisplay");this.setStyle("display",(A||original||"block"));return this},swapClass:function(A,B){return this.removeClass(A).addClass(B)},fxOpacityOk:function(){return !Browser.Engine.trident4}});Fx.Reveal=new Class({Extends:Fx.Morph,options:{styles:["padding","border","margin"],transitionOpacity:true,mode:"vertical",heightOverride:null,widthOverride:null},dissolve:function(){try{if(!this.hiding&&!this.showing){if(this.element.getStyle("display")!="none"){this.hiding=true;this.showing=false;this.hidden=true;var C=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode});var E=this.element.style.height===""||this.element.style.height=="auto";this.element.setStyle("display","block");if(this.element.fxOpacityOk()&&this.options.transitionOpacity){C.opacity=1}var A={};$each(C,function(G,F){A[F]=[G,0]},this);var D=this.element.getStyle("overflow");this.element.setStyle("overflow","hidden");if(!this.$chain){this.$chain=[]}this.$chain.unshift(function(){if(this.hidden){this.hiding=false;$each(C,function(G,F){C[F]=G},this);this.element.setStyles($merge({display:"none",overflow:D},C));if(E){this.element.setStyle("height","auto")}}this.callChain()}.bind(this));this.start(A)}else{this.callChain.delay(10,this);this.fireEvent("onComplete",this.element)}}}catch(B){this.hiding=false;this.element.hide();this.callChain.delay(10,this);this.fireEvent("onComplete",this.element)}return this},reveal:function(){try{if(!this.showing&&!this.hiding){if(this.element.getStyle("display")=="none"||this.element.getStyle("visiblity")=="hidden"||this.element.getStyle("opacity")==0){this.showing=true;this.hiding=false;this.hidden=false;var B=this.element.getStyles("visibility","display","position");this.element.setStyles({visibility:"hidden",display:"block",position:"absolute"});var F=this.element.style.height===""||this.element.style.height=="auto";if(this.element.fxOpacityOk()&&this.options.transitionOpacity){this.element.setStyle("opacity",0)}var D=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode});this.element.setStyles(B);$each(D,function(H,G){D[G]=H},this);if($chk(this.options.heightOverride)){D["height"]=this.options.heightOverride.toInt()}if($chk(this.options.widthOverride)){D["width"]=this.options.widthOverride.toInt()}if(this.element.fxOpacityOk()&&this.options.transitionOpacity){D.opacity=1}var A={height:0,display:"block"};$each(D,function(H,G){A[G]=0},this);var E=this.element.getStyle("overflow");this.element.setStyles($merge(A,{overflow:"hidden"}));this.start(D);if(!this.$chain){this.$chain=[]}this.$chain.unshift(function(){if(!this.options.heightOverride&&F){if(["vertical","both"].contains(this.options.mode)){this.element.setStyle("height","auto")}if(["width","both"].contains(this.options.mode)){this.element.setStyle("width","auto")}}if(!this.hidden){this.showing=false}this.element.setStyle("overflow",E);this.callChain()}.bind(this))}else{this.callChain();this.fireEvent("onComplete",this.element)}}}catch(C){this.element.setStyles({display:"block",visiblity:"visible",opacity:1});this.showing=false;this.callChain.delay(10,this);this.fireEvent("onComplete",this.element)}return this},toggle:function(){try{if(this.element.getStyle("display")=="none"||this.element.getStyle("visiblity")=="hidden"||this.element.getStyle("opacity")==0){this.reveal()}else{this.dissolve()}}catch(A){this.show()}return this}});Element.Properties.reveal={set:function(A){var B=this.retrieve("reveal");if(B){B.cancel()}return this.eliminate("reveal").store("reveal:options",$extend({link:"cancel"},A))},get:function(A){if(A||!this.retrieve("reveal")){if(A||!this.retrieve("reveal:options")){this.set("reveal",A)}this.store("reveal",new Fx.Reveal(this,this.retrieve("reveal:options")))}return this.retrieve("reveal")}};Element.Properties.dissolve=Element.Properties.reveal;Element.implement({reveal:function(A){this.get("reveal",A).reveal();return this},dissolve:function(A){this.get("reveal",A).dissolve();return this}});var Waiter=new Class({Implements:[Options,Events,Chain],options:{baseHref:"http://www.cnet.com/html/rb/assets/global/waiter/",containerProps:{styles:{position:"absolute","text-align":"center"},"class":"waiterContainer"},containerPosition:{},msg:false,msgProps:{styles:{"text-align":"center",fontWeight:"bold"},"class":"waiterMsg"},img:{src:"waiter.gif",styles:{width:24,height:24},"class":"waiterImg"},layer:{styles:{width:0,height:0,position:"absolute",zIndex:999,display:"none",opacity:0.9,background:"#fff"},"class":"waitingDiv"},useIframeShim:true,fxOptions:{}},initialize:function(C,A){this.target=$(C)||$(document.body);this.setOptions(A);this.waiterContainer=new Element("div",this.options.containerProps).inject(document.body);if(this.options.msg){this.msgContainer=new Element("div",this.options.msgProps);this.waiterContainer.adopt(this.msgContainer);if(!$(this.options.msg)){this.msg=new Element("p").appendText(this.options.msg)}else{this.msg=$(this.options.msg)}this.msgContainer.adopt(this.msg)}if(this.options.img){this.waiterImg=$(this.options.img.id)||new Element("img").injectInside(this.waiterContainer)}this.waiterOverlay=$(this.options.layer.id)||new Element("div").injectInside(document.body).adopt(this.waiterContainer);try{if(this.options.useIframeShim){this.shim=new IframeShim(this.waiterOverlay,this.options.iframeShimOptions)}}catch(B){this.options.useIframeShim=false}this.waiterFx=this.waiterFx||new Fx.Elements($$(this.waiterContainer,this.waiterOverlay),this.options.fxOptions)},toggle:function(B,A){B=$(B)||$(this.active)||$(this.target);if(!$(B)){return this}if(this.active&&B!=this.active){return this.stop(this.start.bind(this,B))}if((!this.active||A)&&A!==false){this.start(B)}else{if(this.active&&!A){this.stop()}}return this},reset:function(){this.waiterFx.cancel().set({0:{opacity:[0]},1:{opacity:[0]}})},start:function(A){this.reset();A=$(A)||$(this.target);if(this.options.img){this.waiterImg.set($merge(this.options.img,{src:this.options.baseHref+this.options.img.src}))}this.waiterOverlay.set(this.options.layer);var B=function(){var C=A.getComputedSize();this.active=A;this.waiterOverlay.setStyles({width:this.options.layer.width||C.totalWidth,height:this.options.layer.height||C.totalHeight,display:"block"}).setPosition({relativeTo:A,position:"upperLeft"});this.waiterContainer.setPosition({relativeTo:this.waiterOverlay});if(this.options.useIframeShim){this.shim.show()}this.waiterFx.start({0:{opacity:[1]},1:{opacity:[this.options.layer.styles.opacity]}}).chain(function(){if(this.active==A){this.fireEvent("onShow",A)}this.callChain()}.bind(this))}.bind(this);if(this.active&&this.active!=A){this.stop(B)}else{B()}return this},stop:function(A){if(!this.active){if($type(A)=="function"){A.attempt()}return this}this.waiterFx.cancel();this.waiterFx.clearChain();this.waiterFx.start({0:{opacity:[0]},1:{opacity:[0]}}).chain(function(){this.active=null;this.waiterOverlay.hide();if(this.options.useIframeShim){this.shim.hide()}this.fireEvent("onHide",this.active);this.callChain();this.clearChain();if($type(A)=="function"){A.attempt()}}.bind(this));return this}});if(typeof Request!="undefined"&&Request.HTML){Request.HTML=new Class({Extends:Request.HTML,options:{useWaiter:false,waiterOptions:{},waiterTarget:false},initialize:function(A){this._send=this.send;this.send=function(B){if(this.waiter){this.waiter.start().chain(this._send.bind(this,B))}else{this._send(B)}return this};this.parent(A);if(this.options.useWaiter&&($(this.options.update)||$(this.options.waiterTarget))){this.waiter=new Waiter(this.options.waiterTarget||this.options.update,this.options.waiterOptions);["onComplete","onException","onCancel"].each(function(B){this.addEvent(B,this.waiter.stop.bind(this.waiter))},this)}}})}var Confirmer=new Class({Implements:[Options,Events],options:{reposition:true,positionOptions:{relativeTo:false,position:"upperRight",offset:{x:-225,y:0},zIndex:9999},msg:"your changes have been saved",msgContainerSelector:".body",delay:250,pause:1000,effectOptions:{duration:500},prompterStyle:{padding:"2px 6px",border:"1px solid #9f0000",backgroundColor:"#f9d0d0",fontWeight:"bold",color:"#000",width:210}},initialize:function(A){this.setOptions(A);this.options.positionOptions.relativeTo=$(this.options.positionOptions.relativeTo)||document.body;this.prompter=($(this.options.msg))?$(this.options.msg):this.makePrompter(this.options.msg);if(this.options.reposition){this.prompter.setStyles({position:"absolute",display:"none",zIndex:this.options.positionOptions.zIndex});if(this.prompter.fxOpacityOk()){this.prompter.setStyle("opacity",0)}}else{if(this.prompter.fxOpacityOk()){this.prompter.setStyle("opacity",0)}else{this.prompter.setStyle("visibility","hidden")}}if(!this.prompter.getParent()){window.addEvent("domready",function(){this.prompter.inject(document.body)}.bind(this))}try{this.msgHolder=this.prompter.getElement(this.options.msgContainerSelector);if(!this.msgHolder){this.msgHolder=this.prompter}}catch(B){}},makePrompter:function(A){return new Element("div").setStyles(this.options.prompterStyle).appendText(A)},prompt:function(A){if(!this.paused){this.stop()}var B=(A)?A.msg:false;A=$merge(this.options,{saveAsDefault:false},A||{});if($(A.msg)&&B){this.msgHolder.empty().adopt(A.msg)}else{if(!$(A.msg)&&A.msg){this.msgHolder.empty().appendText(A.msg)}}if(!this.paused){if(A.reposition){this.position(A.positionOptions)}(function(){this.timer=this.fade(A.pause)}).delay(A.delay,this)}if(A.saveAsDefault){this.setOptions(A)}return this},fade:function(A){this.paused=true;A=$pick(A,this.options.pause);if(!this.fx&&this.prompter.fxOpacityOk()){this.fx=new Fx.Tween(this.prompter,$merge({property:"opacity"},this.options.effectOptions))}if(this.options.reposition){this.prompter.setStyle("display","block")}if(this.prompter.fxOpacityOk()){this.prompter.setStyle("visibility","visible");this.fx.start(0,1).chain(function(){this.timer=(function(){this.fx.start(0).chain(function(){if(this.options.reposition){this.prompter.hide()}this.paused=false}.bind(this))}).delay(A,this)}.bind(this))}else{this.prompter.setStyle("visibility","visible");this.timer=(function(){this.prompter.setStyle("visibility","hidden");this.fireEvent("onComplete");this.paused=false}).delay(A+this.options.effectOptions.duration,this)}return this},stop:function(){this.paused=false;$clear(this.timer);if(this.fx){this.fx.set(0)}if(this.options.reposition){this.prompter.hide()}return this},position:function(A){this.prompter.setPosition($merge(this.options.positionOptions,A));return this}})
