/*****************************************************************************
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 sifr.
var sifr = { src: 'sifr.swf' };
var sifr2 = { src: 'sifr2.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(sifr, sifr2);

// If you want, you can use multiple movies, like so:
//
//    var sifr = { src: '/path/to/sifr.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//    
//    sIFR.activate(sifr, 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 sifr movie.
// 
// The first argument to `sIFR.replace` is the `sifr` 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({ src: 'sifr.swf', selector: 'ul#menu>li',  wmode: 'transparent', ratios: [9, 1.15, 14, 1.08, 18, 1.03, 24, 1.02, 45, 1, 69, 0.98, 115, 0.97, 116, 0.96, 0.97], offsetLeft: '1px', antiAliasType: 'advanced', tuneWidth: '70px', css: [
   '.sIFR-root { color: #98c00d;}',
   '.green a { color:#98c00d; text-decoration:none;}',
   '.green a:hover { color:#98c00d; text-decoration:underline;}'
      

   ]
 });
  sIFR.replace({ src: 'sifr.swf', selector: '#indextitle',  wmode: 'transparent', offsetLeft: '1px', antiAliasType: 'advanced', css: [
   '.sIFR-root { color: #a2a2a1;}',
      ]
 });
   sIFR.replace({ src: 'sifr.swf', selector: '#indexsubtitle',  wmode: 'transparent', offsetLeft: '1px', antiAliasType: 'advanced', css: [
   '.sIFR-root { color: #a7c742;}',
      ]
 });
    sIFR.replace({ src: 'sifr.swf', selector: '#titolo, #sottotitolo',  wmode: 'transparent', offsetLeft: '1px', antiAliasType: 'advanced', css: [
   '.sIFR-root { color: #a7c742; leading: 5; letter-spacing: -0.5}',
      ]
 });

 sIFR.replace({ src: 'sifr2.swf', selector: 'ul#col1 li',  wmode: 'transparent', ratios: [7, 1.59, 9, 1.56, 10, 1.49, 12, 1.5, 13, 1.46, 20, 1.47, 23, 1.43, 26, 1.44, 34, 1.42, 40, 1.41, 42, 1.4, 45, 1.41, 47, 1.4, 49, 1.41, 64, 1.4, 71, 1.39, 72, 1.4, 108, 1.39, 109, 1.38, 116, 1.39, 117, 1.38, 118, 1.39, 119, 1.38, 121, 1.39, 122, 1.38, 124, 1.39, 1.38], offsetLeft: '1px', antiAliasType: 'normal', pixelfont: 'true', 
 css: [
   '.sIFR-root { color: #52c2eb; }',
   '.green a { color:#98c00d; text-decoration:none;}',
   '.green a:hover { color:#98c00d; text-decoration:underline;}'

   
   

   ]
 });

 sIFR.replace({ src: 'sifr3.swf', selector: '#text',  wmode: 'transparent', ratios: [7, 1.59, 9, 1.56, 10, 1.49, 12, 1.5, 13, 1.46, 20, 1.47, 23, 1.43, 26, 1.44, 34, 1.42, 40, 1.41, 42, 1.4, 45, 1.41, 47, 1.4, 49, 1.41, 64, 1.4, 71, 1.39, 72, 1.4, 108, 1.39, 109, 1.38, 116, 1.39, 117, 1.38, 118, 1.39, 119, 1.38, 121, 1.39, 122, 1.38, 124, 1.39, 1.38], antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', css: [
   '.sIFR-root { color: #a3a3a2; text-align: justify; }']
 });
 
  sIFR.replace({ src: 'sifr3.swf', selector: 'ul#note li',  wmode: 'transparent', antiAliasType: 'normal', tuneWidth: '300', pixelfont: true, offsetLeft: '1px', css: [
   '.sIFR-root { color: #a3a3a2; text-align: justify; }']
 });
   sIFR.replace({ src: 'sifr3.swf', selector: 'ul#copy li',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', gridFitType: 'subpixel',  css: [
   '.sIFR-root { color: #98c00d; text-align: right; }']
 });
    
   sIFR.replace({ src: 'sifr3.swf', selector: '.titcon',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', gridFitType: 'subpixel',  css: [
   '.sIFR-root { color: #9dc220; text-align: left; }']
 });
 
    sIFR.replace({ src: 'sifr3.swf', selector: '.subtitcon, .contact',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', gridFitType: 'subpixel',  css: [
   '.sIFR-root { color: #a2a2a1; text-align: left; }']
 });
  sIFR.replace({ src: 'sifr3.swf', selector: '.shaula',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', gridFitType: 'subpixel',  css: [
   '.sIFR-root { color: #52c2eb; text-align: left; }'
   
   ]
 });

sIFR.replace({ src: 'sifr3.swf', selector: '.blu',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px',  css: [
'.sIFR-root { color: #52c2eb; text-align: left; }'

   ]
 });
    sIFR.replace({ src: 'sifr3.swf', selector: '.txt',  wmode: 'transparent', antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px',  gridFitType: 'subpixel',  css: [
   '.sIFR-root { color: #9dc220; text-align: left; }']
 });
  sIFR.replace({ src: 'sifr3.swf', selector: '#textabout',  wmode: 'transparent', ratios: [7, 1.59, 9, 1.56, 10, 1.49, 12, 1.5, 13, 1.46, 20, 1.47, 23, 1.43, 26, 1.44, 34, 1.42, 40, 1.41, 42, 1.4, 45, 1.41, 47, 1.4, 49, 1.41, 64, 1.4, 71, 1.39, 72, 1.4, 108, 1.39, 109, 1.38, 116, 1.39, 117, 1.38, 118, 1.39, 119, 1.38, 121, 1.39, 122, 1.38, 124, 1.39, 1.38], antiAliasType: 'normal', pixelfont: true, offsetLeft: '1px', css: [
   '.sIFR-root { color: #a3a3a2; text-align: justify; }']
 });
   sIFR.replace({ src: 'sifr.swf', selector: '#indextitle1',  wmode: 'transparent', offsetLeft: '1px', antiAliasType: 'advanced', css: [
   '.sIFR-root { color: #98c00d;}',
      ]
 });
 
    




