 /*****************************************************************************
It is advised to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var fedraSansBold = { src: '../library/js/libs/sifr3/fedraSansBold.swf' };
var fedraSansBook = { src: '../library/js/libs/sifr3/fedraSansBook.swf' };
var fedraSansLight = { src: '../library/js/libs/sifr3/fedraSansLight.swf' };
var fedraSansMedium = { src: '../library/js/libs/sifr3/fedraSansMedium.swf' };

sIFR.activate(fedraSansBook, fedraSansBold, fedraSansMedium, fedraSansLight);

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_trail2',
  css: [
		'.sIFR-root { color:#e12d2c; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_about',
  css: [
		'.sIFR-root { color:#01b6eb; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_media',
  css: [
		'.sIFR-root { color:#BBBBBB; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_gray',
  css: [
		'.sIFR-root { color:#BBBBBB; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_trail3',
  css: [
		'.sIFR-root { color:#FFFFFF; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2#title_trail1',
  css: [
		'.sIFR-root { color:#BBBBBB; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2.bigtitle1',
  css: [
		'.sIFR-root { color:#01b6eb; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2.bigtitle2',
  css: [
		'.sIFR-root { color:#01b6eb; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2.bigtitle2lines',
  css: [
		'.sIFR-root { color:#01b6eb; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h2.title3special',
  css: [
		'.sIFR-root { color:#01b6eb; font-size:32px; text-transform:uppercase; leading: -6;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

/* home page rule */
sIFR.replace(fedraSansBook, {
  selector: 'h3#home_intro',
  css: [
		'.sIFR-root { color:#FFFFFF; font-size: 17px; leading: 2; font-weight: normal; }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h3.intro1',
  css: [
		'.sIFR-root { color:#333333; font-size: 17px; leading: 1;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h3.intro2',
  css: [
		'.sIFR-root { color:#000000; font-size: 14px;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h3.event_intro',
  css: [
		'.sIFR-root { color:#333333; font-size: 17px; leading: 1;}',
		'strong { font-weight: bold;}',
		'em { font-style: italic;}'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h3#intro_trail3',
  css: [
		'.sIFR-root { color:#ffffff; font-size: 17px; leading: 1;}',
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h3.bigtitle2_exhibition',
  css: [
		'.sIFR-root { color:#00B7EB; font-size: 46px; text-transform:uppercase; leading: -7;}',
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h4#home_featured',
  css: [
		'.sIFR-root { color:#E11111; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h4.title1',
  css: [
		'.sIFR-root { color:#333333; }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBold, {
  selector: 'h4.rightTitle1',
  css: [
		'.sIFR-root { color:#e12d2c; }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h4.title2',
  css: [
		'.sIFR-root { color:#333333; font-size: 14px; }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansBook, {
  selector: 'h4.title2exhibition',
  css: [
		'.sIFR-root { color:#ffffff; font-size: 14px; }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h4.title2lines',
  css: [
		'.sIFR-root { color:#FFFFFF; }',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
		'a { color:#00b7eb; text-decoration: none;  font-size:17px;}',
		'a:hover {color: #FFFFFF; text-decoration: none;}'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h4.title3',
  css: [
		'.sIFR-root { color:#333333;}',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
		'a { color:#00b7eb; text-decoration: none;}',
		'a:hover {color: #333333; text-decoration: none;}'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h4.title3special',
  css: [
		'.sIFR-root { color:#333333;}',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
		'a { color:#e92526; text-decoration: none;}',
		'a:hover {color: #333333; text-decoration: none;}'
	],
  wmode: 'transparent'
});


sIFR.replace(fedraSansBook, {
  selector: 'h3#calendar1',
  css: [
		'.sIFR-root { color:#FFFFFF; font-size: 17px; leading: 2; font-weight: normal; text-align: center;  }',
		'strong { font-weight: bold;}',
		'em { font-style: italic; }'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h4.title3_exhibition',
  css: [
		'.sIFR-root { color:#FFFFFF; font-size: 17px;}',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
		'a { color:#00b7eb; text-decoration: none;}',
		'a:hover {color: #FFFFFF; text-decoration: none;}'
	],
  wmode: 'transparent'
});

sIFR.replace(fedraSansMedium, {
  selector: 'h4.title3_exhibition_blue',
  css: [
		'.sIFR-root { color:#00b7eb; font-size: 17px;}',
		'strong { font-weight: bold; }',
		'em { font-style: italic; }',
	],
  wmode: 'transparent'
});
