var _s1 = false;
var _s2 = false;
var _s3 = false;
var _s4 = false;

var _s1 = true;
var _s2 = true;
var _s3 = true;
var _s4 = true;


var times = {
  src: _templates_dir + 'swf/times.swf'
};

/*var times_gradient = {
  src: _templates_dir + 'swf/times2.swf'
};*/


//sIFR.delayCSS = true;
sIFR.activate(times);
//sIFR.activate(times_gradient);

// naglowki

if (_s1) sIFR.replace(times, {
  selector: 'span.sifr',
  css: { '.sIFR-root' : { 'color' : '#deb86f' , 'font-size' : '13px' },
           'a' : { 'color' : ' #deb86f' , 'text-decoration' : 'none' },
           'a:hover' : { 'color' : ' #deb86f' , 'text-decoration' : 'underline' }
  },
  offsetTop: 3, tuneHeight: 2, sharpness: -100, thickness: 25, fitExactly: true,
  wmode: "transparent",
  ratios: [8,1.3,9,1.22,10,1.25,15,1.22,19,1.18,26,1.17,31,1.15,47,1.14,68,1.13,69,1.12,73,1.13,74,1.12,75,1.13,1.12]
});

if (_s2) sIFR.replace(times/*_gradient*/, {
  selector: 'h1.normal',
  css: { '.sIFR-root' : { 'color' : '#deb86f' , 'font-size' : '15px' },
           'a' : { 'color' : ' #deb86f' , 'text-decoration' : 'none' },
           'a:hover' : { 'color' : ' #deb86f' , 'text-decoration' : 'underline' }
  },
  offsetTop: -1, tuneHeight: -6, sharpness: -100, thickness: 25, fitExactly: true,
  wmode: "transparent",
  ratios: [8,1.3,9,1.22,10,1.25,15,1.22,19,1.18,26,1.17,31,1.15,47,1.14,68,1.13,69,1.12,73,1.13,74,1.12,75,1.13,1.12]
});

if (_s3) sIFR.replace(times/*_gradient*/, {
  selector: 'h1.larger',
  css: { '.sIFR-root' : { 'color' : '#deb86f' , 'font-size' : '17px' },
           'a' : { 'color' : ' #deb86f' , 'text-decoration' : 'none' },
           'a:hover' : { 'color' : ' #deb86f' , 'text-decoration' : 'underline' }
  },
  offsetTop: -1, tuneHeight: -6, sharpness: -100, thickness: 25, fitExactly: true,
  wmode: "transparent",
  ratios: [8,1.3,9,1.22,10,1.25,15,1.22,19,1.18,26,1.17,31,1.15,47,1.14,68,1.13,69,1.12,73,1.13,74,1.12,75,1.13,1.12]
});
