function PanelOpen(strTbl, strTd)
{
	var w = 16;
	var h = 16;
	var strPrefix = "images/frame2/";
	
	var strLT = strPrefix + "lt.jpg";
	var strMT = strPrefix + "mt.jpg";	
	var strRT = strPrefix + "rt.jpg";
	var strML = strPrefix + "ml.jpg";

	if (PanelOpen.arguments.length == 0)
	{ strTbl = ""; }

	if (PanelOpen.arguments.length == 1)
	{ strTd = ""; }	

document.write("<table order cellspacing=0 cellpadding=0 " + strTbl + ">");
document.write("<tr>");
document.write("<td width=" + w + " height=" + h + "><img src='" + strLT + "' /></td>");
document.write("<td background='" + strMT + "' height=" + h + "></td>");
document.write("<td width=" + w + " height=" + h + "><img src='" + strRT + "' /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td background='" + strML + "' width=" + w + "></td>");
document.write("<td " + strTd + ">");
}

function PanelTop(strTbl, strTd)
{
	var w = 16;
	var h = 16;
	var strPrefix = "images/frame2/";

	var strML = strPrefix + "ml.jpg";

	if (PanelTop.arguments.length == 0)
	{ strTbl = ""; }

	if (PanelTop.arguments.length == 1)
	{ strTd = ""; }	

document.write("<table order cellspacing=0 cellpadding=0 " + strTbl + ">");
document.write("<tr>");
document.write("<td background='" + strML + "' width=" + w + "></td>");
document.write("<td " + strTd + ">");
}

function PanelClose()
{
	var w = 16;
	var h = 16;
	var strPrefix = "images/frame2/";
	
	var strLB = strPrefix + "lb.jpg";
	var strMB = strPrefix + "mb.jpg";	
	var strRB = strPrefix + "rb.jpg";
	var strMR = strPrefix + "mr.jpg";

document.write("</td>");
document.write("<td background='" + strMR + "' width=" + w + "></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width=" + w + " height=" + h + "><img src='" + strLB + "' /></td>");
document.write("<td background='" + strMB + "' height=" + h + "></td>");
document.write("<td width=" + w + " height=" + h + "><img src='" + strRB + "' /></td>");
document.write("</tr>");
document.write("</table>");
}
