var GothamCondensedBook = {
  src: 'http://www.mcgarneau.com/sifr/GothamCondensedBook.swf'
};

var GothamLight = {
  src: 'http://www.mcgarneau.com/sifr/GothamLight.swf'
};

var GothamMedium = {
  src: 'http://www.mcgarneau.com/sifr/GothamMedium.swf'
};

sIFR.activate(GothamCondensedBook, GothamLight, GothamMedium);

sIFR.replace(GothamLight, {
	selector: 'h1'
	,css: {
      '.sIFR-root': {'color': '#FFFFFF', 'text-align': 'left', 'text-transform':'uppercase'},
	  'a': {'color': '#666699', 'text-decoration': 'none'},
	  'a:hover': {'color': '#666699', 'text-decoration': 'underline'}
    }
	,wmode: 'transparent'
	});

sIFR.replace(GothamCondensedBook, {
	selector: 'h6',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 15, 1.21, 16, 1.22, 22, 1.2, 23, 1.17, 25, 1.19, 33, 1.17, 42, 1.16, 47, 1.15, 48, 1.16, 65, 1.15, 71, 1.14, 72, 1.15, 110, 1.14, 111, 1.13, 116, 1.14, 117, 1.13, 118, 1.14, 119, 1.13, 122, 1.14, 123, 1.13, 124, 1.14, 1.13]
	,css: {
      '.sIFR-root': {'color': '#666699', 'text-align': 'right', 'text-transform':'uppercase', 'letter-spacing': '1'},
      'a': {'color': '#666699', 'text-decoration': 'none'},
	  'a:hover': {'color': '#666699', 'text-decoration': 'underline'}
	}
	,wmode: 'transparent'
	});

sIFR.replace(GothamMedium, {
	selector: 'h5'
	,css: {
      '.sIFR-root': {'color': '#666699', 'text-align': 'left', 'leading': '5'},
	  'a': {'color': '#666699', 'text-decoration': 'none'},
	  'a:hover': {'color': '#666699', 'text-decoration': 'underline'}
    }
	,wmode: 'transparent'
	});

sIFR.replace(GothamCondensedBook, {
	selector: 'h4',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 15, 1.21, 16, 1.22, 22, 1.2, 23, 1.17, 25, 1.19, 33, 1.17, 42, 1.16, 47, 1.15, 48, 1.16, 65, 1.15, 71, 1.14, 72, 1.15, 110, 1.14, 111, 1.13, 116, 1.14, 117, 1.13, 118, 1.14, 119, 1.13, 122, 1.14, 123, 1.13, 124, 1.14, 1.13]
	,css: {
      '.sIFR-root': {'color': '#666699', 'text-align': 'left', 'text-transform':'uppercase', 'letter-spacing': '1'},
      'a': {'color': '#666699', 'text-decoration': 'none'},
	  'a:hover': {'color': '#666699', 'text-decoration': 'underline'}
	}
	,wmode: 'transparent'
	});
