// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var fhelvetica = { src: '/theme/swf/helvetica.swf' };

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.useDomLoaded = false;
sIFR.preserveSingleWhitespace = true;
sIFR.activate(fhelvetica);

sIFR.replace(fhelvetica, {
	selector: '#top h2.description',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; }',
		'em { font-style:italic; color: #ffffff; }',
		'strong { font-style:bold; color: #ffffff; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #aa4444; }',
		'a:hover { color: #bbbb44; }'
	]
});

sIFR.replace(fhelvetica, {
	selector: '#top h2.description_details',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #66a1ca; }',
		'em { font-style:italic; color: #66a1ca; }',
		'strong { font-style:bold; color: #66a1ca; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #aa4444; }',
		'a:hover { color: #bbbb44; }'
	]
});

sIFR.replace(fhelvetica, {
	selector: 'body#main #sidebar #production h4, body#main #sidebar #criogenics h4, #branding .branding_title h31',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; }',
		'em { font-style:italic; color: #ffffff; }',
		'strong { font-style:bold; color: #ffffff; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #ffffff; text-decoration:none; }',
		'a:hover { color: #ffffff; text-decoration:underline;  }'
	]
});

sIFR.replace(fhelvetica, {
	selector: '#realisations h4, #welcome h4, #our_products h4, #sell_points h4, .content h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #07253B; }',
		'em { font-style:italic; color: #07253B; }',
		'strong { font-style:bold; color: #07253B; }',
		'.bold { font-style:bold; text-decoration:underline; }',
		'a { color: #07253B; text-decoration:none; }',
		'a:hover { color: #07253B; text-decoration:underline;  }'
	]
});

/*
sIFR.replace(fMyriadProRegular, {
	selector: '#top h2.description_details',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #66a1ca; }'
	]
});

sIFR.replace(fMyriadProLight, {
	selector: '#main_menu li a',
	wmode: 'transparent',
	forceSingleLine: false,
	selectable: false,
	css: [
		'.sIFR-root { color: #3e638b; }',
		'a { color: #3e638b; }',
		'a:hover { color: #3e638b; }',
	]
});

sIFR.replace(fMyriadProLight, {
	selector: 'h2.sifr',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #00386c; }',
	]
});

sIFR.replace(fMyriadProLight, {
	selector: 'p.subtitle',
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #a0b9cd; }',
	]
});
*/
/*sIFR.replace(fMyriadProLight, {
	selector: 'h1.example3',
	css: '.sIFR-root { color: #775555; }'
});
sIFR.replace(fMyriadProLight, {
	wmode: 'transparent',
	selector: 'h2.example3',
	css: '.sIFR-root { color: #ddaaaa; }'
});

sIFR.replace(fMyriadProLight, {
	selector: 'h1.example4',
	css: '.sIFR-root { color: #aa7777; }',
	filters: {
    DropShadow: {
      knockout: false,
      distance: 3,
      color: '#cccccc',
      strength: 3,
      angle:120
    }
  }
});
*/
