var myriad = {
  src: '/sifr3/myriad.swf'
};

sIFR.activate(myriad);

/*
- leading: similar to line-height in CSS
- Don't type "px" after the values for leading & letter-spacing!!
- Have to include bold/italic fonts in Flash file otherwise bold/italic won't show up.
*/

sIFR.replace(myriad, {
selector: '#banner h1',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29;	font-size: 32px; line-height: 32px; font-weight: bold; letter-spacing: 0.6; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
  ,'.red { color:#ffffff; padding: 0px 2px; }'

]
});
sIFR.replace(myriad, {
selector: '#clientfolio h1',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #151825;	font-size: 25px; line-height: 28px; font-weight: bold; letter-spacing: -1.6; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
]
});
sIFR.replace(myriad, {
selector: '#contentpic h1',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #ffffff; background: url(../../images/h1redbg.png) top left repeat-x; text-align: center; font-size: 32px; font-weight: bold; letter-spacing: 0.6; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
]
});
sIFR.replace(myriad, {
selector: '#contentpic h2',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29;	font-size: 20px; line-height: 20px; font-weight: bold; text-align: center; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
]
});

sIFR.replace(myriad, {
selector: '.categorycontent h1',
wmode: 'transparent'
,css: [
  '.sIFR-root {  color: #191c29;	font-size: 26px; line-height: 28px; font-weight: bold; letter-spacing: 0.6;}'
]
});
sIFR.replace(myriad, {
selector: '.categorycontent h2',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29;	font-size: 20px; line-height: 20px; font-weight: bold; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
]
});


sIFR.replace(myriad, {
selector: '#banner .red'
,css: [
  '.sIFR-root { color:#ffffff;	padding: 0px 2px; }'
  ,'a { font-style: italic; text-decoration: none; }'
  ,'a:link { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:active { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:visited { color: #3a4467; font-style: italic; text-decoration: none; }'
  ,'a:hover { color: #5a5899; font-style: italic; text-decoration: none; }'
  ,'em { font-style: italic; }'

]
});

sIFR.replace(myriad, {
selector: '#banner p'
,wmode: 'transparent'
,css: [
  '.sIFR-root { color: #ffffff; font-size: 14px; line-height: 20px; }'
]
});


sIFR.replace(myriad, {
selector: '#banner h2'
,wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29; font-size: 16px; line-height: 30px; margin:0; padding: 0px 0px 5px 0px; font-weight: bold; letter-spacing: 0.4;}'
]
});

sIFR.replace(myriad, {
selector: '#leftmenu h2'
,wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29; font-size: 16px; margin:0; padding: 0; font-weight: bold; letter-spacing: 3.8; text-align: center;}'
]
});

sIFR.replace(myriad, {
selector: '#rightcontent h1',
wmode: 'transparent'
,css: [
  '.sIFR-root { color: #191c29;	font-size: 24px; line-height: 28px; font-weight: bold; letter-spacing: 0.6; }'
]
});
