function buildTableFooter(width,bgColor){
	var str="";
	var tabposition = 0;
	var remainder = 0;
	var balance = 0;
	var total = 0;
	remainder = (width % 4);
	tabposition = (width-remainder)/4; 
	balance = (width - (tabposition + 19));
	
//	str += '<TABLE width=' + width + ' cellspacing=0 cellpadding=0 border=0>';
//	str += '<tr>';
//	str += '	<td>';

//	str += '		<TABLE width=' + width + ' cellspacing=0 cellpadding=0 border=0>';
//	str += '			<tr>';
//	str += '				<TD rowspan=2 width=' + tabposition + ' height=1 bgcolor="#EAEFF3"><IMG src="/common/img/s.gif" width=' + tabposition + ' height=1></TD>';
//	str += '				<td width=730 height=15  bgcolor="#99A9C4"><IMG src="/common/img/s.gif" width=10 height=1></td>';
//	str += '				<TD rowspan="2" width=' + balance + ' bgcolor="#EAEFF3"><IMG src="/common/img/s.gif" width=' + balance + ' height=1></TD>';

//	str += '				<TD width=1 rowspan=3 bgcolor="#99A9C4"><IMG src="/common/img/s.gif" width=1 height=15></TD>';

//	str += '			</tr>';

//	str += '			<tr ' + (bgColor?('bgcolor="'+bgColor+'"'):"") +'>';
//	str += '				<TD width=' + tabposition + ' rowspan=2><IMG src="/common/img/s.gif" width=' + tabposition + ' height=14></TD>';
//	str += '				<TD width=' + balance + ' bgcolor="#ffffff"><IMG src="/common/img/s.gif" width=1 height=13></TD>';
//	str += '			</tr>';

//	str += '			<tr>';
//	str += '				<TD width=' + balance + ' height=1 bgcolor="#EAEFF3"><IMG src="/common/img/s.gif" width=' + balance + ' height=1></TD>';
//	str += '			</tr>';
//	str += '		</table>';

//	str += '	</td>';
//	str += '</tr>';			
//	str += '</TABLE>';

str += '<table border="0" cellspacing=0 cellpadding=0>';
str += '<tr>';
//str += 	'<td rowspan="2" bgcolor="#EAEFF3"><img height="1" src="/common/img/s.gif" width="10" border="0" alt=""></td>';
str +=  '<td width="730" bgcolor="#99A9C4"><img height="1" src="/common/img/s.gif" width="10" border="0" alt=""></td>';
//str += 	'<td rowspan="2" bgcolor="#EAEFF3"><img height="1" src="/common/img/s.gif" width="10" border="0" alt=""></td>';
str += '</tr>';
//str += '<tr>';
//str += 	'<td bgcolor="#EAEFF3"><img height="1" src="/common/img/s.gif" width="1" border="0" alt=""></td>';
//str += '</tr>';
str += '</table>';
return str;
}


