<?php 
  $buttonX_Global = array(
    'top'           => $buttonX_Conf['top'], 
    'left'          => $buttonX_Conf['left'],  
    'width'         => $buttonX_Conf['width'],
    'height'        => $buttonX_Conf['height'],
    'color'         => $buttonX_Conf['font_color'],
    'bgcolor'       => $buttonX_Conf['back_ground'],
    'fontFamily'    => $buttonX_Conf['font_family'],
    'fontSize'      => $buttonX_Conf['font_size'],
    'visibility'    => $buttonX_Conf['visibility']
  );  
  
  switch( $buttonX_Conf['tipo_button'] )
  {  
    case 'light':
      $buttonX_Style = array(
        'borderTop'    => '1px solid  '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderBottom' => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderLeft'   => '1px solid  '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderRight'  => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow']
      );
      break;
    default:
      $buttonX_Style = array(
        'borderTop'    => '2px',
        'borderBottom' => '2px',
        'borderLeft'   => '2px',
        'borderRight'  => '2px'
      );
  };
?> 
