/*****************************************************************************
    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 gothamBook = {
      src: '/data/sites/bookings.ecobeach/siteSpecific/page/gotham-book.swf'
    };
	
	  var gothamLight = {
      src: '/data/sites/bookings.ecobeach/siteSpecific/page/gotham-light.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(gothamBook, gothamLight);

    sIFR.replace(gothamBook, {
      selector: 'h1'
      ,css: {
        '.sIFR-root': {'color': '#006EB3', 'background-color': '#FFFFFF' }
	  }
	  ,wmode: 'transparent'
    });

    sIFR.replace(gothamBook, {
      selector: 'h2.normal'
      ,css: {
        '.sIFR-root': {'color': '#988A7C', 'background-color': '#FFFFFF' }
	  }
    });

	sIFR.replace(gothamBook, {
      selector: '.head2',
  	  forceSingleLine: true
      ,css: {
        '.sIFR-root': {'color': '#988A7C', 'background-color': '#FFFFFF' }
	  }
    });

    sIFR.replace(gothamBook, {
      selector: 'h2.events'
      ,css: {
        '.sIFR-root': {'color': '#FFFFFF', 'background-color': '#006EB3' }
	  }
    });
  
    sIFR.replace(gothamLight, {
      selector: 'h2.promo, h3.promo'
      ,css: {
        '.sIFR-root': { 'color': '#FFFFFF', 'background-color': '#2F8BC4' }
      }
    });
  
    sIFR.replace(gothamLight, {
      selector: 'h4.in-brief'
      ,css: {
        '.sIFR-root': { 'color': '#FFFFFF', 'background-color': '#C5BFBB' }
      }
    });
  
    sIFR.replace(gothamBook, {
      selector: 'h4.subhead'
      ,css: {
        '.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' }
      }
      ,filters: {
        DropShadow: {
          knockout: true
          ,distance: 1
          ,color: '#330000'
          ,strength: 2
        }
      }
    });
