 /*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/

    var officina = {
      src: '/images/officina.swf'
	  //src: 'http://www.Biodel.com/images/avenir.swf'
    };
	var helveticalight = {
      src: '/images/helveticalight.swf'
	  //src: 'http://www.Biodel.com/images/aveniralt.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(officina);
	sIFR.activate(helveticalight);

    sIFR.replace(helveticalight, {
      selector: 'h1'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#FFFFFF', 'letter-spacing': -2, 'leading': '-25' }
      }
    });

	sIFR.replace(officina, {
      selector: 'h2'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#CC6805', 'letter-spacing': -1, 'leading': '-4', 'font-weight': 'bold' }
      }
    });

    sIFR.replace(officina, {
      selector: 'h3'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#CC6805', 'leading': '1' }
      }
    });
	
    sIFR.replace(officina, {
      selector: 'h4'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#CC6805', 'leading': '0' }
      }
    });
	
	
    sIFR.replace(officina, {
      selector: 'h5'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#999999', 'leading': '0', 'font-style': 'italic' } // you have to both declare 'italic' and create an italic-only font to get italic lettering
      }
    });	
	

    sIFR.replace(officina, {
      selector: 'h6'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#D0A624', 'leading': '0' }
      }
    });	
	
	sIFR.replace(officina, {
	  selector: '#subnav ul li' //DON'T	try to SIFR-replace the 'a' in the subnav, instead just replace the 'li'
	  ,wmode: 'transparent'
	  ,css: {
		'.sIFR-root': { 'color': '#CC6805', 'leading': '0' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#CC6805' },
		'a:hover': { 'color': '#333333', 'font-weight': 'bold' }
	  }
	});
