var myriad = { src: '/html/flash/myriad.swf' };
var myriad_light = { src: '/html/flash/myriad_light.swf' };

sIFR.activate(myriad, myriad_light);
sIFR.repaintOnResize = false;

sIFR.replace(myriad_light, {
  selector: '.sr-notice_board h1',
  wmode:'transparent',
  css: ['.sIFR-root { color: #85C37E;}',
		'.sIFR-root a { color: #85C37E; text-decoration: none; font-size: 40px;}',
		'.sIFR-root a:hover { color: #85C37E; text-decoration: none; }',
		'.sIFR-root a:visited { color: #cccccc; text-decoration: none; }']
});

sIFR.replace(myriad_light, {
  selector: '.sr-notice.dark .sr-notice-top h1',
  wmode:'transparent',
  css: ['.sIFR-root { color: #85C37E;}',
		'.sIFR-root a { color: #85C37E; text-decoration: none; display: block;}',
		'.sIFR-root a:hover { color: #808080; text-decoration: none; cursor:pointer;}',
		'.sIFR-root a:visited { color: #85C37E; text-decoration: none; }',		
		'.sIFR-root .active_contact { color: #808080;}']
});

sIFR.replace(myriad_light, {
  selector: '.sr-notice.light .sr-notice-top h1',
  wmode:'transparent',
  css: ['.sIFR-root { color: #85C37E;}',
		'.sIFR-root a { color: #85C37E; text-decoration: none; display: block;}',
		'.sIFR-root a:hover { color: #808080; text-decoration: none; cursor:pointer;}',
		'.sIFR-root a:visited { color: #85C37E; text-decoration: none; }',		
		'.sIFR-root .active_contact { color: #808080;}']
});

sIFR.replace(myriad_light, {
  selector: '.sr-notice-top h1',
  wmode:'transparent',
  css: ['.sIFR-root { color: #ffffff; }']
});


 

sIFR.replace(myriad_light, {
  selector: 'span.news',
  wmode:'transparent',
  css: ['.sIFR-root { color: #000000; }',
		'.sIFR-root a { color: #000000; text-decoration: none; display: block;}',
		'.sIFR-root a:hover { color: #000000; text-decoration: none; }',
		'.sIFR-root a:visited { color: #000000; text-decoration: none; }',	
		'.sIFR-root .news_items { color: #000000; background-color: #cccccc;}']
});

sIFR.replace(myriad_light, {
  selector: '.news .sr-block-copy h1',
  wmode:'transparent',
  css: ['.sIFR-root {color:#85C37E;}',
	    '.sIFR-root a { color: #85C37E; text-decoration: none; display: block;}',
		'.sIFR-root a:hover { color: #808080; text-decoration: none; }',
		'.sIFR-root a:visited { color: #85C37E; text-decoration: none; }',	
		'.sIFR-root .news_items { color: #85C37E; background-color: #cccccc;}']
});

sIFR.replace(myriad_light, {
  selector: '.news h2.h_news',
  wmode:'transparent',
  css: ['.sIFR-root { color: #85C37E; }']
});

sIFR.replace(myriad_light, {
  selector: '.work .sr-block-copy h1',
  wmode:'transparent',
  css: ['.sIFR-root {color:#3A6F88;}',
	    '.sIFR-root a { color: #3A6F88; text-decoration: none; display: block;}',
		'.sIFR-root a:hover { color: #808080; text-decoration: none; }',
		'.sIFR-root a:visited { color: #3A6F88; text-decoration: none; }',	
		'.sIFR-root .news_items { color: #3A6F88; background-color: #cccccc;}']
});

sIFR.replace(myriad_light, {
  selector: '.work h2.h_news',
  wmode:'transparent',
  css: ['.sIFR-root { color: #3A6F88; }']
});

sIFR.replace(myriad_light, {
  selector: '.people .sr-block-copy h1',
  wmode:'transparent',
  css: ['.sIFR-root {color:#800053;}']
});

sIFR.replace(myriad_light, {
  selector: '.people h2.h_news',
  wmode:'transparent',
  css: ['.sIFR-root { color: #800053; }']
});

sIFR.replace(myriad_light, {
  selector: '.about .sr-block-copy h1',
  wmode:'transparent',
  css: ['.sIFR-root {color:#77A793;}']
});

sIFR.replace(myriad_light, {
  selector: '.about h2.h_news',
  wmode:'transparent',
  css: ['.sIFR-root { color: #77A793; }']
});