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

var cygnet = {
  src: '/library/swf/cygnetround.swf'
  ,ratios: [11, 1.49, 15, 1.41, 18, 1.4, 21, 1.39, 22, 1.36, 28, 1.37, 37, 1.36, 44, 1.35, 74, 1.34, 1.33]
};

var dreamorphan = {
  src: '/library/swf/dreamorp.swf'
  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 33, 1.2, 40, 1.19, 54, 1.18, 58, 1.17, 59, 1.18, 97, 1.17, 98, 1.16, 100, 1.17, 104, 1.16, 105, 1.17, 1.16]
};

sIFR.activate(cygnet,dreamorphan);

sIFR.useDomLoaded = false;

sIFR.replace(cygnet, {
  selector: 'h1,h3'
  ,css: '.sIFR-root {color: #555555;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.strapline'
  ,css: '.sIFR-root {color: #ffffff; letter-spacing:0.75;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.cName'
  ,css: [
	  '.sIFR-root {color: #555555; text-align:right; margin-right:6px;}'
	  ,'a { text-decoration: none; }'
	  ,'a:link { color: #555555; }'
	  ,'a:hover { color: #939393; }'
	]
	,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.collTitle'
  ,css: '.sIFR-root {color: #555555; text-align:right;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.frameHeading'
  ,css: '.sIFR-root {color: #555555; text-align:right;margin-right:6px}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.subtleLeft'
  ,css: '.sIFR-root {color: #939393; text-align:left;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.subtleRight'
  ,css: '.sIFR-root {color: #939393; text-align:right;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(cygnet, {
  selector: '.subtleCenter'
  ,css: '.sIFR-root {color: #939393; text-align:center;}'
  ,selectable: true
  ,transparent: true
});

sIFR.replace(dreamorphan, {
	selector: '#nav ul li'
	,css: [
	  '.sIFR-root {color: #323232; text-align:center; padding-top:10px;}'
	  ,'a { text-decoration: none; }'
	  ,'a:link { color: #323232; }'
	  ,'a:hover { color: #ffffff; }'
	]
	,transparent: true
});


//sIFR.debug.ratios({ src: '/library/swf/dreamorp.swf', selector: 'h1' })
