if (h<0) { h=0; } 
	f_updateTitle: function() {		if (!this._title) {			return;		}		var doc=this.ownerDocument;			var tr=f_grid.GetFirstRow(this._table); //f_core.GetFirstElementByTagName(dataGrid._table, "tr");		if (!tr) {			// Le tableau est vide ?//			dataGrid._title.style.width=dataGrid.offsetWidth+"px";						f_core.Debug(f_grid, "f_updateTitle: No rows !");			return;		}				this._titleLayout=true;				var ttr=f_grid.GetFirstRow(this._title); //f_core.GetFirstElementByTagName(dataGrid._title, "tr");		var tths=ttr.getElementsByTagName("th");				var ths=tr.getElementsByTagName("td");		var body=this._scrollBody;		var clientWidth=body.clientWidth;		var offsetWidth=body.offsetWidth;		var scrollBarWidth=offsetWidth-clientWidth;		if (scrollBarWidth<=0) {			// Ben si y a pas de scrollbar a droite, on cherche en bas !			scrollBarWidth=body.offsetHeight-body.clientHeight;						if (scrollBarWidth<=0) {				scrollBarWidth=1;			}		}		var cols=this._title.getElementsByTagName("col");		var tcols=null;		var tds=null;		var columns=this._columns;		if (!columns[0]._tcol) {			tcols=this._table.getElementsByTagName("col");			var tr=f_grid.GetFirstRow(this._table); //f_core.GetFirstElementByTagName(dataGrid._table, "tr", false);						if (tr) {				// Quid ?				tds=tr.getElementsByTagName("td");			}		}				var total=0;		var ci=0;		for(var i=0;i<ths.length;i++) {			var col=cols[i];			if (!col) {				break;			}			tths[i].width="";						var w=ths[i].offsetWidth;			col.style.width=w+"px";			total+=w;						var cs;			for(;;ci) {				cs=columns[ci++];				if (cs._head) {					break;				}			}			if (!cs) {				continue;			}			if (tcols) {				cs._tcol=tcols[i];			}			if (tds) {				cs._tcell=tds[i];			}					}				if (!this._createFakeTH && (this._resizable || offsetWidth>clientWidth)) {			this._createFakeTH=true;						var col=doc.createElement("col");			col.style.width=scrollBarWidth+"px";					var colsPos=this._title.getElementsByTagName("col");			var lastCol=colsPos[colsPos.length-1];			if (!lastCol.nextSibling) {				this._title.appendChild(col);			} else {				this._title.insertBefore(col, lastCol.nextSibling);			}					var th=doc.createElement("th");			var thClassName="f_grid_tcell";			if (this.f_isDisabled()) {				//thClassName+=" "+thClassName+"_disabled"; // On part du f_grid_disabled			}			th.className=thClassName;			th.innerHTML="&nbsp;";						var ths0=f_grid.GetFirstRow(this._title, true); //f_core.GetFirstElementByTagName(dataGrid._title, "tr", true);			ths0.appendChild(th);						total+=scrollBarWidth;						// On verifie que la scrollbar V reste bien visible						if (f_core.IsInternetExplorer()) {				body.style.overflowY="scroll";			} else if (f_core.IsGecko()) {				var overflow=f_core.GetCurrentStyleProperty(body, "overflow");				if (overflow=="auto" && !this._resizable) {					body.style.overflow="-moz-scrollbars-vertical";				}			}		}				if (total>clientWidth || this._resizable) {			this._title.style.width=total+"px";					} else {			this._title.style.width=offsetWidth+"px";		}				if (scrollBarWidth>0) {			var h=this.offsetHeight-this._title.offsetHeight-2;			body.style.height=h+"px";		}				this._title.scrollLeft=this._scrollBody.scrollLeft;	},
4326	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4326/5cf240325a8795e877253246a013c39f1a10d8e9/f_grid.js/buggy/org.rcfaces.renderkit.html/src/org/rcfaces/renderkit/html/internal/javascript/input/f_grid.js