/*****************************************************************************
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 alternativeGothic = { src: 'http://www.flatcapmarketing.com/wp-content/themes/template/flash/alternative-gothic.swf' };

// Next, activate sIFR:
sIFR.activate(alternativeGothic);


sIFR.replace(alternativeGothic, {
  selector: '.menu li',
  wmode: 'transparent',
  ratios: [6, 1.08, 7, 1.07, 12, 0.99, 21, 0.96, 27, 0.93, 29, 0.91, 30, 0.92, 37, 0.9, 45, 0.91, 50, 0.9, 52, 0.89, 54, 0.9, 79, 0.89, 80, 0.88, 85, 0.89, 91, 0.88, 92, 0.89, 0.88],
  css: ['.sIFR-root { text-transform:uppercase; color: #FFFFFF; font-size:18px; }',
		'a { color: #FFFFFF; text-decoration: none; }',
		'a:hover { color: #FFFFFF; text-decoration: none;}']
});

sIFR.replace(alternativeGothic, {
  selector: 'h2',
  offsetTop:10,
  tuneHeight: 4,
  ratios: [6, 1.08, 7, 1.07, 12, 0.99, 21, 0.96, 27, 0.93, 29, 0.91, 30, 0.92, 37, 0.9, 45, 0.91, 50, 0.9, 52, 0.89, 54, 0.9, 79, 0.89, 80, 0.88, 85, 0.89, 91, 0.88, 92, 0.89, 0.88],  
  wmode: 'transparent',
  css: ['.sIFR-root { text-transform:uppercase; color: #FFFFFF; font-size:24px; line-height:40px; }',
  		'em {color:#eb7ab4; font-size:24px; line-height:40px;text-transform:uppercase; font-style:normal;}',
		'a { color: #FFFFFF; text-decoration: none; }',
		'a:hover { color: #FFFFFF; text-decoration: none;}']
});


sIFR.replace(alternativeGothic, {
  selector: 'h3.view-all',
  offsetTop:10,
  tuneHeight: 4,
  ratios: [6, 1.08, 7, 1.07, 12, 0.99, 21, 0.96, 27, 0.93, 29, 0.91, 30, 0.92, 37, 0.9, 45, 0.91, 50, 0.9, 52, 0.89, 54, 0.9, 79, 0.89, 80, 0.88, 85, 0.89, 91, 0.88, 92, 0.89, 0.88],  
  wmode: 'transparent',
  css: ['.sIFR-root { text-transform:uppercase; color: #eb7ab4; font-size:18px; text-align:right; line-height:40px; }',
		'a { color: #eb7ab4; text-decoration: none; }',
		'a:hover { color: #eb7ab4; text-decoration: none;}']
});


sIFR.replace(alternativeGothic, {
  selector: 'h1',
  offsetTop:10,  
  fitExactly: true,
  forceSingleLine: true,  
  wmode: 'transparent',
  ratios: [6, 1.08, 7, 1.07, 12, 0.99, 21, 0.96, 27, 0.93, 29, 0.91, 30, 0.92, 37, 0.9, 45, 0.91, 50, 0.9, 52, 0.89, 54, 0.9, 79, 0.89, 80, 0.88, 85, 0.89, 91, 0.88, 92, 0.89, 0.88],  
  css: ['.sIFR-root { text-transform:uppercase; display:inline; color: #eb7ab4; font-size:36px; line-height:46px;}',
		'a { color: #eb7ab4; text-decoration: none; }',
		'a:hover { color: #eb7ab4; text-decoration: none;}']
});