// JavaScript Document

  //<[CDATA[

  var EurostileBold = {
    src: '/files/system/xlbyg/js/sifrHeader-v3-r436/EuroStileBold.swf'
    ,ratios: [8, 1.43, 11, 1.38, 13, 1.33, 20, 1.32, 22, 1.28, 29, 1.29, 30, 1.28, 33, 1.27, 34, 1.28, 43, 1.27, 46, 1.26, 47, 1.27, 68, 1.26, 71, 1.25, 72, 1.26, 109, 1.25, 110, 1.24, 1.25]
  };
  var Eurostile = {
    src: '/files/system/xlbyg/js/sifrHeader-v3-r436/EuroStile.swf'
    ,ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 32, 1.25, 40, 1.26, 41, 1.24, 46, 1.25, 70, 1.24, 73, 1.23, 74, 1.24, 1.23]
  };
	//Skift '.replace' ud med '.debug.ratios' for at få ratios for fonten.
	//HUSK at kopiere alle styles nedenfor ind i sFIR-screen.css - for at undgå at brugeren ser html-teksten før flash-fonten.
	//Sæt evt. referencer til sFIR i PAGE-templaten. Så undgår du at headers bliver erstattet i print-templates også.



  // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
  sIFR.useStyleCheck = true;
  sIFR.activate(EurostileBold);
  sIFR.activate(Eurostile);

sIFR.replace(EurostileBold, {
    selector: '#productHeader h1'
		,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #660033; text-transform: uppercase;}',
			'a { color: #660033; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #660033; text-decoration:none; cursor: pointer; }'
    ]
  });

sIFR.replace(EurostileBold, {
    selector: '.basketContentTable h1'
		,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #660033; text-transform: uppercase;}',
			'a { color: #660033; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #660033; text-decoration:none; cursor: pointer; }'
    ]
  });

  sIFR.replace(EurostileBold, {
    selector: 'h1'
		,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #000000; text-transform: uppercase;}',
			'a { color: #000000; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
    ]
  });

  sIFR.replace(EurostileBold, {
    selector: 'h2'
		,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #000000; text-transform: uppercase;}',
			'a { color: #000000; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #000000; text-decoration:none; cursor: pointer; }'
    ]
  });
	
	sIFR.replace(Eurostile, {
    selector: 'h4'
		,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #D8BC7E; text-transform: uppercase; font-size:14px; text-align:center;}',
			'a { color: #D8BC7E; text-decoration:none; cursor: pointer; }',
			'a:hover { color: #D8BC7E; text-decoration:none; cursor: pointer; }'
    ]
  });

  //]]>