/*****************************************************************************
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 usherwood_black = { src: '/wp-content/themes/kahns/sifr/usherwood_black.swf' };
var usherwood_bold = { src: '/wp-content/themes/kahns/sifr/usherwood_bold.swf' };

sIFR.activate(usherwood_bold);

sIFR.replace(usherwood_bold, {
  selector: '.widget h2',
  forceSingleLine: true,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: [
	'.sIFR-root { color: #5b5504; font-style:italic; }'
      ,'a { color: #5b5504; text-decoration:none; }'
      ,'a:link { color: #5b5504; text-decoration:none; }'
      ,'a:visited { color: #5b5504; text-decoration:none; }'
      ,'a:hover { color: #5b5504; text-decoration:underline; }'
	 ]
});

sIFR.replace(usherwood_bold, {
  selector: 'h1',
  forceSingleLine: false,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: [
	'.sIFR-root { color: #5B5504; font-style:italic; }'
	 ]
});
sIFR.replace(usherwood_bold, {
  selector: '#body-right h2',
  forceSingleLine: false,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: [
	'.sIFR-root { color: #7A7533; font-style:italic; }'
	 ]
});


sIFR.replace(usherwood_bold, {
  selector: '.phone',
  forceSingleLine: true,
  forceWidth: true,
  fixWrap:true,
  fitExactly:true,
  tuneWidth: 4,
  wmode: 'transparent',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: [
	'.sIFR-root { color: #ffffff; line-height:21px; }'
	 ]
});
