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

var museoslab_300 = { src: 'themes/beardwood/fonts/museoslab_300.swf' };
var museoslab_500 = { src: 'themes/beardwood/fonts/museoslab_500.swf' };
var museoslab_700 = { src: 'themes/beardwood/fonts/museoslab_700.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:
// Remember, there must be *only one* `sIFR.activate()`!
sIFR.activate(museoslab_300, museoslab_500, museoslab_700);


// --------------------------------------------------------------------------------
// COMMON PAGE STYLES
// --------------------------------------------------------------------------------

sIFR.replace(museoslab_300, {
   selector: '.greyContentTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_300, {
   selector: '.redContentTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #E31937; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});


// --------------------------------------------------------------------------------
// WORK (ALL & FEATURED) PAGE STYLES
// --------------------------------------------------------------------------------

// 
sIFR.replace(museoslab_300, {
   selector: '.clientContent .clientImg30, .productContent .productImg30, .productContent .clientImg30',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { padding: 0; margin: 0; }',
		  'a { background-color: #FFFFFF; color: #898989; text-decoration: none; }',
	  'a:hover { background-color: #E1E1E1; color: #E31937; }'
   ],
   wmode: 'transparent',
   tuneHeight: -12,
   offsetTop: -5
});
sIFR.replace(museoslab_300, {
   selector: '.clientContent .clientImg24, .productContent .productImg24, .clientContent .clientImg20, .productContent .productImg20, .clientContent .clientImg16, .productContent .productImg16',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { padding: 0; margin: 0; }',
		  'a { background-color: #FFFFFF; color: #898989; text-decoration: none; }',
	  'a:hover { background-color: #E1E1E1; color: #E31937; }'
   ],
   wmode: 'transparent'
});
sIFR.replace(museoslab_300, {
   selector: '.productContent .clientImg24, .productContent .clientImg20, .productContent .clientImg16',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { padding: 0; margin: 0; }',
		  'a { background-color: #FFFFFF; color: #898989; text-decoration: none; }',
	  'a:hover { background-color: #E1E1E1; color: #898989; }',
   ],
   wmode: 'transparent'
});


// --------------------------------------------------------------------------------
// CLIENT LIST PAGE STYLES
// --------------------------------------------------------------------------------

// Intro text
sIFR.replace(museoslab_500, {
   selector: '#ClientListContent h3',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 16px; padding: 0; margin: 0; }',
   wmode: 'transparent'
});

// Client name
sIFR.replace(museoslab_300, {
   selector: '#ClientListContent .clientName',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #898989; font-size: 12px; padding: 0; margin: 0; }',
   wmode: 'transparent'
});

// Join Us text
sIFR.replace(museoslab_500, { 
   selector: '#ClientListContent #JoinUs',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #E31937; font-size: 12px; padding: 0; margin: 0; text-align: right; }',
   wmode: 'transparent'
});

// View link
sIFR.replace(museoslab_300, { 
   selector: '#ClientListContent #ViewTheWork',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; }',
		  ' a { color: #E31937; font-size: 12px; text-decoration: none; padding: 0; margin: 0; cursor: pointer; }',
		  ' a:hover { color: #676767; }'
   ],
   wmode: 'transparent'
});


// --------------------------------------------------------------------------------
// ABOUT PAGE STYLES
// --------------------------------------------------------------------------------

// Section links
sIFR.replace(museoslab_300, {
   selector: '.sectionLink',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; }',
		  'a { color: #E31937; font-size: 13px; text-decoration: none; }',
	  'a:hover { color: #676767; }'
   ],
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_300, {
   selector: '#StoryContent h3, .staffMemberName',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 16px; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_300, {
   selector: '.tidbit',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #898989; font-size: 18px; padding: 0; margin: 0; text-align: center; }',
   wmode: 'transparent'
});
sIFR.replace(museoslab_500, {
   selector: '.capCategoryTitle, .gmapTextTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 16px; padding: 0; margin: 0; }',
   wmode: 'transparent'
});
sIFR.replace(museoslab_500, {
   selector: '#ValuesTagline p, #VisitText p',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 16px; padding: 0; margin: 0; }',
   wmode: 'transparent',
   tuneHeight: -8,
   offsetTop: -3
});
sIFR.replace(museoslab_500, {
   selector: '#GettingTo',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 16px; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_500, {
   selector: '.localContact',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; color: #E31937; font-size: 18px; padding: 0; margin: 0; }',
		  ' a { color: #E31937; font-size: 18px; text-decoration: none; cursor: pointer; }',
		  ' a:hover { color: #676767; }'
   ],
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_500, {
   selector: '.pressTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #E31937; font-size: 18px; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});
sIFR.replace(museoslab_500, {
   selector: '.pdfTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; padding: 0; margin: 0; }',
   wmode: 'transparent'
});
sIFR.replace(museoslab_700, {
   selector: '.secretDreamJob',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; font-size: 18px; padding: 0; margin: 0; text-align: center; }',
   wmode: 'transparent'
});
sIFR.replace(museoslab_700, {
   selector: '.valueName',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; color: #676767; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true,
   onReplacement: function() {
		scrollToSection();
   }
});
// NOTE: Please make sure in the About page that the last call to sIFR.replace has the onReplacement function.
// This will ensure that the sifr elements load before scrolling to the selected section of the page.
// Otherwise, the page tends to jump around until the scrolling stops.


// --------------------------------------------------------------------------------
// BLOG PAGE STYLES
// --------------------------------------------------------------------------------

sIFR.replace(museoslab_700, {
   selector: 'h2.postTitle',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; color: #E31937; font-size: 16px; }',
		  ' a { color: #E31937; font-size: 16px; text-decoration: none; padding: 0; margin: 0; cursor: pointer; }',
		  ' a:hover { color: #676767; }'
   ],
   wmode: 'transparent'
});
sIFR.replace(museoslab_500, {
   selector: '.subscribeRSSLink',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; }',
		  ' a { color: #898989; font-size: 10px; text-decoration: none; padding: 0; margin: 0; cursor: pointer; }',
		  ' a:hover { color: #E31937; }'
   ],
   wmode: 'transparent',
   forceSingleLine: true,
   offsetTop: 3
});
sIFR.replace(museoslab_300, {
   selector: '.rcolBlogLink',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: [ '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; }',
		  ' a { color: #E31937; font-size: 12px; text-decoration: none; padding: 0; margin: 0; cursor: pointer; }',
		  ' a:hover { color: #676767; }'
   ],
   wmode: 'transparent',
   forceSingleLine: true,
   tuneHeight: -5
});
sIFR.replace(museoslab_500, {
   selector: '#PageComments_holder h4',
   ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 1.21],
   css: '.sIFR-root { background-color: #FFFFFF; padding: 0; margin: 0; color: #E31937; font-size: 11px; padding: 0; margin: 0; }',
   wmode: 'transparent',
   forceSingleLine: true
});
