var caslon = {
  src: '/includes/sifr/flash/caslon.swf'
};
var gillsans = {
  src: '/includes/sifr/flash/gillsans.swf'
};
sIFR.activate(caslon,gillsans);

sIFR.replace(caslon, {
  selector: 'h1.product',
  transparent: true,
  css: [
      '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
  ]
});
sIFR.replace(caslon, {
  selector: 'h1.page',
  transparent: true,
  css: [
      '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
  ]
});
sIFR.replace(caslon, {
	selector: 'h1.service',
	transparent: true,
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h1.register',
	transparent: true,
	offsetLeft: '180',
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h1.account',
	transparent: true,
	offsetLeft: '180',
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h2.navigation',
	transparent: true,
	offsetLeft: '40',
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h2.login',
	transparent: true,
	offsetLeft: '40',
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#4c5144; font-style:italic;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h2.home',
	transparent: true,
	offsetLeft: '60',
	offsetTop: '10',
	css: [
	  '.sIFR-root { padding:0; margin:0; color:#ffffff; font-style:italic;  }',
	  'a { padding:0; margin:0; color:#ffffff; font-style:italic; text-decoration:none;  }',
	  'a:hover { padding:0; margin:0; color:#ffffff; font-style:italic; text-decoration:none;  }'
	]
});
sIFR.replace(caslon, {
	selector: 'h2',
	transparent: true,
	css: [
	  '.sIFR-root { color:#ffffff; font-style:italic;  }'
	]
});

sIFR.replace(caslon, {
	selector: 'h3',
	transparent: true,
	css: [
		'.sIFR-root { padding:0; margin:0; color:#7d7f00; font-style:italic;  }',
		'a { color:#7d7f00; text-decoration:none; font-style:italic; }',
		'a:hover { color:#7d7f00; text-decoration:none; font-style:italic; }'
	]
});

sIFR.replace(gillsans, {
	selector: '#navigation li span.active',
	transparent: true,
	forceSingleLine: true,
	css: [
		'.sIFR-root { color:#838600; }',
		'a { color:#838600; text-decoration:none; }',
		'a:hover { color:#838600; text-decoration:none; }'
	],
	ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
});


sIFR.replace(gillsans, {
	selector: '#navigation li span',
	transparent: true,
	forceSingleLine: true,
	forceWidth : true,
	css: [
		'.sIFR-root { color:#343a2e; }',
		'a { color:#343a2e; text-decoration:none; }',
		'a:hover { color:#838600; text-decoration:none; }'
	],
	ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
});

sIFR.replace(gillsans, {
	selector: 'span.menu',
	transparent: true,
	forceSingleLine: true,
	css: [
		'.sIFR-root { color:#343a2e; }',
		'a { color:#343a2e; text-decoration:none;  }',
		'a:hover { color:#838600; text-decoration:none;  }'
	]
});
