/*****************************************************************************
The sIFR configuration should typically go in `sifr-config.js`, but in order to
keep the config file clean, and to give a quick overview, it's done here instead.
*****************************************************************************/

var sifrBig = {
  src: percorso+'_sifr/sifrBig.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var sifrMedium = {
  src: percorso+'_sifr/sifrMedium.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

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

sIFR.replace(sifrBig, {
  selector: 'h1.sifrBig'
  ,css: [
	'.sIFR-root { font-weight: normal; color: #ffffff; leading: -10px;}'
  ]
  ,wmode: 'transparent'
});

sIFR.replace(sifrMedium, {
  selector: 'h1.sifrMedium'
  ,css: [
	'.sIFR-root { font-weight: normal; display: block; color: #ffffff; leading: -10px;}'
  ]
  ,wmode: 'transparent'
});

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

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

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

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

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
	}
  }
});
*/