function SkinScalableBoxHead(styleclass)
{
  document.write('<table class="' + styleclass + '" cellpadding="0" cellspacing="0" border="0"><tr><td class="SkinTopLeftCorner">&nbsp</td><td class="SkinTopFill">&nbsp</td><td class="SkinTopRightCorner">&nbsp</td></tr><tr><td class="SkinLeftFill">&nbsp</td><td class="SkinCenterContent">');
}

function SkinScalableBoxFoot(styleclass)
{
  document.write('</td><td class="SkinRightFill">&nbsp</td></tr><tr><td class="SkinBottomLeftCorner">&nbsp</td><td class="SkinBottomFill">&nbsp</td><td class="SkinBottomRightCorner">&nbsp</td></tr></table>');
}

function SkinScalableBoxHead_ver2(p_classPrefix)
{
  document.write('<table class="' + p_classPrefix + 'ScalableBox" cellpadding="0" cellspacing="0" border="0">');
  document.write('<tr>');
  document.write('<td class="' + p_classPrefix + 'TopLeftCorner">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'TopFill">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'TopRightCorner">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr valign=top>');
  document.write('<td class="' + p_classPrefix + 'LeftFill">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'CenterContent">');
}

function SkinScalableBoxFoot_ver2(p_classPrefix)
{
  document.write('</td>');
  document.write('<td class="' + p_classPrefix + 'RightFill">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td class="' + p_classPrefix + 'BottomLeftCorner">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'BottomFill">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'BottomRightCorner">&nbsp</td>');
  document.write('</tr>');
  document.write('</table>');
}


function SkinScalableBoxSchemeHead(p_headerClassPrefix)
{
  document.write('<table class="' + p_headerClassPrefix + 'ScalableBox" cellpadding="0" cellspacing="0" border="0">');
  document.write('<tr>');
  document.write('<td class="' + p_headerClassPrefix + 'TopLeftCorner">&nbsp</td>');
  document.write('<td class="' + p_headerClassPrefix + 'TopFill">&nbsp</td>');
  document.write('<td class="' + p_headerClassPrefix + 'TopRightCorner">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr valign=top>');
  document.write('<td class="' + p_headerClassPrefix + 'LeftFill">&nbsp</td>');
  document.write('<td class="' + p_headerClassPrefix + 'CenterContent">');
}

function SkinScalableBoxSchemeColumnHeader(p_headerClassPrefix, p_columnHeaderClassPrefix)
{
  document.write('</td>');
  document.write('<td class="' + p_headerClassPrefix + 'RightFill">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td class="' + p_columnHeaderClassPrefix + 'LeftFill">&nbsp</td>');
  document.write('<td class="' + p_columnHeaderClassPrefix + 'CenterContent">');
}

function SkinScalableBoxScheme(p_classPrefix, p_columnHeaderClassPrefix)
{
  document.write('</td>');
  document.write('<td class="' + p_columnHeaderClassPrefix + 'RightFill">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td class="' + p_classPrefix + 'LeftFill">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'CenterContent">');
}

function SkinScalableBoxSchemeFoot(p_classPrefix)
{
  document.write('</td>');
  document.write('<td class="' + p_classPrefix + 'RightFill">&nbsp</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td class="' + p_classPrefix + 'BottomLeftCorner">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'BottomFill">&nbsp</td>');
  document.write('<td class="' + p_classPrefix + 'BottomRightCorner">&nbsp</td>');
  document.write('</tr>');
  document.write('</table>');
}


function SkinScalableBoxTabHead(classPrefix, buttonSelected)
{
  document.write('<table class="' + classPrefix + 'ScalableBox" cellpadding="0" cellspacing="0" border="0">');
  document.write('  <tr>');
  document.write('      <td height="34" width="243" colspan="3" class="' + classPrefix + 'Top_' + buttonSelected + '">');
}
function SkinScalableBoxTabMiddle(classPrefix)
{
  document.write('      </td>');
  document.write('  </tr>');
  document.write('  <tr valign=top>');
    
  document.write('      <td width="8" class="' + classPrefix + 'LeftFill"></td>');
  document.write('      <td width="227" class="' + classPrefix + 'CenterContent">');
}
function SkinScalableBoxTabFoot(classPrefix)
{
  document.write('      </td>');
  document.write('      <td width="8" class="' + classPrefix + 'RightFill"></td>');
  document.write('  </tr>');
  document.write('  <tr>');
  document.write('      <td width="8" class="' + classPrefix + 'BottomLeftCorner"></td>');
  document.write('      <td width="227" class="' + classPrefix + 'BottomFill"></td>');
  document.write('      <td width="8" class="' + classPrefix + 'BottomRightCorner"></td>');
  document.write('  </tr>');
  document.write('</table>');
}