var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if (!is_chrome) {
	var nationalBook = { src: '/flash/NationalBook.swf' };
	var nationalBold = { src: '/flash/NationalBold.swf' };
	var nationalSemibold = { src: '/flash/NationalSemibold.swf' };

	sIFR.fitExactly  = true;
	sIFR.useStyleCheck = true;
	sIFR.fixWrap = true;

	// Next, activate sIFR:
	sIFR.activate(nationalBook, nationalSemibold);


	sIFR.replace(nationalSemibold, {
	  selector: 'div.card h1',
	  tuneHeight: -6,
          tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});


	sIFR.replace(nationalSemibold, {
	  selector: 'div.infobox h1',
	  tuneHeight: -6,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalBook, {
	  selector: 'div.infobox h2',
	  tuneHeight: -6,
          tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});


	sIFR.replace(nationalBook, {
	  selector: 'div#selectors>span',
	  tuneHeight: -6,
	  tuneWidth: 6,
	  css: ['.sIFR-root {color: #000000; font-size: 12px; font-weight: normal; text-decoration: none; }',
			'a:link {color: #000000; text-decoration: none; }',
			'a:hover {color: #000000; text-decoration: underline; }',
			'a:visited {color: #000000; text-decoration: none; }'],
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalSemibold, {
	  selector: '#nav>li.current>span',
	  tuneHeight: -13,
	  tuneWidth: 12,
	  forceSingleLine: true,
	  offsetTop: -5,
	  css: ['.sIFR-root {color: #000000; font-weight: normal; font-size: 24px; text-decoration: none; leading: 1; }',
			'a:link {color: #000000; text-decoration: none; }',
			'a:hover {color: #000000; text-decoration: none; }',
			'a:visited {color: #000000; text-decoration: none; }',
			'a.current {color: #000000; text-decoration: none; }',
			'a.current:link {color: #000000; text-decoration: none; }',
			'a.current:hover {color: #000000; text-decoration: none; }',
			'a.current:visited {color: #000000; text-decoration: none; }'],
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalBook, {
	  selector: '#nav>li>span',
	  tuneHeight: -13,
	  tuneWidth: 12,
	  offsetTop: -5,
	  forceSingleLine: true,
	  css: ['.sIFR-root {color: #000000; font-weight: normal; font-size: 24px; text-decoration: none; leading: 1; }',
			'a:link {color: #000000; text-decoration: none; }',
			'a:hover {color: #000000; text-decoration: none; }',
			'a:visited {color: #000000; text-decoration: none; }'],
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});


	sIFR.replace(nationalSemibold, {
	  selector: '#nav>li>ul>li.current>span',
	  tuneHeight: -11,
	  tuneWidth: 36,
	  forceSingleLine: true,
	  offsetTop: -4,
	  css: ['.sIFR-root {color: #000000; font-weight: normal; font-size: 18px; text-decoration: none; leading: 1; }',
			'a:link {color: #000000; text-decoration: none; }',
			'a:hover {color: #000000; text-decoration: none; }',
			'a:visited {color: #000000; text-decoration: none; }',
			'a.current {color: #000000; text-decoration: none; }',
			'a.current:link {color: #000000; text-decoration: none; }',
			'a.current:hover {color: #000000; text-decoration: none; }',
			'a.current:visited {color: #000000; text-decoration: none; }'],
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalBook, {
	  selector: '#nav>li>ul>li>span',
	  tuneHeight: -11,
	  tuneWidth: 36,
	  forceSingleLine: true,
	  offsetTop: -4,
	  css: ['.sIFR-root {color: #000000; font-weight: normal; font-size: 18px; text-decoration: none; leading: 1; }',
			'a:link {color: #000000; text-decoration: none; }',
			'a:hover {color: #000000; text-decoration: none; }',
			'a:visited {color: #000000; text-decoration: none; }'],
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});



	sIFR.replace(nationalBook, {
	  selector: 'div#contenttext h1',
	  tuneHeight: -16,
	  offsetTop: -10,
	  tuneWidth: 8,
	  offsetLeft: -2,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 44px; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

        sIFR.replace(nationalSemibold, {
	  selector: 'div#contenttext h3',
	  tuneHeight: -6,
	  tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 28px; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalSemibold, {
	  selector: 'div#contenttext h2',
	  tuneHeight: -6,
	  tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 18px; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});



	sIFR.replace(nationalBook, {
	  selector: 'div#description h1',
	  tuneHeight: -6,
	  tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 40px; leading: 0.2; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalBook, {
	  selector: 'div#description h2',
	  tuneHeight: -6,
	  tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 20px; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});


	sIFR.replace(nationalSemibold, {
	  selector: 'div#description h3',
	  tuneHeight: -4,
	  tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; font-size: 14px;}',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

}

function doHiddenReplaceNow() {
          sIFR.replace(nationalSemibold, {
	  selector: 'div.card h1',
	  tuneHeight: -6,
          tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});


	sIFR.replace(nationalSemibold, {
	  selector: 'div.infobox h1',
	  tuneHeight: -6,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});

	sIFR.replace(nationalBook, {
	  selector: 'div.infobox h2',
	  tuneHeight: -6,
          tuneWidth: 8,
	  css: '.sIFR-root { font-weight: normal; text-decoration: none; }',
	  transparent: true,
	  ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 67, 1.17, 68, 1.16, 69, 1.17, 74, 1.16, 75, 1.17, 1.16] 
	});
}
