/*****************************************************************************
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.
*****************************************************************************/

parseSelector.pseudoClasses = {
  'not': function(nodes, selector) {
    var result = [];
    each: for(var i = 0, node; i < nodes.length; i++) {
      node = nodes[i];
      var ignore = parseSelector(selector, node.parentNode);
      for(var j = 0; j < ignore.length; j++) {
        if(ignore[j] == node) continue each;
      }
      result.push(node);
    }
    return result;
  }
}

var ArcherProBold = { src: '/flash/sifr/ArcherProBold.swf' };

sIFR.activate(ArcherProBold);

sIFR.replace(ArcherProBold, {
//	selector: 'div.highlightBox strong',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; cursor: pointer; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'div.introText p',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; }',
		' a { color: #01667A; text-decoration: none; }',
		' a:hover { color: #01667A; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'div.quoteBox h6',
	fitExactly: true,
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #10496c; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: '.side-pnl blockquote',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #01667A; }',
		'cite { color: #262D26; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'form.signup h6',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #000000; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.awards div.introText h4',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; }',
		' a { color: #E45A08; text-decoration: none; }',
		' a:hover { color: #fff; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.fund div.introText h4',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #ffffff; }',
//		' a { color: #0b4a22; text-decoration: none; }',
//		' a:hover { color: #fff; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.fellowships div.introText h4',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #ffffff; }',
//		' a { color: #471b5c; text-decoration: none; }',
//		' a:hover { color: #fff; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.activities div.introText h4',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #ffffff; }',
//		' a { color: #10496c; text-decoration: none; }',
//		' a:hover { color: #fff; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.homepage div.introText h4',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #3A4A4F; }',
//		' a { color: #01667A; text-decoration: none; }',
		' a:hover { color: #3A4A4F; text-decoration: none; }'
	]
});



sIFR.replace(ArcherProBold, {
//	selector: 'body.awards h1, body.awards h2, body.awards h3, body.awards h4, body.awards h5, body.awards h6',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #e45a08; }',
//		' a { color: #1f8fc4; text-decoration: underline; }',
//		' a:hover { color: #1f8fc4; text-decoration: none; }'
	]
});


sIFR.replace(ArcherProBold, {
//	selector: 'body.fund h1, body.fund h2, body.fund h3, body.fund h4, body.fund h5, body.fund h6',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #0b4a22; }',
		' a { color: #1f8fc4; text-decoration: underline; }',
		' a:hover { color: #1f8fc4; text-decoration: none; }'	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.fellowships h1, body.fellowships h2, body.fellowships h3, body.fellowships h4, body.fellowships h5, body.fellowships h6',
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #471b5c; }',
//		' a { color: #1f8fc4; text-decoration: underline; }',
//		' a:hover { color: #1f8fc4; text-decoration: none; }'	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.activities h1, body.activities h2, body.activities h3, body.activities h4, body.activities h5, body.activities h6',
	fitExactly: true,
	wmode: 'transparent',
	css: [
//		'.sIFR-root { color: #10496c; }',
//		' a { color: #1f8fc4; text-decoration: underline; }',
//		' a:hover { color: #1f8fc4; text-decoration: none; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'body.trust1 h1, body.trust1 h2, body.trust1 h3, body.trust1 h4, body.trust1 h5, body.trust1 h6',
	fitExactly: true,
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #10496c; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'div.newsFeed h4.newsFeed',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #10496c; leading: -5; }',
		' a { color: #10496c; text-decoration: none; }',
		' a:hover { color: #10496c; text-decoration: underline; }'
	]
});



// sIFR.replace(ArcherProBold, {
// 	selector: 'div.newsFeed h5.Awards',
// 	wmode: 'transparent',
// 	css: [
// 		'.sIFR-root { color: #e45a08; leading: -5; }',
// 		' a { color: #e45a08; text-decoration: none; }',
// 		' a:hover { color: #e45a08; text-decoration: underline; }'
// 	]
// });
// 
// sIFR.replace(ArcherProBold, {
// 	selector: 'div.newsFeed h5.Fund',
// 	wmode: 'transparent',
// 	css: [
// 		'.sIFR-root { color: #0b4a22; leading: -5; }',
// 		' a { color: #0b4a22; text-decoration: none; }',
// 		' a:hover { color: #0b4a22; text-decoration: underline; }'
// 	]
// });
// 
// sIFR.replace(ArcherProBold, {
// 	selector: 'div.newsFeed h5.Fellowships',
// 	wmode: 'transparent',
// 	css: [
// 		'.sIFR-root { color: #471b5c; leading: -5; }',
// 		' a { color: #471b5c; text-decoration: none; }',
// 		' a:hover { color: #471b5c; text-decoration: underline; }'
// 	]
// });
// 
// sIFR.replace(ArcherProBold, {
// 	selector: 'div.newsFeed h5.Activities, div.newsFeed h5.Trust',
// 	wmode: 'transparent',
// 	css: [
// 		'.sIFR-root { color: #10496c; leading: -5; }',
// 		' a { color: #10496c; text-decoration: none; }',
// 		' a:hover { color: #10496c; text-decoration: underline; }'
// 	]
// });



sIFR.replace(ArcherProBold, {
//	selector: '.navigation ul li.awards span',
	wmode: 'transparent',
	forceSingleLine: true,
	css: [
		'.sIFR-root { text-align:right; }',
		'a { text-decoration: none; color: #e45a08;}',
		'a:link { color: #e45a08; }',
		'a:hover { color: #e97b39; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: '.navigation ul li.fund span',
	wmode: 'transparent',
	forceSingleLine: true,
	css: [
		'.sIFR-root { text-align:right; }',
		'a { text-decoration: none; color: #003E1D; }',
		'a:link { color: #0b4a22; }',
		'a:hover { color: #458d61; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: '.navigation ul li.fellowships span',
	wmode: 'transparent',
	forceSingleLine: true,
	css: [
		'.sIFR-root { text-align:right; }',
		'a { text-decoration: none; color: #471b5c; }',
		'a:link { color: #471b5c; }',
		'a:hover { color: #856d9e; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: '.navigation ul li.activities span',
	wmode: 'transparent',
	forceSingleLine: true,
	css: [
		'.sIFR-root { text-align:right; }',
		'a { text-decoration: none;  color: #10496c;}',
		'a:link { color: #10496c; }',
		'a:hover { color: #58808c; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: '.footer ul li',
	wmode: 'transparent',
	forceSingleLine: true,
	css: [
		'.sIFR-root {}',
		'a { text-decoration: none; }',
		'a:link { color: #006699; }',
		'a:hover { color: #006699; text-decoration: underline; }'
	]
});

sIFR.replace(ArcherProBold, {
//	selector: 'div.button span',
	wmode: 'transparent',
	fitExactly: true,
	forceWidth: true,
	css: [
		'.sIFR-root {}',
//		'a { text-decoration: none; leading: -8; color: #ffffff;}',
//		'a:link { color: #ffffff; }',
//		'a:hover { color: #cccccc; }'
	]
});


