<?php
  $dbtextX_Global = array(
    'top'           => $dbtextX_Conf['top'],
    'left'          => $dbtextX_Conf['left'],
    'width'         => $dbtextX_Conf['width'],
    'height'        => $dbtextX_Conf['height'],
    'color'         => $esquema[$dbtextX_Conf['modelo']]['MenuText'],
    'bgcolor'       => $esquema[$dbtextX_Conf['modelo']]['ActiveBorder'],
    'fontFamily'    => $esquema[$dbtextX_Conf['modelo']]['FontFamily'],
    'fontSize'      => $esquema[$dbtextX_Conf['modelo']]['FontSize'],
    'visibility'    => $dbtextX_Conf['visibility']

  );

  switch( $dbtextX_Conf['style'] )
  {
    case 'win98':
      $dbtextX_Style = array(
        'borderTop'    => '1px outset  '.$esquema[$dbtextX_Conf['modelo']]['ButtonHighlight'],
        'borderBottom' => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ButtonShadow'],
        'borderLeft'   => '1px outset  '.$esquema[$dbtextX_Conf['modelo']]['ButtonHighlight'],
        'borderRight'  => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ButtonShadow']

      );
      break;
    default:
      $dbtextX_Style = array(
        'borderTop'    => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ActiveBorder'],
        'borderBottom' => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ActiveBorder'],
        'borderLeft'   => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ActiveBorder'],
        'borderRight'  => '1px solid '.$esquema[$dbtextX_Conf['modelo']]['ActiveBorder']
      );
  };
?>
