var SubFeatureViewer=Class.create();Object.extend(SubFeatureViewer.prototype,AC.ViewMaster.Viewer.prototype);Object.extend(SubFeatureViewer.prototype,{superInit:AC.ViewMaster.Viewer.prototype.initialize,initialize:function(G,x,K,J){this.superInit(G,null,K,J);if(x instanceof AC.SwapView){this.view=x;}else{this.view=new AC.SwapView(x);}this.view.setDelegate(this);},superDidShow:AC.ViewMaster.Viewer.prototype.didShow,didShow:function(K,S,G){this.superDidShow(K,S,G);var J=$$("#tipcontent .description")[0];if(J){var B="";var x=J.down(".more").cloneNode(true);if(J.up(".horizontal")){B=J.firstChild.data.truncate(200);}else{B=J.firstChild.data.truncate(120);}J.innerHTML=B;J.appendChild(x);}var u=$$("#tipcontent h3 a")[0];if(u&&u.firstChild.data.length>45){var a=u.firstChild.data.truncate(45);u.innerHTML=a;}}});
