//<[CDATA[
//The font size does not correspond directly to the height of the Flash movie. The relation between the font size, the number of lines and the height of the Flash movie is called the ratio. By defining ratios you'll stop the Flash movies from abruptly resizing, or at least you'll be able to lessen the impact.
//
//The ratios are specific for each font, but luckily sIFR can calculate them for you. Make sure you've loaded sifr-debug.js into your X/HTML page -- after sifr.js and before sifr-config.js (the file-loading order is important). Then, assuming this is how you replace the elements:
//
//sIFR.replace({ src: 'gothic.swf', selector: 'h1' });
//Comment that out and do the following to get the ratios for gothic.swf (as of revision 229):
//
//sIFR.debug.ratios({ src: 'gothic.swf', selector: 'h1' });
//When the ratios have been calculated there'll be a prompt with the ratios. Copy the text so you can add it:
//
//sIFR.replace({ src: 'gothic.swf', selector: 'h1', ratios: […paste here…] });
//sIFR.debug.ratios({ src: './flash/bek_fontset.swf', selector: 'h1' });

var lekkerontbijt = {
	src: './flash/bek_fontset.swf'
	,ratios: [8, 1.17, 13, 1.16, 19, 1.18, 23, 1.17, 29, 1.19, 34, 1.18, 57, 1.19, 58, 1.2, 62, 1.19, 63, 1.2, 67, 1.19, 68, 1.2, 70, 1.19, 73, 1.2, 75, 1.19, 79, 1.2, 80, 1.19, 84, 1.2, 85, 1.19, 87, 1.2, 90, 1.19, 94, 1.2, 95, 1.19, 99, 1.2, 100, 1.19, 1.2]
	,wmode: 'transparent'
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(lekkerontbijt);

sIFR.replace(lekkerontbijt, { selector: 'h1',css: ['.sIFR-root { color:#000000; font-weight: bold; }','a { text-decoration:underline; }','a:link { color: #000000; }','a:hover { color: #000000; }']});
sIFR.replace(lekkerontbijt, { selector: 'h2',css: ['.sIFR-root { color:#000000; font-weight: bold; }','a { text-decoration:underline; }','a:link { color: #000000; }','a:hover { color: #000000; }']});
sIFR.replace(lekkerontbijt, { selector: 'h3',css: ['.sIFR-root { color:#000000; font-weight: bold; }','a { text-decoration:none; }','a:link { color: #000000; }','a:hover { color: #000000; }']});
sIFR.replace(lekkerontbijt, { selector: 'h4',css: ['.sIFR-root { color:#ffffff; font-weight: bold; }','a { text-decoration:none; }','a:link { color: #ffffff; }','a:hover { color: #ffffff; }']});
//]]>
