function createRoundTable(objDivId)
{
	var objDiv = document.getElementById(objDivId);
	var objDivWidth = parseInt(objDiv.style.width);
	var objDivHTML = objDiv.innerHTML;

	var roundBox = "";
	roundBox += "<table width=\""+ objDivWidth +"\" cellpadding=\"0\" cellspacing=\"0\"><tr><td style=\"text-align:center; vertical-align:top;\">\n";
					// Outside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"rboxc1\"></td><td width=\"2\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"1\"></td><td width=\""+ (objDivWidth-2) +"\" class=\"rboxc1\"></td><td width=\"1\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\""+ objDivWidth +"\" class=\"rboxc1\"></td></tr></table>\n";
					// Inside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"3\" class=\"rboxc1\"></td><td width=\""+ (objDivWidth-6) +"\" class=\"rboxc1\">\n";
	roundBox += "		<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\" class=\"rboxc1\"></td><td width=\""+ (objDivWidth-10) +"\" class=\"rboxc2\"></td><td width=\"2\" class=\"rboxc1\"></td></tr></table>\n";
	roundBox += "		<table cellpadding=\"0\" cellspacing=\"0\">\n";
	roundBox += "		<tr style=\"height:1px;\">\n";
	roundBox += "			<td width=\"1\" class=\"rboxc1\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc2\"></td>\n";
	roundBox += "			<td width=\""+ (objDivWidth-10) +"\" class=\"rboxbg\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc2\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc1\"></td>\n";
	roundBox += "		</tr>\n";
	roundBox += "		</table>\n";
	roundBox += "		<table cellpadding=\"0\" cellspacing=\"0\">\n";
	roundBox += "		<tr style=\"height:1px;\">\n";
	roundBox += "			<td width=\"1\" class=\"rboxc2\"></td><td width=\""+ (objDivWidth-28) +"\" class=\"rboxbg\" style=\"padding:10px; text-align:left;\">\n";
						// Content
	roundBox +=			objDivHTML;
	roundBox += "			</td><td width=\"1\" class=\"rboxc2\"></td>\n";
	roundBox += "		</tr>\n";
	roundBox += "		</table>\n";
	roundBox += "		<table cellpadding=\"0\" cellspacing=\"0\">\n";
	roundBox += "		<tr style=\"height:1px;\">\n";
	roundBox += "			<td width=\"1 class=\"rboxc1\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc2\"></td>\n";
	roundBox += "			<td width=\""+ (objDivWidth-10) +"\" class=\"rboxbg\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc2\"></td>\n";
	roundBox += "			<td width=\"1\" class=\"rboxc1\"></td>\n";
	roundBox += "		</tr>\n";
	roundBox += "		</table>\n";
	roundBox += "		<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\" class=\"rboxc1\"></td><td width=\""+(objDivWidth-10)+"\" class=\"rboxc2\"></td><td width=\"2\" class=\"rboxc1\"></td></tr></table>\n";
	roundBox += "	</td><td width=\"3\" class=\"rboxc1\"></td></tr></table>";
					// Outside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\""+ objDivWidth +"\" class=\"rboxc1\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"1\"></td><td width=\""+ (objDivWidth-2) +"\" class=\"rboxc1\"></td><td width=\"1\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"rboxc1\"></td><td width=\"2\"></td></tr></table>\n";
	roundBox += "</td></tr></table>";
	
	objDiv.innerHTML = roundBox;
}

function createRoundTable2(objDivId)
{
	var objDiv = document.getElementById(objDivId);
	var objDivWidth = parseInt(objDiv.style.width);
	var objDivHTML = objDiv.innerHTML;

	var roundBox = "";
	roundBox += "<table width=\""+ objDivWidth +"\" cellpadding=\"0\" cellspacing=\"0\"><tr><td style=\"text-align:center; vertical-align:top;\">\n";
					// Outside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"bgc2\"></td><td width=\"2\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"1\"></td><td width=\""+ (objDivWidth-2) +"\" class=\"bgc2\"></td><td width=\"1\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\" class=\"bgc2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"rboxbg\"></td><td width=\"2\" class=\"bgc2\"></td></tr></table>\n";
					// Inside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"2\" class=\"bgc2\"></td>\n";
	roundBox += "	<td width=\""+ (objDivWidth-20) +"\" style=\"padding:8px;\">\n";
						// Content
	roundBox +=	objDivHTML;
	roundBox += "	</td><td width=\"2\" class=\"bgc2\"></td>\n";
	roundBox += "	</table>\n";
					// Outside Round Box
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\" class=\"bgc2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"rboxbg\"></td><td width=\"2\" class=\"bgc2\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"1\"></td><td width=\""+ (objDivWidth-2) +"\" class=\"bgc2\"></td><td width=\"1\"></td></tr></table>\n";
	roundBox += "	<table cellpadding=\"0\" cellspacing=\"0\"><tr style=\"height:1px;\"><td width=\"2\"></td><td width=\""+ (objDivWidth-4) +"\" class=\"bgc2\"></td><td width=\"2\"></td></tr></table>\n";
	roundBox += "</td></tr></table>";
	

	objDiv.innerHTML = roundBox;
}
