/*****************************************************************************
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 helveticaMed = {
  src: PATH_SERVER+'sifr/flash/HelveticaNeueLTStdMedCn.swf'
};
var helvetica = {
  src: PATH_SERVER+'sifr/flash/HelveticaNeueLTStdCn.swf'
}; 
var helveticaThin = {
  src: PATH_SERVER+'sifr/flash/HelveticaNeueLTStd.swf'
};
var helveticaGrey = {
  src: PATH_SERVER+'sifr/flash/HelveticaNeueLTStdMedCn.swf'
};
var Arial = {
  src: PATH_SERVER+'sifr/flash/Arial.swf'
}; 
sIFR.activate(helveticaMed, helvetica, helveticaThin, helveticaGrey);

sIFR.replace(helveticaMed, {
  selector: '.sifr'
  ,css: [
	'.sIFR-root { color:#1770B6; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #1770B6; }'
	,'a:hover { color: #1770B6; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '.sifr_scuro'
  ,css: [
	'.sIFR-root { color:#062A5E; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #062A5E; }'
	,'a:hover { color: #1770B6; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

sIFR.replace(helveticaThin, {
  selector: '.sifr_thin'
  ,css: [
	'.sIFR-root { color:#0769B5; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #062A5E; }'
	,'a:hover { color: #1770B6; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

sIFR.replace(helveticaGrey, {
  selector: '.sifr_grigio'
  ,css: [
	'.sIFR-root { color:#777777; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #777777; }'
	,'a:hover { color: #444444; }'
  ]
  ,selectable: false
  ,wmode: 'transparent'
});

sIFR.replace(Arial, {
  selector: '.sifr_grigio_ell'
  ,css: [
	'.sIFR-root { color:#777777; }'
	,'a { text-decoration: none; }'
	,'a:link { color: #777777; }'
	,'a:hover { color: #444444; }'
  ]
  ,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
	}
  }
});
*/