function LineBoxHead(ipath,iwidth,iheight)
{
document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="'+iwidth+'" HEIGHT="'+iheight+'">');
document.write('<TR><TD ROWSPAN="1" COLSPAN="1" WIDTH="7" HEIGHT="9"><IMG SRC="'+lb[0].src+'" WIDTH="7" HEIGHT="9" BORDER="0"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="2000" HEIGHT="9" BACKGROUND="'+lb[1].src+'"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="8" HEIGHT="9"><IMG SRC="'+lb[2].src+'" WIDTH="8" HEIGHT="9" BORDER="0"></TD></TR>\n');
document.write('<TR><TD ROWSPAN="1" COLSPAN="1" WIDTH="7" HEIGHT="100%" BACKGROUND="'+lb[3].src+'"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="2000" HEIGHT="100%">');
}

function LineBoxHeadTop(ipath,iwidth,iheight)
{
document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="'+iwidth+'" HEIGHT="'+iheight+'">');
document.write('<TR><TD ROWSPAN="1" COLSPAN="1" WIDTH="7" HEIGHT="9"><IMG SRC="'+lb[0].src+'" WIDTH="7" HEIGHT="9" BORDER="0"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="2000" HEIGHT="9" BACKGROUND="'+lb[1].src+'"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="8" HEIGHT="9"><IMG SRC="'+lb[2].src+'" WIDTH="8" HEIGHT="9" BORDER="0"></TD></TR>\n');
document.write('<TR><TD ROWSPAN="1" COLSPAN="1" WIDTH="7" HEIGHT="100%" BACKGROUND="'+lb[3].src+'"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="2000" HEIGHT="100%" VALIGN="top">');
}

function LineBoxFoot(ipath)
{
document.write('</TD><TD ROWSPAN="1" COLSPAN="1" WIDTH="8" HEIGHT="100%" BACKGROUND="'+lb[4].src+'"></TD></TR>\n');
document.write('<TR><TD ROWSPAN="1" COLSPAN="1" WIDTH="7" HEIGHT="7"><IMG SRC="'+lb[5].src+'" WIDTH="7" HEIGHT="7" BORDER="0"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="2000" HEIGHT="7" BACKGROUND="'+lb[6].src+'"></TD>\n');
document.write('<TD ROWSPAN="1" COLSPAN="1" WIDTH="8" HEIGHT="7"><IMG SRC="'+lb[7].src+'" WIDTH="8" HEIGHT="7" BORDER="0"></TD></TR></TABLE>\n');
}	