//>>built define("dojo/_base/declare dojo/_base/lang dojo/_base/html dojo/_base/event dojo/_base/array dojo/_base/connect dojo/query".split(" "),function(l,m,f,n,p,k,e){return l("dojox.widget.rotator.Controller",null,{rotator:null,commands:"prev,play/pause,info,next",constructor:function(a,c){m.mixin(this,a);var d=this.rotator;if(d){for(;c.firstChild;)c.removeChild(c.firstChild);var h=this._domNode=f.create("ul",null,c),g=function(a,b,c){f.create("li",{className:b,innerHTML:'\x3ca href\x3d"#"\x3e\x3cspan\x3e'+ a+"\x3c/span\x3e\x3c/a\x3e",onclick:function(a){n.stop(a);d&&d.control.apply(d,c)}},h)};p.forEach(this.commands.split(","),function(a,b){switch(a){case "prev":g("Prev","dojoxRotatorPrev dojoxRotatorIcon",["prev"]);break;case "play/pause":g("Play","dojoxRotatorPlay dojoxRotatorIcon",["play"]);g("Pause","dojoxRotatorPause dojoxRotatorIcon",["pause"]);break;case "info":this._info=f.create("li",{className:"dojoxRotatorInfo",innerHTML:this._buildInfo(d)},h);break;case "next":g("Next","dojoxRotatorNext dojoxRotatorIcon", ["next"]);break;case "#":case "titles":for(b=0;b