/*****************************************************************************
It is adviced 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.
*****************************************************************************/

path = "/wp-content/themes/ocss-bananaputting/media/flash/";

var myriad = { src: path + 'myriadpro-semibold.swf' };
sIFR.activate(myriad);

var museo = { src: path + 'museo-regular.swf' };
sIFR.activate(museo);


/*
 * Pre
 */
sIFR.replace(museo, {
	selector: '.pre[style*="text-align: center;"]',
	css: [
		'.sIFR-root { text-align: center; background-color: #ffffff; color: #000000; }',
		'a { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: underline; }'
	],
	wmode: 'transparent'
});

sIFR.replace(museo, {
	selector: '.pre[style*="text-align: right;"]',
	css: [
		'.sIFR-root { text-align: right; background-color: #ffffff; color: #000000; }',
		'a { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: '.pre',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #000000; }',
		'a { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});


/*
 * H1
 */
sIFR.replace(museo, {
	selector: '.title h1',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #000000; }',
		'a { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: 'h1[style*="text-align: center;"]',
	css: [
		'.sIFR-root { text-align: center; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent'
});

sIFR.replace(museo, {
	selector: 'h1[style*="text-align: right;"]',
	css: [
		'.sIFR-root { text-align: right; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: 'h1',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});


/*
 * H2
 */
sIFR.replace(museo, {
	selector: 'h2[style*="text-align: center;"]',
	css: [
		'.sIFR-root { text-align: center; background-color: #ffffff; color: #51841a; }',
		'a { color: #51841a; text-decoration: none; }',
		'a:hover { color: #51841a; text-decoration: underline; }'
	],
	wmode: 'transparent'
});

sIFR.replace(museo, {
	selector: 'h2[style*="text-align: right;"]',
	css: [
		'.sIFR-root { text-align: right; background-color: #ffffff; color: #51841a; }',
		'a { color: #51841a; text-decoration: none; }',
		'a:hover { color: #51841a; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: 'h2',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #51841a; }',
		'a { color: #51841a; text-decoration: none; }',
		'a:hover { color: #51841a; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});


/*
 * H3
 */
sIFR.replace(museo, {
	selector: 'h3[style*="text-align: center;"]',
	css: [
		'.sIFR-root { text-align: center; background-color: #ffffff; color: #e7650e; }',
		'a { color: #e7650e; text-decoration: none; }',
		'a:hover { color: #e7650e; text-decoration: underline; }'
	],
	wmode: 'transparent'
});

sIFR.replace(museo, {
	selector: 'h3[style*="text-align: right;"]',
	css: [
		'.sIFR-root { text-align: right; background-color: #ffffff; color: #e7650e; }',
		'a { color: #e7650e; text-decoration: none; }',
		'a:hover { color: #e7650e; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: 'h3',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #e7650e; }',
		'a { color: #e7650e; text-decoration: none; }',
		'a:hover { color: #e7650e; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});





sIFR.replace(museo, {
	selector: 'h1[style*="text-align: center;"], h2[style*="text-align: center;"], h3[style*="text-align: center;"], h4[style*="text-align: center;"], h5[style*="text-align: center;"], h6[style*="text-align: center;"]',
	css: [
		'.sIFR-root { text-align: center; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent'
});

sIFR.replace(museo, {
	selector: 'h1[style*="text-align: right;"], h2[style*="text-align: right;"], h3[style*="text-align: right;"], h4[style*="text-align: right;"], h5[style*="text-align: right;"], h6[style*="text-align: right;"]',
	css: [
		'.sIFR-root { text-align: right; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});

sIFR.replace(museo, {
	selector: 'h1, h2, h3, h4, h5, h6',
	css: [
		'.sIFR-root { text-align: left; background-color: #ffffff; color: #2075a1; }',
		'a { color: #2075a1; text-decoration: none; }',
		'a:hover { color: #2075a1; text-decoration: underline; }'
	],
	wmode: 'transparent',
	fitExactly: true
});