var ariblk = { src: 'sifr/fonts/ariblk.swf' };
sIFR.activate(ariblk);

sIFR.replace(ariblk, {
  selector: 'h1',
  wmode: 'transparent',
  offsetLeft: 0,
  offsetTop: -5,
  forceSingleLine: true,
  tuneWidth: 1,
  css: '.sIFR-root { color: #82b933; }'
});

sIFR.replace(ariblk, {
  selector: 'h2',
  wmode: 'transparent',
  offsetLeft: 0,
  offsetTop: 0,
  forceSingleLine: true,
  tuneWidth: 1,
  css: '.sIFR-root { color: #ffffff; }'
});

sIFR.replace(ariblk, {
  selector: 'h3',
  wmode: 'transparent',
  offsetLeft: 0,
  offsetTop: -5,
  forceSingleLine: true,
  tuneWidth: 1,
  css: '.sIFR-root { color: #0055a0; }'
});


sIFR.replace(ariblk, {
  selector: '#navigation ul li a span.t',
  wmode: 'transparent',
  offsetLeft: 0,
  offsetTop: -1,
  forceSingleLine: true,
  tuneWidth: 1,
  onRelease: sifr_click,
  css: '.sIFR-root { color: #f3f1f1; cursor: pointer; }'
});



function sifr_click(sifr) {
  var href = $(sifr.getFlashElement()).parents('a').attr('href');
  window.location = href;
}

