div.tableContainer 
{
	width: 99%;		/* table width will be 99% of this*/
	/*height: 500px;*/ 	/* must be greater than tbody*/
	overflow: auto;
	margin: 0 auto;
}

thead tr	
{
	position:relative; 
	top: expression(offsetParent.scrollTop); /*IE5+ only*/
}

/* El Height = 500px va de la mano con div.tableContainer */
tfoot tr	{
	position:expression(offsetParent.scrollHeight > (350px) ? "relative" : "absolute"); top:expression(offsetParent.scrollHeight > (350px) ? offsetParent.scrollTop + (350px) - offsetParent.scrollHeight : (350px) - offsetHeight)
	/*position:expression(offsetParent.scrollHeight > (500) ? "relative" : "absolute"); top:expression(offsetParent.scrollHeight > (500) ? offsetParent.scrollTop + (500) - offsetParent.scrollHeight : (500) - offsetHeight)*/
	/*position:expression(offsetParent.scrollHeight > (document.body.offsetHeight-169) ? "relative" : "absolute"); top:expression(offsetParent.scrollHeight > (document.body.offsetHeight-169) ? offsetParent.scrollTop + (document.body.offsetHeight-169) - offsetParent.scrollHeight : (document.body.offsetHeight-169) - offsetHeight)*/
	/*position:expression(offsetParent.scrollHeight > (document.body.offsetHeight-187) ? "relative" : "absolute"); top:expression(offsetParent.scrollHeight > (document.body.offsetHeight-187) ? offsetParent.scrollTop + (document.body.offsetHeight-187) - offsetParent.scrollHeight : (document.body.offsetHeight-187) - offsetHeight)*/
	}
	
thead td, thead th {
	text-align: center;
	font-family:Tahoma;
	font-size:11px;
	background-color: #D4D0C8;
	color: #000000;
	border-left:outset 1px buttonface;	
	border-right:outset 1px buttonface;
	background:#D4D0C8;
	border:outset 2px #ffffff;
	height:20;
	text-decoration:none;
	font-weight:normal;
	}	

tfoot td	{
	font-family:Tahoma;
	font-size:10px;
	font-weight: bold;
	background-color: #D4D0C8;
	color: #000000;
	border-top: solid 1px slategray;
	}

.Grid_td	{
	color: #000;
	padding-right: 2px;
	border-bottom: solid 1px #d8d8d8;
	border-left: solid 1px #d8d8d8;
	padding:3px;
	}

.Grid_td_ColNumber {
	text-align: center;
	background-color: #D4D0C8;
	color: #000000;
	border-left:outset 1px buttonface;	
	border-right:outset 1px buttonface;
	background:#D4D0C8;
	border:outset 2px #ffffff;
	text-decoration:none;
	font-weight:normal;
}

.Grid_Footer {
	text-align: left;
	font-family:Tahoma;
	font-size:11px;
	color: #000000;
	border-left:outset 1px buttonface;	
	border-right:outset 1px buttonface;
	background:#D4D0C8;border:outset 2px #ffffff;
	height:20;
	text-decoration:none;
	font-weight:normal;
	width:100%;
	}	

.Grid_Totales {
	font-family:Arial;
	font-size:10px;
	background-color:#D2CFFE;
	color: #000000;
	border-top: solid 1px #999999;
	border-left: solid 1px #999999;
	border-bottom: solid 1px #999999;
	text-decoration:none;
	font-weight:bold;
	padding-left: 2px;
	padding-bottom: 2px;
	padding-right: 2px;
	padding-top: 2px;
	}

/* CHECAR, PODRIA QUITARLO, PERO NO HACERLO VERIFICAR FUNCION JS changeBackground */
.TgridRow { background-color: #f7f7f7; color:#333333; }
.TgridRow_Hover { background-color:#E9E9E9; color:#ffffff; }
.TgridRow_Selected { background-color:#D2CFFE; color:#FFFFFF; }
/* CHECAR, PODRIA QUITARLO, PERO NO HACERLO VERIFICAR FUNCION JS changeBackground */
