// 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 fMyriadProRegular = { src: '/theme/swf/myriad_regular.swf' };

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.useDomLoaded = false;
sIFR.preserveSingleWhitespace = true;
sIFR.activate(fMyriadProRegular);

sIFR.replace(fMyriadProRegular, {
	selector: '#top h2#title',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #834d31; text-align: right; }',
		'em { font-style:italic; color: #834d31; }',
		'strong { font-style:bold; color: #834d31; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #834d31; }',
		'a:hover { color: #834d31; }'
	]
});


sIFR.replace(fMyriadProRegular, {
	selector: '#main_content .vcard h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ede7bf; }',
		'em { font-style:italic; color: #ede7bf; }',
		'strong { font-style:bold; color: #ede7bf; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #ede7bf; }',
		'a:hover { color: #ede7bf; }'
	]
});

sIFR.replace(fMyriadProRegular, {
	selector: '#main_content #main_news h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #574234; }',
		'em { font-style:italic; color: #574234; }',
		'strong { font-style:bold; color: #574234; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #574234; }',
		'a:hover { color: #574234; }'
	]
});

sIFR.replace(fMyriadProRegular, {
	selector: '.content h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #b85919; }',
		'em { font-style:italic; color: #b85919; }',
		'strong { font-style:bold; color: #b85919; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #b85919; }',
		'a:hover { color: #b85919; }'
	]
});

/*
sIFR.replace(fMyriadProLight, {
	selector: '#main_menu li a',
	wmode: 'transparent',
	forceSingleLine: false,
	selectable: false,
	css: [
		'.sIFR-root { color: #3e638b; }',
		'a { color: #3e638b; }',
		'a:hover { color: #3e638b; }',
	]
});

sIFR.replace(fMyriadProLight, {
	selector: 'h2.sifr',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #00386c; }',
	]
});

sIFR.replace(fMyriadProLight, {
	selector: 'p.subtitle',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #a0b9cd; }',
	]
});
*/
/*sIFR.replace(fMyriadProLight, {
	selector: 'h1.example3',
	css: '.sIFR-root { color: #775555; }'
});
sIFR.replace(fMyriadProLight, {
	wmode: 'transparent',
	selector: 'h2.example3',
	css: '.sIFR-root { color: #ddaaaa; }'
});

sIFR.replace(fMyriadProLight, {
	selector: 'h1.example4',
	css: '.sIFR-root { color: #aa7777; }',
	filters: {
    DropShadow: {
      knockout: false,
      distance: 3,
      color: '#cccccc',
      strength: 3,
      angle:120
    }
  }
});
*/

