or

| function SwallowClick(oPanelItem, oE) |
| { |
| //oPanelItem.get_panelBar().trackChanges(); |
| if (!oPanelItem.get_expanded) |
| oPanelItem.set_expanded = false; |
| else |
| oPanelItem.set_expanded = true; |
| //oPanelItem.get_panelBar().commitChanges(); |
| } |
| div.radwindow td.statusbar input |
| { |
| border: 0px; |
| background: trasparent; background-repeat: no-repeat; |
| width: 100%; |
| cursor: default; |
| -moz-user-select: none; |
| overflow: hidden; text-overflow: ellipsis; |
| display: block; float: left; |
| } |
| function SetImageClick(oPanelbar, oE) |
| { |
| for (var i = 0; i < oPanelbar.get_allItems.length; i++) |
| { |
| if (oPanelbar.get_allItems[i].get_imageElement) |
| { |
| oPanelbar.get_allItems[i].get_imageElement.AssociatedItem = oPanelbar.get_allItems[i]; |
| oPanelbar.get_allItems[i].get_imageElement.onclick = function (oE) |
| { |
| oPanelbar.trackChanges(); |
| if (!oE) oE = window.event; |
| if (this.AssociatedItem.get_expanded) |
| this.AssociatedItem.set_expanded = false; |
| else |
| this.AssociatedItem.set_expanded = true; |
| oE.cancelBubble = true; |
| if (oE.stopPropagation) |
| oE.stopPropagation(); |
| oPanelbar.commitChanges(); |
| return false; |
| } |
| } |
| } |
| } |