var myriadpro = {
  src: 'wp-content/themes/propelmedia/flash/myriadpro.swf'
};

var myriadproboldcondensed = {
  src: 'wp-content/themes/propelmedia/flash/myriadproboldcondensed.swf'
};

sIFR.activate(myriadpro);

// HTML AREA

sIFR.replace(myriadpro, {
	selector: '.htmlarea #auditpage h1',
	css: [
		'.sIFR-root { font-size:24px; color:#000000; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #8fc744 }',
		'a:hover { color: #8fc744; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea h1',
	css: [
		'.sIFR-root { font-size:24px; color:#8fc744; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #8fc744 }',
		'a:hover { color: #8fc744; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea #auditpage h2',
	css: [
		'.sIFR-root { font-size:21px; color:#000000; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #abe361 }',
		'a:hover { color: #abe361; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea dt, #post-22 .entry h2',
	css: [
		'.sIFR-root { font-size:18px; color:#76a13b; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #76a13b }',
		'a:hover { color: #76a13b; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea h2',
	css: [
		'.sIFR-root { font-size:21px; color:#8fc744; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #abe361 }',
		'a:hover { color: #abe361; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea #auditpage h3, .htmlarea #auditpage h4, .htmlarea #auditpage h5, .htmlarea #auditpage h6, legend',
	css: [
		'.sIFR-root { font-size:18px; color:#000000; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #76a13b }',
		'a:hover { color: #76a13b; text-decoration:underline }'],
		wmode: 'transparent'
});

sIFR.replace(myriadpro, {
	selector: '.htmlarea h3, .htmlarea h4, .htmlarea h5, .htmlarea h6, legend',
	css: [
		'.sIFR-root { font-size:18px; color:#8fc744; background-color:#ffffff; }',
		'a { text-decoration: none }',
		'a:link { color: #76a13b }',
		'a:hover { color: #76a13b; text-decoration:underline }'],
		wmode: 'transparent'
});


// SIDEBAR

sIFR.replace(myriadproboldcondensed, {
	selector: '#sidebar h3',
	css: [
		'.sIFR-root { font-size:25px; color:#595959; margin:0; padding:0; background-color:#f7f7f7; }'
	]
});

sIFR.replace(myriadpro, {
	selector: '#testimonial h4',
	css: [
		'.sIFR-root { font-size:18px; font-weight:normal; color:#7f7f7f; margin:0; padding:0; background-color:#f2f2f2; }'
	]
});

sIFR.replace(myriadpro, {
	selector: '#contactinfo h4',
	css: [
		'.sIFR-root { font-size:17px; font-weight:normal; color:#545454; margin:0; padding:0; background-color:#f2f2f2; }'
	]
});

sIFR.replace(myriadpro, {
	selector: '#secondary_sidebar h3',
	css: [
		'.sIFR-root { font-weight:normal; font-size:17px; color:#4c4c4c; }'
	]
});
