function dhtmlXProtobarObject(){
return this;
}
dhtmlXProtobarObject.prototype.setOnShowHandler=function(func){
if(typeof(func)=="function")this.onShow=func;else this.onShow=eval(func);
};
dhtmlXProtobarObject.prototype._getItemIndex=function(id){
for(var i=0;i=0){
this.items[z].setSecondAction(action);
};
};
dhtmlXProtobarObject.prototype.getItem=function(itemId){
var z=this._getItemIndex(itemId);
if(z>=0)return this.items[z];
};
dhtmlXProtobarObject.prototype.hideButtons=function(idList){
if(!idList){
for(var i=0;i