/*****************************************************************************
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 constantia = {
      src: '/flash/constantia.swf'
};


// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(constantia);
  
  sIFR.replace(constantia, {
    selector: '#left h1'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal; font-size:18px; color:#600f0f; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ]
  });
  
  sIFR.replace(constantia, {
    selector: 'h1'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal; font-size:18px; color:#ffffff; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ]
  });
  
  sIFR.replace(constantia, {
    selector: '#right .extra h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal; font-size:18px; color:#600f0f; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #336699; }'
      ,'a:hover { color: #333333; }'
    ]
  });
  
  sIFR.replace(constantia, {
    selector: '#left h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal; font-size:18px; color:#600f0f; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #336699; }'
      ,'a:hover { color: #333333; }'
    ]
  });
  
  sIFR.replace(constantia, {
    selector: 'h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { text-align: left; font-weight: normal; font-size:18px; color:#003300; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #336699; }'
      ,'a:hover { color: #333333; }'
    ]
  });