/*****************************************************************************
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 futura = { src: '/path/to/futura.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;


var myfont = { src: 'flash/gillsans.swf' };

sIFR.activate(myfont);

// TESTI BLU
sIFR.replace(myfont, {selector:'p.avent18',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#5d85ad', 'letter-spacing':'0.2', 'leading':'0'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#5d85ad'},
'a:hover':{'color':'#5d85ad', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});


sIFR.replace(myfont, {selector:'p.avent16',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#5d85ad', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#5d85ad'},
'a:hover':{'color':'#5d85ad', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

sIFR.replace(myfont, {selector:'p.avent14',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#5d85ad', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#5d85ad'},
'a:hover':{'color':'#5d85ad', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

sIFR.replace(myfont, {selector:'p.avent12',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#5d85ad', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#5d85ad'},
'a:hover':{'color':'#5d85ad', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

// TESTI BIANCHI
sIFR.replace(myfont, {selector:'p.avent18_white',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#FFFFFF', 'letter-spacing':'0.2', 'leading':'0'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#FFFFFF'},
'a:hover':{'color':'#FFFFFF', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

sIFR.replace(myfont, {selector:'p.avent16_white',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#FFFFFF', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#FFFFFF'},
'a:hover':{'color':'#FFFFFF', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

sIFR.replace(myfont, {selector:'p.avent14_white',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#FFFFFF', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#FFFFFF'},
'a:hover':{'color':'#FFFFFF', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});

sIFR.replace(myfont, {selector:'p.avent12_white',
css:{'.sIFR-root':{ 'font-family':'Gill Sans Light', 'color':'#FFFFFF', 'letter-spacing':'0.2', 'leading':'2'},
'strong':{'font-family': 'GillSans'},
'a':{'text-decoration':'underline'},
'a:link':{'color':'#FFFFFF'},
'a:hover':{'color':'#FFFFFF', 'text-decoration':'underline'}}, sharpness:100, thickness: 100, transparent:true});



