function createTableObject(id, w, h)
{
	tableObj = document.getElementById(id);
	var sUserAgent = navigator.userAgent;
	if(sUserAgent.indexOf('MSIE')>=0){
		tableObj.parentNode.style.overflowY = 'auto';
	}		
	tableObj.style.width = w + 'px';
	tableObj.parentNode.style.width = w + 'px';
	tableObj.parentNode.style.height = h + 'px';
	tableObj.cellSpacing = 0;
	tableObj.cellPadding = 0;
	tableObj.className='tableObj';
	tHead = tableObj.getElementsByTagName('THEAD')[0];
	tBody = tableObj.getElementsByTagName('TBODY')[0];
	tBody.className='scrolling';
				
	operaIndex = sUserAgent.indexOf('Opera');
	if(document.all && operaIndex < 0){
		tBody.style.height = (tableObj.parentNode.clientHeight-tHead.offsetHeight) + 'px';
		tBody.style.height = '13px';
		tBody.style.display='block';
	}
	else {
		tBody.style.height = (tableObj.parentNode.clientHeight-tHead.offsetHeight) + 'px';
		if( operaIndex >=0 ) {
			tableObj.parentNode.style.overflow = 'auto';
		}
	}
}
