function tableStart(w, a)
{
   document.write('<table width='+w+' align='+a+' cellpadding=1 cellspacing=1 border=0>');
}


function tableEnd()
{
   document.write('</table>');
}


function rowStart(ha, va, c)
{
   document.write('<tr align="'+ha+'" valign="'+va+'" bgcolor='+c+'>');
}

function rowEnd()
{
   document.write('</tr>');
}


function cell(w, h, ha, va, cs, rs, fs, t)
{
   document.write('<td width='+w+' height='+h+' align='+ha+' valign='+va+' colspan='+cs+' rowspan='+rs+'><font size='+fs+'>'+t+'</font></td>');
}


function cellBold(w, h, ha, va, cs, rs, fs, t)
{
   document.write('<td width='+w+' height='+h+' align='+ha+' valign='+va+' colspan='+cs+' rowspan='+rs+'>');
   document.write('<font size='+fs+'>');
   document.write('<b>');
   document.write(t);
   document.write('</b>');
   document.write('</font>');
   document.write('</td>');
}


function cellRef(w, h, ha, va, cs, rs, fs, r, t)
{
   document.write('<td width='+w+' height='+h+' align='+ha+' valign='+va+' colspan='+cs+' rowspan='+rs+'>');
   document.write('<font size='+fs+'>');
   document.write('<a href="'+r+'">');
   document.write(t);
   document.write('</a>');
   document.write('</font>');
   document.write('</td>');
}


function cellRefBold(w, h, ha, va, cs, rs, fs, r, t)
{
   document.write('<td width='+w+' height='+h+' align='+ha+' valign='+va+' colspan='+cs+' rowspan='+rs+'>');
   document.write('<font size='+fs+'>');
   document.write('<a href="'+r+'">');
   document.write('<b>');
   document.write(t);
   document.write('</b>');
   document.write('</a>');
   document.write('</font>');
   document.write('</td>');
}


function cellImg(w, h, ha, va, cs, rs, i, iw, ih)
{
   document.write('<td width='+w+' height='+h+' align='+ha+' valign='+va+' colspan='+cs+' rowspan='+rs+'>');
   document.write('<img src="'+i+'" width='+iw+' height='+ih+'>');
   document.write('</td>');
}


function cellTableStart(cw, ca, cv, tw, ta)
{
   document.write('<td width='+cw+' align='+ca+' valign='+cv+'>');
   document.write('<table width='+tw+' align='+ta+' cellpadding=1 cellspacing=1 border=0>');
}


function cellTableEnd()
{
   document.write('</td>');
   document.write('</table>');
}

