// 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 fDiavlo = { src: 'http://www.truerest.com/flash/diavlo.swf' };
var fCochin = { src: 'http://www.truerest.com/flash/cochin.swf' };
var fGaramond = { src: 'http://www.truerest.com/flash/garamond.swf' };
var fFranklin = { src: 'http://www.truerest.com/flash/franklin.swf' };
var fPappa = { src: 'http://www.truerest.com/flash/pappa.swf' };
var fQuote = { src: 'http://www.truerest.com/flash/quote.swf' };
var fPristina = { src: 'http://www.truerest.com/flash/pristina.swf' };
var fLittle = { src: 'http://www.truerest.com/flash/little.swf' };
// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(fDiavlo, fCochin, fGaramond, fFranklin, fPappa, fQuote, fPristina, fLittle);


sIFR.replace(fQuote, {
	selector: 'h1', wmode: 'transparent',
	css: '.sIFR-root { color: #FFFFFF; text-align:left;}'
});



sIFR.replace(fGaramond, {
	selector: 'h2', wmode: 'transparent',
	css: '.sIFR-root { color: #666666; text-align:right;}'
});
sIFR.replace(fFranklin, {
	wmode: 'transparent',
	selector: 'h3',
	css: [
		'.sIFR-root { color: #666666; text-align:right; width:100px; }',
		'strong { font-style:bold; color: #8DBE4B; }',
				'a { color: #8DBE4B; text-decoration:none;}'
		
		]
});

sIFR.replace(fFranklin, {
	selector: 'h4', wmode: 'transparent',
	css: '.sIFR-root { color: #FFFFFF; text-align:left;}'
});

sIFR.replace(fPristina, {
	selector: 'h5', wmode: 'transparent',
	css: '.sIFR-root { color: #5AB0D2; text-align:right;}'
});

sIFR.replace(fFranklin, {
	selector: 'h6', wmode: 'transparent',
	css: '.sIFR-root { color: #8DBE4B; text-align:left;}'
});




