/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var lubalin = { src: 'http://www.theworkingtitle.co.uk/clients/mustard-tree/wp-content/themes/mustard-tree/flash/lubalin.swf' };


// Next, activate sIFR:
sIFR.activate(lubalin);

sIFR.replace(lubalin, {
  selector: '.image h1',
  forceSingleLine: true ,
  offsetTop: 3,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: '.sIFR-root {color: #fff200; background-color: #ed2a4a; padding-left: 15px; padding-right: 15px; }'
});

sIFR.replace(lubalin, {
  selector: 'li div.image h1',
  forceSingleLine: true ,
  offsetTop: 0,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: '.sIFR-root {color: #fff200; background-color: #ed2a4a; padding-left: 15px; padding-right: 15px; }'
});

sIFR.replace(lubalin, {
  selector: 'h1.replace',
  offsetTop: 2,
    tuneWidth: 20,
//  preventWrap: true,
	forceSingleLine: true ,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: ['.sIFR-root {color: #fff200; background-color: #ed2a4a; margin-left: 8; margin-right: 8; font-size: 24px; display:block }',
 		'a {color: #fff200; text-decoration:none}',
  		'a:hover {color:#FFFFFF;}']
});

sIFR.replace(lubalin, {
  selector: 'h1.replace-blog',
  offsetTop: 2,
//    tuneWidth: 15,
//    preventWrap: true,
//	forceSingleLine: true ,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: ['.sIFR-root {color: #fff200; background-color: #ed2a4a; margin-left: 8; margin-right: 8; font-size: 24px; display:block;}',
 		'a {color: #fff200; text-decoration:none}',
  		'a:hover {color:#FFFFFF;}']
});

sIFR.replace(lubalin, {
  selector: '#team h2',
  offsetTop: 3,
  forceSingleLine: true ,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: '.sIFR-root {color: #fff200; background-color: #ed2a4a; padding-left: 3px; padding-right: 3px; font-size: 14px; }'
});

sIFR.replace(lubalin, {
  selector: '#how-can-i-help h1',
  forceSingleLine: true ,
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: ['.sIFR-root {color: #fff200; background-color: #ed2a4a; font-size: 18px; }',
  		'a {color: #fff200; text-decoration:none}',
  		'a:hover {color:#FFFFFF;}']
});

sIFR.replace(lubalin, {
  selector: '#content h3.call-to-action',
  forceSingleLine: true ,
  offsetTop: 7,
  wmode: 'transparent',
  ratios: [8, 1.42, 9, 1.33, 12, 1.35, 15, 1.3, 19, 1.28, 27, 1.27, 28, 1.25, 32, 1.26, 33, 1.24, 34, 1.25, 48, 1.24, 52, 1.23, 53, 1.24, 73, 1.23, 76, 1.22, 77, 1.23, 81, 1.22, 82, 1.23, 1.22],
  css: ['.sIFR-root {color: #ffffff;  font-size: 12px; padding-left:5px; padding-right:5px; }',
  		'a {color: #ffffff; text-decoration:none}',
  		'a:hover {color:#fff200;}']
});
