Wtf.ux.WtfButton=function(A){Wtf.ux.WtfButton.superclass.constructor.call(this,A);this.addEvents({"mouseOver":true})};Wtf.extend(Wtf.ux.WtfButton,Wtf.Component,{width:60,height:60,imgWidth:60,imgHeight:60,draggable:true,initialized:false,initComponent:function(){Wtf.ux.WtfButton.superclass.initComponent.call(this)},onRender:function(){this.elDom=Wtf.get(this.renderTo).createChild({tag:"a",cls:"lmswtfbutton"});var B=Wtf.get(this.elDom.dom.appendChild(document.createElement("img")));var A=Wtf.get(this.elDom.dom.appendChild(document.createElement("span")));B.dom.src=this.imgSrc;B.dom.id=this.ID;B.dom.alt=this.caption;A.dom.innerHTML=this.caption;A.dom.className="labelLms";A.dom.id=this.IDM;Wtf.EventManager.addListener(B,"mouseover",this.handleMouseOver,this)},handleMouseOver:function(A){var B=this.ID.split("_")[0];if(B=="section"){this.text="Drag and drop Section on the layout panel"}else{if(B=="retry"){this.text="Just in case someone doesn't do well"}else{if(B=="assessment"){this.text="Drag and drop Assessment on the layout panel"}else{if(B=="exit"){this.text="You can always have multiple exits"}else{if(B=="note"){this.text="Drag and drop to add a Note on the layout panel"}}}}}this.fireEvent("mouseOver",this.ID,this.text)}});Wtf.reg("lmswtfbutton",Wtf.ux.WtfButton)