function fs(size)
{
  $.get(
    '/fs.php',
    {'size': size},
    function(data)
    {
      $('body').css('font-size', data + 'px');
    },
    'text'
  );
  this.blur();
}

function fsReset()
{
}

function fsDecrease()
{

}

jQuery(
  function()
  {
    $('#mainmenu, #sitemenu').superfish(
      {
        animation:    {opacity: 'show'},
        autoArrows:   true,
        delay:        500,
        dropShadows:  true,
        hoverClass:   'sfHover',
        speed:        'fast'
      }
    );
    $('#font-menu-decrease').click(function() {fs(-1);return false;});
    $('#font-menu-reset').click(function() {fs(0);return false;});
    $('#font-menu-increase').click(function() {fs(1);return false;});
  }
);
