<?xml version="1.0"?>
<!DOCTYPE overlay PUBLIC "-//MOZILLA//DTD XUL V1.0//EN" "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<vbox id="ovl_bottom" flex="1" pack="end">
  <statusbar id="stb1">
    <statusbarpanel width="200" label="XuloContacts" />
    <statusbarpanel flex="1" style="color:red;" id="zn_message" />
    <statusbarpanel width="100" id="stb_user" />
  </statusbar>
</vbox>

<script>

//setTimeout("ovl_bottom()", 10);

function ovl_bottom()
{
  var abr = lirePref('char', 'barre.abr');
  
  if (abr.toLowerCase()=='@web')
    setVal($('mnu_superadmin'), 'collapsed', false);

  $('stb_user').label=abr;

	var stb1=lirePref('bool', 'barre.visible');
  
  $('stb1').collapsed=  !stb1;
  setVal($('mnu_stb1'), 'checked', stb1);
}
</script>
</overlay>