[%  # splash/hair: an enclosing frame with crosshair corners
    #
    #  ARGS: content, style
    # STYLE: col, bgcol, align, width
    #
    SET
        default = splash.style.default
    ;
    DEFAULT 
        style   = default
        col     = style.col.fore     or default.col.fore
        bgcol   = style.col.back     or default.col.back
        align   = style.button.align or default.button.align
        pad     = style.pad          or default.pad
    ;
    SET
        rgbcol  = splash.rgb.$col
        imgbase = "$splash.images/$bgcol"
        imgsize = splash.imgsize
        imgtype = splash.imgtype
    ;
-%]
<!-- tt2.splash.hair -->  
<table bgcolor="[% rgbcol %]"[% IF width %] width="[% width %]"[% END %]
       border="0" cellpadding="[% pad %]" cellspacing="0">
  <tr valign="top">
    <td width="[% imgsize %]"><img
        src="[% imgbase %]/tlhair.[% imgtype %]"
        width="[% imgsize %]" height="[% imgsize %]"></td>
    <td rowspan="2" valign="middle"
        [%- IF align %] align="[% align %]"[% END %]
        [%- IF width %] width="100%"[% END %]>
        [%- content.length ? content : '&nbsp;' -%]</td>
    <td width="[% imgsize %]" align="right"><img 
        src="[% imgbase %]/trhair.[% imgtype %]" 
        width="[% imgsize %]" height="[% imgsize %]"></td>
  </tr>
  <tr valign="bottom">
     <td width="[% imgsize %]" align="left"><img 
         src="[% imgbase %]/blhair.[% imgtype %]" 
         width="[% imgsize %]" height="[% imgsize %]"></td>
     <td width="[% imgsize %]" align="right"><img 
         src="[% imgbase %]/brhair.[% imgtype %]" 
         width="[% imgsize %]" height="[% imgsize %]"></td>
  </tr>
</table>
<!-- /tt2.splash.hair -->

