var zapf = {
  src: _templates_dir+ 'swf/sifr.swf'
};
var tahoma = {
  src: _templates_dir+ 'swf/tahoma.swf'
};

sIFR.activate(tahoma);

sIFR.replace(tahoma, {
  selector: 'h1.index',
  css: { '.sIFR-root' : {'font-size' : '18px' , 'color' : '#4a2812' },
         'a' : {'color' : '#ffffff', 'text-decoration' : 'none'},
         'a:hover' : {'color' : '#cccccc', '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]
});
sIFR.replace(tahoma, {
  selector: '#right h1.title',
  css: { '.sIFR-root' : {'font-size' : '18px' , 'color' : '#07696a' },
         'a' : {'color' : '#ffffff', 'text-decoration' : 'none'},
         'a:hover' : {'color' : '#cccccc', '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]
});
sIFR.replace(tahoma, {
  selector: '.indexLatestNews h2',
  css: { '.sIFR-root' : {'font-size' : '18px' , 'color' : '#06686a' },
         'a' : {'color' : '#ffffff', 'text-decoration' : 'none'},
         'a:hover' : {'color' : '#cccccc', '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]
});


sIFR.replace(zapf, {
  selector: 'h3',
  css: { '.sIFR-root' : {'font-size' : '18px' , 'color' : '#000000' },
         'a' : {'color' : '#ffffff', 'text-decoration' : 'none'},
         'a:hover' : {'color' : '#cccccc', '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]
});
sIFR.replace(zapf, {
  selector: 'h4',
  css: { '.sIFR-root' : {'font-size' : '16px' , 'color' : '#ffffff' , 'text-transform' : 'uppercase' }
  },
  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]
});
sIFR.replace(tahoma, {
  selector: 'h5',
  css: { '.sIFR-root' : {'font-size' : '18px' , 'color' : '#ffffff' , 'text-align' : 'center' }
  },fitExactly: false,
  wmode: "transparent",
  offsetTop: -2,
  tuneHeight: -8
});
sIFR.replace(zapf, {
  selector: 'h6',
  css: { '.sIFR-root' : {'font-size' : '20px' , 'color' : '#ac186c' , 'text-transform' : 'uppercase' },
         'a' : {'color' : '#ffffff', 'text-decoration' : 'none'},
         'a:hover' : {'color' : '#cccccc', '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]
});
