 /*****************************************************************************
    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 avenir = {
      src: 'http://www.cowenroyalty.com/images/avenir.swf'
    };

    var avenirbold = {
      src: 'http://www.cowenroyalty.com/images/avenir-bold.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(avenir);
	sIFR.activate(avenirbold);

    sIFR.replace(avenirbold, {
      selector: 'h1'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#FFFFFF', 'letter-spacing': -1, 'leading': '-25' }
      }
    });

	sIFR.replace(avenirbold, {
      selector: 'h2'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#5287BC', 'letter-spacing': -.5, 'leading': '-4', 'text-transform': 'uppercase' }
      }
    });

    sIFR.replace(avenirbold, {
      selector: 'h3'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#5287BC', 'leading': '0' }
      }
    });
	
    sIFR.replace(avenirbold, {
      selector: 'h4'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#5287BC', 'leading': '0' }
      }
    });
	
	
    sIFR.replace(avenirbold, {
      selector: 'h5'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#5287BC', 'leading': '0' }
      }
    });	
	

    sIFR.replace(avenirbold, {
      selector: 'h6'
      ,wmode: 'transparent'
	  ,css: {
        '.sIFR-root': { 'color': '#5287BC', 'leading': '0' }
      }
    });	
	
	sIFR.replace(avenirbold, {
	  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': '#5287BC', 'leading': '0' },
		'a': { 'text-decoration': 'none' },
		'a:link': { 'color': '#5287BC' },
		'a:hover': { 'color': '#AA0000' }
	  }
	});
