/* configure sIFR */

var din = { 
	src: '/wp-content/themes/danielholter/swf/DIN-light.swf'
	,ratios: [8,1.42,9,1.33,12,1.35,15,1.3,19,1.28,27,1.27,28,1.25,32,1.26,33,1.24,34,1.25,48,1.24,52,1.23,53,1.24,73,1.23,76,1.22,77,1.23,81,1.22,82,1.23,1.22]
	};

sIFR.delayCSS  = true;
sIFR.activate(din);

sIFR.replace(din, {
	selector: '.post h1'
    ,css: [
      '.sIFR-root { color: #ffffff; leading: 0; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; text-decoration: underline; }'
    ]	
	,wmode: 'transparent'
});
sIFR.replace(din, {
	selector: 'h4'
    ,css: [
      '.sIFR-root { color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; text-decoration: underline; }'
    ]	
	,wmode: 'transparent'
});
sIFR.replace(din, {
	selector: '#projects h2'
    ,css: [
      '.sIFR-root { color: #000000; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #000000; text-decoration: underline; }'
    ]	
	,wmode: 'transparent'
});
sIFR.replace(din, {
	selector: '#placements h2'
    ,css: [
      '.sIFR-root { color: #ffffff; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { color: #ffffff; text-decoration: underline; }'
    ]	
	,wmode: 'transparent'
});
sIFR.replace(din, {
	selector: '#sidebar h6'
    ,css: [
      '.sIFR-root { color: #000000; leading: 0; text-transform: uppercase; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #000000; text-decoration: underline; }'
    ]	
	,wmode: 'transparent'
});