/*****************************************************************************
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 archer = {
  src: '/css/Archer-SembdItal-Pro.swf'
};
var verlag = {
  src: '/css/Verlag-Black.swf'
};

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(archer, verlag);

// archer single line
sIFR.replace(archer, {
	wmode: 'transparent', 
	selector: '.section-description',
	preventWrap: true,
	css: '.sIFR-root { color:#868a8b; }',
	forceWidth: true,
	fitExactly: true
});
// archer wrapping instances
sIFR.replace(archer, {
	wmode: 'transparent', 
	selector: '#twitter ul li,.archer,.archer-copy',
	css: ['.sIFR-root { color:#373f41; leading:10; }','a { color:#475052;text-decoration:none; }','a:hover { color:#70464b; }'],
	tuneHeight: '-3'
});
// archer red italic
sIFR.replace(archer, {
	wmode: 'transparent', 
	selector: '.entry-content ol li em',
	preventWrap: true,
	css: '.sIFR-root { color:#70464b; }',
	forceWidth: true,
	fitExactly: true
});

// verlag standard grey, single line
sIFR.replace(verlag, {
	wmode: 'transparent', 
	selector: '#main #hero-message h2,.section-title,#search-results h2,#contact-info h2,#address-info h2,#account-details h2,.customer-address-index .double-col h2,#blog-sidebar h3,.entry-content h3,#final-word #outtakes h3,h1.page-title,.verlag',
	css: '.sIFR-root { color:#475052;text-transform:uppercase; }'
});
// verlag darker grey
sIFR.replace(verlag, {
	wmode: 'transparent', 
	selector: '#product-details h1,.search #header h1,.account #header h1',
	preventWrap: true,
	css: '.sIFR-root { color:#383F41;text-transform:uppercase; }',
	forceWidth: true,
	fitExactly: true
});
// verlag with links
sIFR.replace(verlag, {
	wmode: 'transparent', 
	selector: '#sidebar h3,.entry-title,#comments h3,#replies h3,#overview-message h3,.product-name,ul#related-items li h3,ul#search-items li h3,.product-overview h2',
	forceWidth: true,
	css: ['.sIFR-root { color:#475052;text-transform:uppercase; }','a { color:#475052;text-decoration:none; }','a:hover { color:#801519; }'],
	tuneHeight: '-5'
});
// verlag for features
sIFR.replace(verlag, {
	wmode: 'transparent', 
	selector: '.text-label',
	forceWidth: true,
	css: ['.sIFR-root { color:#383F41;text-transform:uppercase; }','a { color:#801519;text-decoration:none; }','a:hover { color:#801519; }','.label-red { color:#801519; }','.label-grey { color:#383F41; }']
});
// verlag links with callback
// sIFR.replace(verlag, {
// 	wmode: 'transparent', 
// 	selector: '#filter h2.replaced',
// 	forceWidth: true,
// 	css: ['.sIFR-root { color:#475052;text-transform:uppercase; }','a { color:#475052;text-decoration:none; }','a:hover { color:#801519; }'],
// 	tuneHeight: '-5',
// 	onRelease: function(fi) { fi.getAncestor().up('li').activate(); }
// });