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

sIFR.activate(stag);


sIFR.replace(stag, {
  selector: '#left h1',
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
  css: [ '.sIFR-root {color:#14B300; }',
   		'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #14B300; }' ]
});

sIFR.replace(stag, {
  selector: '#content h1',
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],  
  css: [ 'a { text-decoration: none; }'
      	,'a:link { color: #000000; }'
      	,'a:hover { color: #14B300; }' ]
});

sIFR.replace(stag, {
  selector: '#left h2',
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],  
  css: [ '.sIFR-root {color:#666666 }',
   		'a { text-decoration: none; }'
      	,'a:link { color: #666666; }'
      	,'a:hover { color: #000000; }' ]
});

sIFR.replace(stag, {
  selector: '#sidebar h2',
  wmode: 'transparent',
  ratios: [9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],  
  offsetTop: 5,
  css: [ '.sIFR-root {color:#000000; text-transform:uppercase; }',
   		'a { text-decoration: none; }'
      	,'a:link { color: #666666; }'
      	,'a:hover { color: #000000; }' ]
});
