#use wml::des::navbar

<define-container subbar>
  <if <or
	<match "$(select)" "%0">
	<match "$(parent)" "%0">>
  	<prog
	  %body
	  > >
</define-container>


<navbar:define name=home imgstar="button-n:button-s:button-o"
               imgbase="$(IMG)" urlbase="$(ROOT)">
#               txtcol_normal="#000000" txtcol_select="#ffffff">

  <navbar:header> <table border=0 cellspacing=0 cellpadding=0> </navbar:header>
  <navbar:prolog> <tr align=right><td>  </navbar:prolog>

  <navbar:button id=Home txt="Home" url="" img=*-Home.gif>
  <navbar:button id=Resume txt="Resume" url="cv/" img=*-Resume.gif>
  <navbar:button id=Publications txt="Publications" url="cv/pubs.html" img=*-Publications.gif>

  <navbar:button id=Software txt="Software" url="software/" img=*-Software.gif>

  <subbar "Software">
    <navbar:button id=Mathematica txt="&nbsp;&nbsp;Mathematica" url="software/Mathematica/" img=*-Mathematica.gif>
    <navbar:button id=Haskell txt="&nbsp;&nbsp;Haskell" url="software/Haskell/" img=*-Haskell.gif>
    <navbar:button id=C txt="&nbsp;&nbsp;C, C++, Java" url="software/C/" img="*-C.gif">
    <navbar:button id=LaTeX txt="&nbsp;&nbsp;LaTeX" url="software/LaTeX/" img=*-LaTeX.gif>
    <navbar:button id=Perl txt="&nbsp;&nbsp;Perl" url="software/Perl/" img=*-Perl.gif>
    <navbar:button id=Elisp txt="&nbsp;&nbsp;Elisp" url="software/Elisp/" img=*-Elisp.gif>
    <navbar:button id=Script_Fu txt="&nbsp;&nbsp;Script-Fu" url="software/Script_Fu/" img=*-Script_Fu.gif>
    <navbar:button id=Config txt="&nbsp;&nbsp;Configuration Files" url="software/Config/" img=*-Config.gif>
    <navbar:button id=Miscellaneous txt="&nbsp;&nbsp;Miscellaneous" url="software/Miscellaneous/" img=*-Miscellaneous.gif>
    </subbar>

  <navbar:button id=Photos txt="Photos" url="photos/" img=*-Photos.gif>

  <subbar "Photos">
    <navbar:button id=Japan txt="&nbsp;&nbsp;Japan" url="photos/Japan/" img=*-Japan.gif>
    <navbar:button id=Hawaii txt="&nbsp;&nbsp;Hawaii" url="photos/Hawaii/" img=*-Hawaii.gif>
    <navbar:button id=USA_West txt="&nbsp;&nbsp;USA West" url="photos/USA_West/" img=*-USA_West.gif>
    <navbar:button id=USA_East txt="&nbsp;&nbsp;USA East" url="photos/USA_East/" img=*-USA_East.gif>
    <navbar:button id=Kentucky txt="&nbsp;&nbsp;Kentucky" url="photos/Kentucky/" img=*-Kentucky.gif>
    <navbar:button id=Europe txt="&nbsp;&nbsp;Europe" url="photos/Europe/" img=*-Europe.gif>
    <navbar:button id=Miscellaneous txt="&nbsp;&nbsp;Miscellaneous" url="photos/Miscellaneous/" img=*-Miscellaneous.gif>
  </subbar>

#  <navbar:button id=CI_Laboratory txt="CI Laboratory" url="http://ci.uofl.edu/" img=*-CI_Laboratory.gif>

  <navbar:epilog> </td></tr> </navbar:epilog>
  <navbar:footer> </table> </navbar:footer>
</navbar:define>

<navbar:render name=$(name) select=$(select) $(child:+subselected)>

