<?php 
  $button1_Global = array(
    'top'           => $button1_Conf['top'], 
    'left'          => $button1_Conf['left'],  
    'width'         => $button1_Conf['width'],
    'height'        => $button1_Conf['height'],
    'color'         => $button1_Conf['font_color'],
    'bgcolor'       => $button1_Conf['back_ground'],
    'fontFamily'    => $button1_Conf['font_family'],
    'fontSize'      => $button1_Conf['font_size'],
    'visibility'    => $button1_Conf['visibility']
  );  
  
  switch( $button1_Conf['tipo_button'] )
  {  
    case 'light':
      $button1_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:
      $button1_Style = array(
        'borderTop'    => '2px',
        'borderBottom' => '2px',
        'borderLeft'   => '2px',
        'borderRight'  => '2px'
      );
  };
?> 
