<?php 
  $colorPicker1_Global = array(
    'top'           => $colorPicker1_Conf['top'],
    'left'          => $colorPicker1_Conf['left'],
    'width'         => $colorPicker1_Conf['width'],
    'height'        => $colorPicker1_Conf['height'],
    'fontFamily'    => $esquema[$colorPicker1_Conf['modelo']]['FontFamily'],
    'fontSize'      => $esquema[$colorPicker1_Conf['modelo']]['FontSize'],
    'visibility'    => $colorPicker1_Conf['visibility'],
    'cor_borderLeft'  => $esquema[$projeto['esquema']]['ButtonHighlight'],
    'cor_borderRight' => $esquema[$projeto['esquema']]['ButtonShadow']
  );  
  
  switch( $colorPicker1_Conf['style'] )
  {  
    case 'win98':  
      $colorPicker1_Style = array(
        'borderTop'    => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderBottom' => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderLeft'   => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderRight'  => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],

        'borderTopInput'    => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderBottomInput' => '1px solid ' .$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderLeftInput'   => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderRightInput'  => '1px solid ' .$esquema[$projeto['esquema']]['ButtonHighlight']
      );
      break;  
    case 'win2k':
      $colorPicker1_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'],

        'borderTopInput'    => '1px solid  '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderBottomInput' => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderLeftInput'   => '1px solid  '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderRightInput'  => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow']
      );
      break;

    default:
      $colorPicker1_Style = array(
        'borderTop'    => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderBottom' => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderLeft'   => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderRight'  => '1px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],

        'borderTopInput'    => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderBottomInput' => '1px solid ' .$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderLeftInput'   => '1px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderRightInput'  => '1px solid ' .$esquema[$projeto['esquema']]['ButtonHighlight']
      );
  };  
?> 
