//***************************************************************************
// Purpose	: Applies a bevel effect around an area within an HTML document.
// Inputs	:
//   objDIV			:   Reference to the object surrounding the area.
//   strWidth		:   width of bevel area.
//   strHeight		:   height of bevel area.
//   strAlignment	:   alignment of the bevel area.
//   intCellPadding	:   cell padding within the bevel area.
// Returns	: -
//***************************************************************************
function applyBevel(objDIV, strWidth, strHeight, strAlignment, intCellPadding)
{
	var strTmp = "";
		
	strTmp += "<TABLE class=bevel1 width=" + strWidth + " height=" + strHeight + " align=" + strAlignment + " cellspacing=0 cellpadding=0>"
	strTmp += "<TR><TD><TABLE class=bevel2 height=100% width=100% cellspacing=0 cellpadding=" + intCellPadding + ">";
	strTmp += "<TR><TD valign=top>" + objDIV.innerHTML;
	strTmp += "</TD></TR></TABLE></TD></TR></TABLE>";
	
	objDIV.innerHTML = strTmp;
}
