var _s1 = false;
var _s2 = false;
var _s3 = false;
var _s4 = false;
var _s5 = false;

var _s1 = true;
var _s2 = true;
var _s3 = true;
var _s4 = true;
var _s5 = true;

var _s_on = true; // debug - set to "false" to disable sIFR

_s1 &= _s_on;
_s2 &= _s_on;
_s3 &= _s_on;
_s4 &= _s_on;
_s5 &= _s_on;



var futura_narrow = {
  src: _templates_dir+ 'swf/futura_narrow.swf'
};

//sIFR.delayCSS = true;
if (_s_on) sIFR.activate(futura_narrow);

// GRAY

if (_s1) sIFR.replace(futura_narrow, {
  selector: '#content h1, #left h1',
  css: { '.sIFR-root' : {'font-size' : '16px' , 'color' : '#cc0000'},
           '.subheader' : {'color' : '#6a90a2'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});

if (_s2) sIFR.replace(futura_narrow, {
  selector: '#right h1.normal',
  css: { '.sIFR-root' : {'font-size' : '14px' , 'color' : '#b7b7b7'},
           '.em' : {'color' : '#6a90a2'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});

if (_s3) sIFR.replace(futura_narrow, {
  selector: 'h1.region',
  css: { '.sIFR-root' : {'font-size' : '24px' , 'color' : '#cc0000'},
            'a' : { 'color' : '#cc0000' , 'text-decoration' : 'none'},
            'a:hover' : { 'color' : '#cc0000' , 'text-decoration' : 'underline'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});

if (_s3) sIFR.replace(futura_narrow, {
  selector: 'h1.region2',
  css: { '.sIFR-root' : {'font-size' : '15px' , 'color' : '#cc0000'},
            'a' : { 'color' : '#cc0000' , 'text-decoration' : 'none'},
            'a:hover' : { 'color' : '#cc0000' , 'text-decoration' : 'underline'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});


if (_s4) sIFR.replace(futura_narrow, {
  selector: '.popup h1',
  css: { '.sIFR-root' : {'font-size' : '16px' , 'color' : '#6a90a2'},
           '.warning' : {'color' : '#cc0000'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});

if (_s5) sIFR.replace(futura_narrow, {
  selector: 'ul.menutop li span',
  css: { '.sIFR-root' : {'font-size' : '16px' , 'color' : '#6a90a2'},
           '.warning' : {'color' : '#cc0000'}
  },
  fitExactly: true,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8,
  ratios: [10,1.32,16,1.27,19,1.23,25,1.22,30,1.21,32,1.19,33,1.2,37,1.19,38,1.2,51,1.19,55,1.18,56,1.19,84,1.18,86,1.17,88,1.18,89,1.17,90,1.18,93,1.17,94,1.18,1.17]
});
