self.attributeInspector._currentFeature = sel;
self.attributeInspector.refresh();
self.attributeInspector.domNode.children[0].innerHTML = layer.name;
self.attributeInspector.domNode.children[1].setAttribute('style','display:block;');
// next/ prev and other functions etc are under other nodes.