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