// paths for flash files are located in the template page
// var futura_bold = { src: 'flash/futura_bold.swf' };
// var futura_extra_bold = { src: 'flash/futura_extra_bold.swf' };

sIFR.useStyleCheck = true;
sIFR.activate(futura_bold, futura_extra_bold);

sIFR.replace(futura_bold, {
  selector: '#header .contact p',
  css: '.sIFR-root { color:#fff200; letter-spacing:1; text-align:right; text-transform:uppercase; }, .sIFR-root a { color:#fff200; text-decoration:none; }, .sIFR-root a:hover { color:#dd007b; text-decoration:none; }',
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetLeft: 3,
  tuneHeight: -5,
  wmode: 'transparent'
});

sIFR.replace(futura_bold, {
  selector: '#header p',
  css: '.sIFR-root { color:#999999; letter-spacing:1; text-transform:uppercase; }',
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetLeft:-1,
  tuneHeight: -5,
  wmode:'transparent'
});

sIFR.replace(futura_bold, {
  selector: '.blog-link .prelim',
  css: '.sIFR-root { color:#000000; letter-spacing:1; text-transform:uppercase; }',
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetTop: -1,
  offsetLeft:30,
  wmode:"transparent"
});

sIFR.replace(futura_bold, {
  selector: '.blog-link .button',
  css: ['.sIFR-root { background-color:#ff0000; letter-spacing:1; text-transform:uppercase; }', 'a { color:#ffffff; text-decoration:none; }', 'a:hover { color:#009ee7; }' ],
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetTop: -1,
  tuneWidth:2,
  wmode:"transparent"
});

sIFR.replace(futura_extra_bold, {
	selector: '#footer h2',
	css: '.sIFR-root { color:#ffffff; text-transform:uppercase; }, .sIFR-root .special { color:#009ee7; }',
	offsetTop:-4,
	tuneHeight:-16,
	wmode:"transparent"
});

sIFR.replace(futura_extra_bold, {
	selector: 'h2',
	css: '.sIFR-root { color:#333333; text-transform:uppercase; }',
	offsetTop:-3,
	tuneHeight:9,
	wmode:"transparent"
});

sIFR.replace(futura_extra_bold, {
	selector: '#client-list h3',
	css: '.sIFR-root { color:#333333; text-transform:uppercase; }',
	offsetTop:-2,
	tuneHeight:-6,
	wmode: "transparent"
});

sIFR.replace(futura_extra_bold, {
	selector: 'h3',
	css: '.sIFR-root { color:#fefefe; text-transform:uppercase; }',
	offsetTop:3,
	tuneHeight:-2,
	wmode: "transparent"
});
sIFR.replace(futura_extra_bold, {
	selector: 'h4',
	css: '.sIFR-root { color:#7e7e7e; text-transform:uppercase; }',
	ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
	offsetTop:-3,
	tuneHeight:-11,
	wmode:"transparent"
});

sIFR.replace(futura_bold, {
  selector: '#footer .last-cell li',
  css: '.sIFR-root { color:#7e7e7e; letter-spacing:1; text-align:right; text-transform:uppercase; }',
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetLeft: 4,
  tuneHeight: -5,
  wmode: "transparent"
});

sIFR.replace(futura_bold, {
  selector: '#footer li',
  css: '.sIFR-root { color:#fff200; letter-spacing:1; text-align:right; text-transform:uppercase; }, .sIFR-root a { color:#fff200; text-decoration:none; }, .sIFR-root a:hover { color:#dd007b; text-decoration:none; }',
  ratios: [8, 1.3, 9, 1.22, 10, 1.25, 11, 1.22, 12, 1.2, 18, 1.19, 21, 1.15, 22, 1.16, 30, 1.15, 40, 1.14, 51, 1.13, 82, 1.12, 84, 1.11, 85, 1.12, 89, 1.11, 90, 1.12, 1.11],
  offsetLeft: 4,
  tuneHeight: -5,
  wmode: "transparent"
});
