<?php
  /**
   *  Componente mainMenu
   *
   *  Versão:    data:
   *
   */
  $mainMenu1_Global = array(
    'top'           => $mainMenu1_Conf['top'].'px',
    'left'          => $mainMenu1_Conf['left'].'px',
    'width'         => 'inherit',
    'height'        => 'inherit',
    'color'         => $mainMenu1_Conf['color'],
    'bgcolor'       => $mainMenu1_Conf['bgcolor'],
    'visible'       => $mainMenu1_Conf['visible'],
    'fontFamily'    => 'verdana, tahoma, "Courier New", times',
    'fontSize'      => $mainMenu1_Conf['fontSize'].'px',
    'spaceItemTop'  => $mainMenu1_Conf['paddingTop'].'px',
    'spaceItemLeft' => $mainMenu1_Conf['paddingLeft'].'px'
  );


  switch( $mainMenu1_Conf['style'] )
  {
    case 'bsRaised':
      $mainMenu1_Style = array(
        'borderTop'    => '2px outset '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderBottom' => '2px outset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderLeft'   => '2px outset '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderRight'  => '2px outset '.$esquema[$projeto['esquema']]['ButtonShadow']
      );
      break;
    case 'bsLowered':
      $mainMenu1_Style = array(
        'borderTop'    => '2px inset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderBottom' => '2px inset '.$esquema[$projeto['esquema']]['ButtonHighlight'],
        'borderLeft'   => '2px inset '.$esquema[$projeto['esquema']]['ButtonShadow'],
        'borderRight'  => '2px inset '.$esquema[$projeto['esquema']]['ButtonHighlight']
      );
      break;
    default:
      $mainMenu1_Style = array(
        'borderTop'    => '2px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderBottom' => '2px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderLeft'   => '2px solid '.$esquema[$projeto['esquema']]['ActiveBorder'],
        'borderRight'  => '2px solid '.$esquema[$projeto['esquema']]['ActiveBorder']
      );
      break;
  }// End switch( $mainMenu1[style] )
?>
