/*****************************************************************************
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 path = 'http://packardbuilding.com/';
var amaretto = { src: path+'sifr/js/amaretto.swf' };

sIFR.activate(amaretto);

//sIFR.debug.ratios({ src: 'sifr/js/amaretto.swf', selector: 'h2' });

sIFR.replace(amaretto, {
  selector: 'h1',
  wmode: 'transparent',
  tuneHeight:-1,
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 63, 1.2, 68, 1.19, 69, 1.2, 107, 1.19, 108, 1.18, 113, 1.19, 114, 1.18, 118, 1.19, 119, 1.18, 123, 1.19, 1.18],
  css: ['.sIFR-root { background-color:#587b7c; color:#000000; }'
		,'.center { text-align:center; }'
		,'.smaller { font-size:80% }'
		,'.smallerCenter { font-size:80%; text-align:center; }'
		]
});
sIFR.replace(amaretto, {
  selector: 'h2',
  offsetTop:0,
  preventWrap:true,
  offsetLeft: -1,
  tuneWidth:1,
  ratios:[6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 63, 1.2, 68, 1.19, 69, 1.2, 107, 1.19, 108, 1.18, 113, 1.19, 114, 1.18, 118, 1.19, 119, 1.18, 123, 1.19, 1.18],
  css: ['.sIFR-root { background-color:#000000; color:#b9c3bb; text-align:center; }'
		,'.smaller { font-size:76%; color:#ffffff; }'
		,'.smallerCenter { font-size:76%; color:#ffffff; }'
		,'a { text-decoration: none; color: #b9c3bb; }'
	    ,'a:link { text-decoration:none; color: #b9c3bb; }'
		,'a:hover { text-decoration:none; color: #be8058; }'
		]
});
sIFR.replace(amaretto, {
  selector: 'h3',
   ratios:[6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 63, 1.2, 68, 1.19, 69, 1.2, 107, 1.19, 108, 1.18, 113, 1.19, 114, 1.18, 118, 1.19, 119, 1.18, 123, 1.19, 1.18],
  css: ['.sIFR-root { background-color:#000000; color:#ffffff; }'	
		,'.center { text-align:center; }'
		]
});
