/*****************************************************************************
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.
*****************************************************************************/

// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var eraser = { src: 'eraserDust.swf' };
var sego = { src: 'sego.swf' };
var brody = { src: 'brody.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(eraser);
sIFR.activate(sego);
sIFR.activate(brody);

function include(file) { // used to append the sifr-config values to the head. sifr definitions are now in sifr-config-contents.js
	var script = document.createElement('script');
	script.src = file;
	script.type = 'text/javascript';
	script.defer = true;
	
	document.getElementsByTagName('head').item(0).appendChild(script);
}


function replaceFONTS() {
	
sIFR.replace(eraser, {
  selector: 'h1',
  css: [
	'.sIFR-root { color: #004f76; font-size: 14px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20 
});

sIFR.replace(eraser, {
  selector: '.greenTitle',
  css: [
	'.sIFR-root { color: #9b902d; font-size: 48px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #9b902d; line-height: 1em; }'
    ,'a:link { color: #9b902d; }'
    ,'a:hover { color: #cabc3c; }'
	,'a:visited { text-decoration:none; color:#9b902d; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true 
});

sIFR.replace(eraser, {
  selector: '.orangeTitle',
  css: [
	'.sIFR-root { color: #963e19; font-size: 48px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true 
});


sIFR.replace(eraser, {
  selector: '.yellowHeading',
  css: [
	'.sIFR-root { color: #ffc000; font-size: 36px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false,  forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.orangeMedium',
  css: [
	'.sIFR-root { color: #963e19; font-size: 26px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false,  forceWidth: true, fitExactly: true, forceSingleLine: true 
});

sIFR.replace(eraser, {
  selector: '.greenMedium',
  css: [
	'.sIFR-root { color: #9b902d; font-size: 26px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false,  forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.yellowMedium',
  css: [
	'.sIFR-root { color: #ffc000; font-size: 26px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false
});

sIFR.replace(eraser, {
  selector: '.orangeSmall',
  css: [
	'.sIFR-root { color: #963e19; font-size: 18px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #004f76; line-height: 1em; }'
    ,'a:link { color: #004f76; }'
    ,'a:hover { color: #004f76; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#004f76; font-style: normal; font-size:18px; }'	  	  
	],	
	wmode: 'transparent', selectable: false,  forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.yellowSmall',
  css: [
	'.sIFR-root { color: #ffc000; font-size: 18px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #bc5c29; line-height: 1em; }'
    ,'a:link { color: #bc5c29; }'
    ,'a:hover { color: #bc5c29; text-decoration:underline; }'
	,'a:visited { text-decoration:none; color:#FFFFFF; }'	  
	,'em { color:#bc5c29; font-style: normal; font-size:18px; }'	  	  
	],	
	wmode: 'transparent', selectable: false,  forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.greenSmall',
  css: [
	'.sIFR-root { color: #9b902d; font-size: 18px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #9b902d; line-height: 1em; }'
    ,'a:link { color: #9b902d; }'
    ,'a:hover { color: #cabc3c; }'
	,'a:visited { text-decoration:none; color:#9b902d; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.whiteMedium',
  css: [
	'.sIFR-root { color: #ffffff; font-size: 26px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #9b902d; line-height: 1em; }'
    ,'a:link { color: #9b902d; }'
    ,'a:hover { color: #cabc3c; }'
	,'a:visited { text-decoration:none; color:#9b902d; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true
});

sIFR.replace(eraser, {
  selector: '.whiteSmall',
  css: [
	'.sIFR-root { color: #ffffff; font-size: 18px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #9b902d; line-height: 1em; }'
    ,'a:link { color: #9b902d; }'
    ,'a:hover { color: #cabc3c; }'
	,'a:visited { text-decoration:none; color:#9b902d; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true
});


sIFR.replace(eraser, {
  selector: '.secondaryMenu',
  css: [
	'.sIFR-root { color: #d46529; font-size: 28px; letter-spacing: 0; text-align: center; }',		
    ,'a { text-decoration: none; color: #d46529; leading: -6; }'
    ,'a:link { color: #d46529; }'
    ,'a:hover { color: #843d1e; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d46529; }'	  
	,'em { color:#d8aa37; font-style: normal; font-size:22px; }'	  	  
	],	
	wmode: 'transparent', selectable: false
});

sIFR.replace(eraser, {
  selector: '.secondaryMenuSmall',
  css: [
	'.sIFR-root { color: #d46529; font-size: 18px; letter-spacing: 0; text-align: center; }',		
    ,'a { text-decoration: none; color: #d46529; leading: -12; }'
    ,'a:link { color: #d46529; }'
    ,'a:hover { color: #843d1e; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d46529; }'	  
	,'em { color:#d8aa37; font-style: normal; font-size:22px; }'	  	  
	],	
	wmode: 'transparent', selectable: false
});


sIFR.replace(eraser, {
  selector: '.tertiaryMenu',
  css: [
	'.sIFR-root { color: #d8aa37; font-size: 18px; letter-spacing: 0; text-align: center;  }',		
    ,'a { text-decoration: none; color: #d8aa37; leading: -4; }'
    ,'a:link { color: #d8aa37; }'
    ,'a:hover { color: #ffcc4b; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d8aa37; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false
});


sIFR.replace(eraser, {
  selector: '.blogTitle',
  css: [
	'.sIFR-root { color: #d46529; font-size: 28px; letter-spacing: 0; text-align: left; }',		
    ,'a { text-decoration: none; color: #d46529; leading: 0; }'
    ,'a:link { color: #d46529; }'
    ,'a:hover { color: #843d1e; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d46529; }'	  
	,'em { color:#d8aa37; font-style: normal; font-size:22px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: false
});


sIFR.replace(eraser, {
  selector: '.blogSubTitle',
  css: [
	'.sIFR-root { color: #d8aa37; font-size: 18px; letter-spacing: 0; text-align: left;  }',		
    ,'a { text-decoration: none; color: #d8aa37; leading: 0; }'
    ,'a:link { color: #d8aa37; }'
    ,'a:hover { color: #ffcc4b; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d8aa37; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});


sIFR.replace(eraser, {
  selector: '.blogSidebar',
  css: [
	'.sIFR-root { color: #d8aa37; font-size: 14px; letter-spacing: 0; text-align: left;  }',		
    ,'a { text-decoration: none; color: #d8aa37; leading: 0; }'
    ,'a:link { color: #d8aa37; }'
    ,'a:hover { color: #ffcc4b; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#d8aa37; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});


sIFR.replace(brody, {
  selector: '.greenText',
  css: [
	'.sIFR-root { color: #9b902d; font-size: 23px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #9b902d; line-height: 1em; }'
    ,'a:link { color: #9b902d; }'
    ,'a:hover { color: #9b902d; text-decoration:none; }'
	,'a:visited { text-decoration:none; color:#9b902d; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: true, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(brody, {
  selector: '.whiteText',
  css: [
	'.sIFR-root { color: #ffffff; font-size: 16px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #ffffff; line-height: 1em; }'
    ,'a:link { color: #ffffff; }'
    ,'a:hover { color: #9b902d; }'
	,'a:visited { text-decoration:none; color:#ffffff; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(sego, {
  selector: '.whiteTextThin',
  css: [
	'.sIFR-root { color: #ffffff; font-size: 12px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #ffffff; line-height: 1em; }'
    ,'a:link { color: #ffffff; }'
    ,'a:hover { color: #9b902d; }'
	,'a:visited { text-decoration:none; color:#ffffff; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(brody, {
  selector: '.orangeTextLarge',
  css: [
	'.sIFR-root { color: #d46529; font-size: 28px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #d46529; line-height: 1em; }'
    ,'a:link { color: #d46529; }'
    ,'a:hover { color: #d46529; }'
	,'a:visited { text-decoration:none; color:#d46529; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(brody, {
  selector: '.orangeLiteText',
  css: [
	'.sIFR-root { color: #ffa800; font-size: 20px; letter-spacing: 0; }',		
    ,'a { text-decoration: none; color: #ffffff; line-height: 1em; }'
    ,'a:link { color: #ffffff; }'
    ,'a:hover { color: #9b902d; }'
	,'a:visited { text-decoration:none; color:#ffffff; }'	  
	,'em { color:#004f76; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true, forceSingleLine: true
});

sIFR.replace(sego, {
  selector: '.whtBrodySmall',
  css: [
	'.sIFR-root { color: #ffffff; font-size: 12px; letter-spacing: 0; leading: -6; }',		
    ,'a { text-decoration: none; color: #ffa800; line-height: 1em; }'
    ,'a:link { color: #ffa800; }'
    ,'a:hover { color: #d46529; }'
	,'a:visited { text-decoration:none; color:#ffa800; }'	  
	,'em { color:#ffa800; font-style: normal; font-size:20px; }'	  	  
	],	
	wmode: 'transparent', selectable: false, tuneWidth: 20, forceWidth: true, fitExactly: true
});

Scroller.updateAll();

}
