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

// 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;

// If you want, you can use multiple movies, like so:
//
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//    
//    sIFR.activate(futura, garamond, rockwell);
//
// Remember, there must be *only one* `sIFR.activate()`!
// Next, activate sIFR:

var book            = { src: 'http://www.globecruiser.net/options/flash/book_antiqua.swf' };
var bookman         = { src: 'http://www.globecruiser.net/options/flash/bookman_old_style.swf' };
var bodoni	    = { src: 'http://www.globecruiser.net/options/flash/bodoni_xt.swf' };
var berlinergrotesk = { src: 'http://www.globecruiser.net/options/flash/berlinergrotesklight.swf' };
var century         = { src: 'http://www.globecruiser.net/options/flash/century_gothic.swf' };
var cochin          = { src: 'http://www.globecruiser.net/options/flash/cochin.swf' };
var covington       = { src: 'http://www.globecruiser.net/options/flash/covington.swf' };
var desyrel         = { src: 'http://www.globecruiser.net/options/flash/desyrel.swf' };
var palatino        = { src: 'http://www.globecruiser.net/options/flash/palatino_linotype.swf' };
var trebuchet       = { src: 'http://www.globecruiser.net/options/flash/trebuchet_ms.swf' };
var slabtall        = { src: 'http://www.globecruiser.net/options/flash/slabtall.swf' };
var rockwell        = { src: 'http://www.globecruiser.net/options/flash/rockwell.swf' };

sIFR.activate(berlinergrotesk, desyrel);

sIFR.replace(berlinergrotesk, {
      selector: 'h2.title',
      css: [
      '.sIFR-root { font-size:30px; font-weight:normal; padding-top:0px; padding-bottom:0px; color:#990000; }',
      'strong { font-weight:normal; color:#990000; }'
      ],
      wmode: 'transparent'
});
 
sIFR.replace(berlinergrotesk, {
      selector: 'h3.headline',
      css: [
      '.sIFR-root { font-size:21px; font-weight:normal; padding-top:8px; padding-bottom:0px; color:#990000; }',
      ],
      wmode: 'transparent'
});
 
sIFR.replace(desyrel, {
      selector: 'h4.subtitle',
      css: [
      '.sIFR-root { font-size:18px; font-weight:normal; padding-top:0px; padding-bottom:0px; color:#990000; }',
      'strong { font-weight:bold; color:#990000; }'
      ],
      wmode: 'transparent'
});

sIFR.replace(berlinergrotesk, {
      selector: 'h5.tagtitle',
      css: [
      '.sIFR-root { font-size:21px; font-weight:normal; padding-top:4px; padding-bottom:1px; color:#990000; }',
      ,'a { text-decoration: none; color:#990000; }'
      ,'a:link { text-decoration: none; color:#990000; }'
      ,'a:hover { color: #CC9999; }'
      ],
      wmode: 'transparent'
});
 

