//sIFR.autoInitialize = false;
/*****************************************************************************
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.
sIFR.prefetch = {src: 'assets/swf/eurostileltbold.swf'};
var eurostileltbold = { src: 'assets/swf/eurostileltbold.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;

// Next, activate sIFR:
sIFR.activate(eurostileltbold);

// 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()`!

// Now we can do the replacements. You can do as many as you like, but just
// as an example, we'll replace all `<h1>` elements with the Futura movie.
// 
// The first argument to `sIFR.replace` is the `futura` object we created earlier.
// The second argument is another object, on which you can specify a number of
// parameters or "keyword arguemnts". For the full list, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// 
// The first argument you see here is `selector`, which is a normal CSS selector.
// That means you can also do things like '#content h1' or 'h1.title'.
//
// The second argument determines what the Flash text looks like. The main text
// is styled via the `.sIFR-root` class. Here we've specified `background-color`
// of the entire Flash movie to be a light grey, and the `color` of the text to
// be red. Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.



sIFR.replace(eurostileltbold, {
  selector: '.home #home_edc h3 a',
  css: ['.sIFR-root { background-color: transparent; color: #A18AAE; font-size:20px; leading: -10px}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.home #home_tsl h3 a',
  css: ['.sIFR-root { background-color: transparent; color: #5A78A9; font-size:20px; leading: -10px}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.home #home_bs h3 a',
  css: ['.sIFR-root { background-color: transparent; color: #31718F; font-size:20px; leading: -10px}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.home #home_pc h3 a',
  css: ['.sIFR-root { background-color: transparent; color: #F09429; font-size:20px; leading: -10px}'],
  wmode: 'transparent'
});





sIFR.replace(eurostileltbold, {
  selector: '.range h2',
  css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; }',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.red h1, .home h1, .red .chassis h2, .red .pando h2',
  css: ['.sIFR-root { background-color: transparent; color: #e11b22; }',
		'span {font-size: 30px;}',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});



sIFR.replace(eurostileltbold, {
  selector: '.orange h1, .orange .chassis h2',
  css: ['.sIFR-root { background-color: transparent; color: #F09429; }',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.blue h1, .blue .chassis h2',
  css: ['.sIFR-root { background-color: transparent; color: #5A78A9; }',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.turquoise h1, .turquoise .chassis h2',
  css: ['.sIFR-root { background-color: transparent; color: #31718F; }',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.lilac h1, .lilac .chassis h2',
  css: ['.sIFR-root { background-color: transparent; color: #A18AAE; }',
		'em {color: #000000; font-style: normal;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: 'p.cashback',
  css: ['.sIFR-root { background-color: transparent; color: #000000; font-size:11px;  leading: -4}',
		'strong {color: #e11b22; font-size:16px; line-height:16px; }',
		'.tipp {color: #808284;  font-size:9px; }'],
  wmode: 'transparent'
});


sIFR.replace(eurostileltbold, {
  selector: 'p.tipp',
  css: ['.sIFR-root { background-color: transparent; color: #808284; text-transform:none; font-style:normal;}',
		'em {color: #000000; font-style:bold; }'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: 'p.nosale',
  css: ['.sIFR-root { background-color: transparent; color: #000000; font-size:18px; line-height:18px;}',
		'.tipp {color: #666666;  font-size:11px; line-height:11px;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.price_white',
  css: ['.sIFR-root { background-color: transparent; color: #FFFFFF; font-size: 24px; leading: -6}',
		'em {color: #FFFFFF; font-style:bold; font-size: 12px; }',
		'strong {color: #000000; font-style:bold; font-size: 12px; }'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.price_options',
  css: ['.sIFR-root { background-color: transparent; color: #e11b22; font-size: 18px; leading: -6}',
		'em {color: #808284; font-style:bold; font-size: 11px; }',
		'strong {color: #000000; font-style:bold; font-size: 11px; }'],
  wmode: 'transparent'
});

/*
sIFR.replace(eurostileltbold, {
  selector: '.price_home',
  css: ['.sIFR-root { background-color: transparent; color: #e11b22; font-size: 22px; leading: -14;}',
		'em {color: #808284; font-style:bold; font-size: 9px; }',
		'.price_cb {color: #000000; font-style:bold; font-size: 10px; }',
		'.price_tpp {color: #000000; font-style:bold; font-size: 12px; }'],
  wmode: 'transparent'
});
*/

sIFR.replace(eurostileltbold, {
  selector: '.price_product',
  css: ['.sIFR-root { background-color: transparent; color: #e11b22; font-size: 32px; leading: -28;}',
		'em {color: #808284; font-style:bold; font-size: 9px;; }',
		'.price_cb {color: #000000; font-style:bold; font-size: 10px; leading: -22; }',
		'.price_sale {color: #000000; font-style:bold; font-size: 18px; leading: -22;}',
		'.price_tpp {color: #666666; font-style:bold; font-size: 18px;}'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.nosale_price_product',
  css: ['.sIFR-root { background-color: transparent; color: #000000; font-size: 32px; leading: -24;}',
		'em {color: #666666; font-style:bold; font-size: 14px; }'],
  wmode: 'transparent'
});

sIFR.replace(eurostileltbold, {
  selector: '.price_po',
  css: ['.sIFR-root { background-color: transparent; color: #e11b22; font-size: 18px;}',
		'em {color: #808284; font-style:bold; font-size: 10px;; }'],
  wmode: 'transparent'
});



