function ShadowTableTop(margin, align)
{
document.write('<table cellpadding="0" cellspacing="0" border="0" align="' + align + '">\n')
document.write('<tr>\n')
document.write('	<td style="border: 1px solid #f8f8f8; background-color: #fbfbfb;">\n')
document.write('	<div style="margin: ' + margin + 'px;">\n')
}

function ShadowTableBottom()
{
document.write('	</div>\n')
document.write('	</td>\n')
document.write('	<td background="images/right-shadow.gif"><img src="images/spacer.gif" height="1" width="9"></td>\n')
document.write('</tr>\n')
document.write('<tr>\n')
document.write('	<td background="images/bottom-shadow.gif"><img src="images/spacer.gif" height="9" width="1"></td>\n')
document.write('	<td background="images/corner-shadow.gif"><img src="images/spacer.gif" height="9" width="9"></td>\n')
document.write('</tr>\n')
document.write('</table>\n')
}


/*
To Call this properly.

<script type="text/javascript">ShadowTableTop(5, "left")</script>
	--- Stuff inside the box goes here. ---
<script type="text/javascript">ShadowTableBottom()</script>

*/