var _s1 = false;
var _s2 = false;
var _s3 = false;

var _s1 = true;
var _s2 = true;
var _s3 = true;

var _s_on = true; // debug - set to "false" to disable sIFR

_s1 &= _s_on;
_s2 &= _s_on;
_s3 &= _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: 'h1',
  css: { '.sIFR-root' : {'font-size' : '15px' , 'color' : '#bccd23' , 'text-transform' : 'uppercase' },
           '.color2' : {'color' : '#f47c2f'},
           '.color1' : {'color' : '#48a4df'},
           '.colorerror' : {'color' : '#dd0000'},
           '.color_lekarz' : {'color' : '#5878c1'},
           '.color_pacjent' : {'color' : '#cc6699'},
           '.color_klient' : {'color' : '#ff9900'}
  },
  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: 'dl.tree dl dt',
  css: { '.sIFR-root' : {'font-size' : '14px' , 'color' : '#888888'},
           'a' : {'color' : '#888888', 'text-decoration' : 'none'},
           'a:hover' : {'color' : '#888888', 'text-decoration' : 'none'}
  },
  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: 'dl.tree dt',
  css: { '.sIFR-root' : {'font-size' : '14px' , 'color' : '#666666'},
           'a' : {'color' : '#666666', 'text-decoration' : 'none'},
           'a:hover' : {'color' : '#666666', 'text-decoration' : 'none'}  
  },
  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]
});


