/*****************************************************************************
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 GothamRoundedBook = { src: 'gothamroundedbook.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;

//sIFR.activate(GothamRoundedBook, Font2, Font3 etc.);
sIFR.activate(GothamRoundedBook);



sIFR.replace(GothamRoundedBook, {
  selector: 'h1',
  wmode: 'transparent', 
  css: '.sIFR-root { color: #9a1d73; font-size:16px; }'
});

sIFR.replace(GothamRoundedBook, {
  selector: 'h2',
  wmode: 'transparent', 
  css: '.sIFR-root { color: #897e77; font-size:12px; }'
});

sIFR.replace(GothamRoundedBook, {
  selector: '.topnav_item',
  offsetTop: 2,
  preventWrap: true,
  wmode: 'transparent', 
  css: ['.sIFR-root { color: #948177; font-size:10px; cursor:pointer;}', 'a {text-decoration:none; color:#948177}', 'a:hover {text-decoration:none; color:#948177}']
});

sIFR.replace(GothamRoundedBook, {
  selector: '.subnav_item',
  offsetTop: 2,
  preventWrap: true,
  wmode: 'transparent', 
  onRollOver: function(fi) { highlightSub(fi.getAncestor()); },
  onRollOut: function(fi) { dehighlightSub(fi.getAncestor()); },
  css: ['.sIFR-root { color: #e2007a; font-size:13px; cursor:pointer;}', 'a {text-decoration:none; color:#e2007a}', 'a:hover {text-decoration:none; color:#afa199}']
});

sIFR.replace(GothamRoundedBook, {
  selector: '.subnav_item_active',
  offsetTop: 2,
  wmode: 'transparent', 
  preventWrap: true,
  css: ['.sIFR-root { color: #afa199; font-size:13px;}']
});

sIFR.replace(GothamRoundedBook, {
  selector: '.subnav_item_news',
  offsetTop: 2,
  wmode: 'transparent', 
  onRollOver: function(fi) { highlightSub(fi.getAncestor()); },
  onRollOut: function(fi) { dehighlightSub(fi.getAncestor()); },
  css: ['.sIFR-root { color: #e2007a; font-size:13px; cursor:pointer;}', 'a {text-decoration:none; color:#e2007a}', 'a:hover {text-decoration:none; color:#afa199}']
});


sIFR.replace(GothamRoundedBook, {
  selector: '.subnav_item_brands',
  offsetTop: 2,
  wmode: 'transparent', 
  css: ['.sIFR-root { color: #e2007a; font-size:13px; cursor:pointer;}', 'a {text-decoration:none; color:#e2007a}', 'a:hover {text-decoration:none; color:#afa199}']
});

sIFR.replace(GothamRoundedBook, {
  selector: '.subnav_item_brands_active',
  offsetTop: 2,
  wmode: 'transparent', 
  css: ['.sIFR-root { color: #afa199; font-size:13px;}', 'a {text-decoration:none; color:#afa199}', 'a:hover {text-decoration:none; color:#afa199}']
});


sIFR.replace(GothamRoundedBook, {
  selector: '.subsubnav_item_brands',
  offsetTop: 2,
  wmode: 'transparent', 
  css: ['.sIFR-root { color: #e2007a; font-size:11px; cursor:pointer;}', 'a {text-decoration:none; color:#e2007a}', 'a:hover {text-decoration:none; color:#afa199}']
});

sIFR.replace(GothamRoundedBook, {
  selector: '.subsubnav_item_brands_active',
  offsetTop: 2,
  wmode: 'transparent', 
  css: ['.sIFR-root { color: #afa199; font-size:11px;}', 'a {text-decoration:none; color:#afa199}', 'a:hover {text-decoration:none; color:#afa199}']
});
