rem: if (w == "0px") { 
add: if (w == (-padding)+"px") { 
context: Wicket.TreeTable.update = function(elementId) {		var element = document.getElementById(elementId);		if (element != null && typeof(element) != "undefined") { 				try {					/// find the div containing the inner header div			var headerParent = element.getElementsByTagName("div")[1];						// find the inner header div			var header = headerParent.getElementsByTagName("div")[0];						// body div should be next div after header parent			var body = headerParent.nextSibling;							// interate until div is found			while (body.tagName != "DIV") {							body = body.nextSibling;			}				// get the right padding from header - we need to substract it from new width			var padding;			if (document.defaultView && document.defaultView.getComputedStyle) {				padding = document.defaultView.getComputedStyle(headerParent, '').getPropertyValue("padding-right");			} else if (headerParent.currentStyle) {				padding = headerParent.currentStyle.paddingRight;			} else {				padding = 6;			}						padding = parseInt(padding, 10);												// set the new width						var w = (body.getElementsByTagName("div")[0].clientWidth - padding) + "px";						if (w == "0px") { // this can happen if the first row is hidden (e.g. rootless mode)				// try to get the width from second row 	 				w = (body.getElementsByTagName("div")[1].clientWidth - padding) + "px";			}							if (w != "0px") {				header.style.width = w;			}		} catch (ignore) {					}	}}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/523630ddd9d6722ffddc30a1b33966db9f9aa840/tree.js/clean/wicket/src/main/java/wicket/markup/html/tree/res/tree.js