/*****************************************************************************
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 dalliance = {
  src: PATH_SERVER+'sifr/flash/dalliance.swf'
};

sIFR.activate(dalliance);

sIFR.replace(dalliance, {
  selector: '.sifr_dalliance'
  ,css: [
	'.sIFR-root { text-align: left; font-style:normal; color:#4F4E28; }'
  	,'a { text-decoration: none; }'
	,'a:link { color: #4F4E28; }'
	,'a:hover { color: #C60751; }'
  ]
  ,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
	}
  }
});
*/