// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var regular = { src: '/scripts/thesans-regular.swf' };
var bold = { src: '/scripts/thesans-bold.swf' };

// Now you can set some configuration settings.
//sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(regular, bold);

// Now we can do the replacements

sIFR.replace(regular, {
	wmode: 'transparent',
	selector: '.section h2',
	css: '.sIFR-root { line-height:1; leading:-25; text-decoration: none; color: #ffffff; letter-spacing: 0; margin-bottom: -10px; }',
	ratios: [11, 1.49, 13, 1.4, 16, 1.39, 19, 1.38, 22, 1.37, 32, 1.35, 33, 1.33, 42, 1.34, 43, 1.32, 50, 1.33, 81, 1.32, 83, 1.31, 85, 1.32, 86, 1.31, 87, 1.32, 89, 1.31, 90, 1.32, 1.31]
});

sIFR.replace(regular, {
	wmode: 'transparent',
	selector: '.working-examples h2',
	css: [
			'.sIFR-root { font-weight:normal; line-height:1em; leading:-5; text-decoration: none; }',
			'a { text-decoration: none;color: #ffffff; }',
			'a:link { color: #ffffff; }',
			'a:visited { color: #ffffff; }',
			'a:hover { color: #ffffff; }',
			'a:active { color: #ffffff; }',			
	   ],
	ratios: [11, 1.49, 13, 1.4, 16, 1.39, 19, 1.38, 22, 1.37, 32, 1.35, 33, 1.33, 42, 1.34, 43, 1.32, 50, 1.33, 81, 1.32, 83, 1.31, 85, 1.32, 86, 1.31, 87, 1.32, 89, 1.31, 90, 1.32, 1.31]
});

sIFR.replace(regular, {
	wmode: 'transparent',
	selector: '#primary h2, .content h2, .sidebar h5, .related_case_studies h5, .related_products h5, .map h5, .related_data h5',
	css: '.sIFR-root { font-weight:normal; line-height:1em; leading:-5; text-decoration: none; }',
	ratios: [11, 1.49, 13, 1.4, 16, 1.39, 19, 1.38, 22, 1.37, 32, 1.35, 33, 1.33, 42, 1.34, 43, 1.32, 50, 1.33, 81, 1.32, 83, 1.31, 85, 1.32, 86, 1.31, 87, 1.32, 89, 1.31, 90, 1.32, 1.31]
});

sIFR.replace(bold, {
	wmode: 'transparent',
	selector: '#primary h3, #secondary h3, .highlights .box h3',
	css: [
			'.sIFR-root { text-transform:uppercase; font-weight:normal; line-height:1em; leading:-5; text-decoration: none; }',
			'a { text-decoration: none;color: #ffffff; }',
			'a:link { color: #ffffff; }',
			'a:visited { color: #ffffff; }',
			'a:hover { color: #ffffff; }',
			'a:active { color: #ffffff; }',			
	   ],
	ratios: [11, 1.49, 13, 1.4, 16, 1.39, 19, 1.38, 22, 1.37, 32, 1.35, 33, 1.33, 42, 1.34, 43, 1.32, 50, 1.33, 81, 1.32, 83, 1.31, 85, 1.32, 86, 1.31, 87, 1.32, 89, 1.31, 90, 1.32, 1.31]
});

sIFR.replace(bold, {
	wmode: 'transparent',
	selector: '#footer h5',
	css: '.sIFR-root { text-transform:uppercase; line-height:1; leading:-15; text-decoration: none; color: #ffffff}',
	ratios: [11, 1.49, 13, 1.4, 16, 1.39, 19, 1.38, 22, 1.37, 32, 1.35, 33, 1.33, 42, 1.34, 43, 1.32, 50, 1.33, 81, 1.32, 83, 1.31, 85, 1.32, 86, 1.31, 87, 1.32, 89, 1.31, 90, 1.32, 1.31]
});

