/*****************************************************************************
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.
*****************************************************************************/





/////////////////////////////////////////////////////////////////////////////////////////////////////
//DA SETTARE
/////////////////////////////////////////////////////////////////////////////////////////////////////

var sifr = {
  src: PATH_SERVER+'sifr/flash/titolo.swf'
};

sIFR.activate(sifr);

sIFR.replace(sifr, {
  selector: '.sifr'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#B26A6D; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

/////////////////////////////////////////////////////////////////////////////////////////////////////

var sifrBig = {
  src: PATH_SERVER+'sifr/flash/titolo.swf'
};

sIFR.activate(sifrBig);

sIFR.replace(sifrBig, {
  selector: '.sifrBig'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#B26A6D; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

/////////////////////////////////////////////////////////////////////////////////////////////////////

var sifrh2 = {
  src: PATH_SERVER+'sifr/flash/sottotitolo.swf'
};

sIFR.activate(sifrh2);

sIFR.replace(sifrh2, {
  selector: '.sifrh2'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#AB474A; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

/////////////////////////////////////////////////////////////////////////////////////////////////////

var sifrh3 = {
  src: PATH_SERVER+'sifr/flash/sottotitolo.swf'
};

sIFR.activate(sifrh3);

sIFR.replace(sifrh3, {
  selector: '.sifrh3'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#AB474A; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

/////////////////////////////////////////////////////////////////////////////////////////////////////

var sifrh4 = {
  src: PATH_SERVER+'sifr/flash/titolo.swf'
};

sIFR.activate(sifrh4);

sIFR.replace(sifrh4, {
  selector: '.sifrh4'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#AB474A; font-weight:bold;  }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});


/////////////////////////////////////////////////////////////////////////////////////////////////////
//ESEMPI
/////////////////////////////////////////////////////////////////////////////////////////////////////

//ESEMPIO
//var cochin = {
//  src: 'cochin.swf'
//};
//var rockwell = {
//  src: 'rockwell.swf'
//};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;

//ESEMPIO
//sIFR.activate(cochin, rockwell);

//ESEMPIO
/*
sIFR.replace(arial, {
  selector: 'h1'
  ,css: [
	'.sIFR-root { text-align: center; font-weight: bold; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #000000; }'
	,'a:hover { color: #CCCCCC; }'
  ]
});
*/

//ESEMPIO
/*
sIFR.replace(rockwell, {
  selector: 'h5#pullquote'
  ,css: 'em { font-style: normal; color: #660000; }'
  ,selectable: false
});
*/

//ESEMPIO
/*
sIFR.replace(cochin, {
  selector: 'h3.sidebox'
  ,css: {
	'.sIFR-root': { 'background-color': '#DCDCDC' }
  }
});
*/

//ESEMPIO
/*
sIFR.replace(cochin, {selector: 'h2,h3'});
*/

//ESEMPIO
/*
sIFR.replace(cochin, {
  selector: 'h4.subhead'
  ,css: {
	'.sIFR-root': { 'color': '#660000', 'letter-spacing': -1.5, 'text-transform': 'capitalize' }
  }
  ,filters: {
	DropShadow: {
	  knockout: true
	  ,distance: 1
	  ,color: '#330000'
	  ,strength: 2
	}
  }
});
*/