function fixMenu()
{
	if ($.browser.msie || $.browser.safari)
	{
		$('div.box-headline, div.product-headline').each(function()
		{
			var textHeight = $(this).height();
			$(this).find('.background, .background img').height(textHeight);
		});
	}
}

var FSAlbert = {
	src: global_url + 'image/FSAlbert_Italic_Bold_Normal.swf',
	ratios: [7, 1.32, 8, 1.31, 12, 1.27, 19, 1.23, 28, 1.19, 30, 1.17, 36, 1.18, 45, 1.17, 50, 1.16, 51, 1.17, 67, 1.16, 72, 1.15, 73, 1.16, 1.15]
};

sIFR.activate(FSAlbert);

sIFR.replace(FSAlbert,
{
	selector: '.box-headline .headline-text',
	wmode: 'transparent',
	fitExactly: true,
	css: [
		'.sIFR-root{ font-size: 18px; color: #FFFFFF; font-weight: bold; leading: 1}',
		'.sIFR-root a{ font-size: 18px; color: #FFFFFF; font-weight: bold; text-decoration: none; leading: 1}',
		'.sIFR-root a:hover{ font-size: 18px; color: #FFFFFF; text-decoration: none; font-weight: bold; leading: 1}'
	],
	onReplacement: function()
	{
		fixMenu();
	}
});

sIFR.replace(FSAlbert, {
	selector: '.column-headline',
	wmode: 'transparent',
	fitExactly: true,
	css: [
		'.sIFR-root{ font-size: 26px; color: #64cef3; leading: -3; font-weight: bold; }',
		'a {text-decoration:none; color: #64cef3; leading: -3;}',
		'a:hover {text-decoration:none; color: #64cef3; leading: -3;}'
	]
});

sIFR.replace(FSAlbert, {
	selector: '.entry-headline',
	wmode: 'transparent',
	fitExactly: true,
	css: [
		'.sIFR-root{ font-size: 26px; color: #64cef3; leading: -3; font-weight: bold; }',
		'a {text-decoration:none; color: #64cef3; leading: -3;}',
		'a:hover {text-decoration:none; color: #64cef3; leading: -3;}'
	]
});


sIFR.replace(FSAlbert, {
	selector: '.column .column-quote',
	wmode: 'transparent',
	fitExactly: true,
	css: '.sIFR-root{ font-size: 18px; color: #1780a6; leading: 1; font-weight: bold; font-style: italic;  }'
});

sIFR.replace(FSAlbert, {
	selector: '#blog .latestComments .latest-comments-headline',
	wmode: 'transparent',
	fitExactly: true,
	css: [
		'.sIFR-root{ font-size: 26px; color: #64cef3; leading: -3; font-weight: bold; }',
		'a {text-decoration:none; color: #64cef3; leading: -3;}',
		'a:hover {text-decoration:none; color: #64cef3; leading: -3;}'
	]
});

sIFR.replace(FSAlbert, {
	selector: 'h1', wmode: 'transparent', fitExactly: true,
	css: [
	'.sIFR-root{ font-size: 26px; color: #64cef3; leading: 1;}',
	'a {text-decoration:none; color: #64cef3; leading: 1;}',
	'a:hover {text-decoration:none; color: #64cef3; leading: 1;}'
	]
});
