<?php 
?> 
<style type="text/css" midia="screen">

  #toolBarX_RAD{
    position:absolute;
    top:<?php echo($toolBarX_Global['topRAD'])?>;
    left:<?php echo($toolBarX_Global['leftRAD'])?>;
    
    z-index:100;
    
    width:<?php echo($toolBarX_Global['widthRAD'])?>;
    height:<?php echo($toolBarX_Global['heightRAD'])?>;
    
    visibility:<?php echo($toolBarX_Global['visibility'])?>;
  }
    
  #toolBarX{
    position:absolute;
    top:5px;
    left:5px;
    
    z-index:inherit;
    
    width:<?php echo($toolBarX_Global['width'])?>;
    height:<?php echo($toolBarX_Global['height'])?>;
    
    color:<?php echo($toolBarX_Global['color'])?>;
    background-color:<?php echo($toolBarX_Global['bgcolor'])?>;
    
    visibility:inherit;
    
    padding-top:2px;
    padding-left:10px;
    
    border-top:<?php echo($toolBarX_Style['borderTop'])?>;
    border-bottom:<?php echo($toolBarX_Style['borderBottom'])?>;
    border-left:<?php echo($toolBarX_Style['borderLeft'])?>;
    border-right:<?php echo($toolBarX_Style['borderRight'])?>;
  }

<?php
  $ix = 0;
  if ( isset($toolBarX_Button) )
  {
    foreach( $toolBarX_Button as $vButton => $imgName )
    {
      $len = ( strpos($vButton, "button") ) ? 25 : 3;
?>
  #toolBarX<?php echo($vButton);?>{
    position:absolute;
    top:0px;
    left:<?php echo($ix);?>px;
    
    z-index:inherit;
    visibility:inherit;

    width:<?php echo($len);?>px;
    height:22px;

    margin-top:4px;
    margin-left:6px;
  }  
<?php
    $ix += ($len==25)?32:10;
    }// End 
  }// End

//width:<?php echo($len);?>px;
//height:22px;
   
?>
  
</style>
