function resetMovie(fi)
{
	// JQUERY CHECK BROWSER VERSION - IF IE9 BROWSER THEN RESET FLASH MOVIE //
	if(jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 9 )
	{
		fi.resetMovie();
	}
}
//sIFR.resetMovie(getCallbackByFlashElement(sIFR));
//sIFR.replaceElement(named({sSelector:"body h4", sFlashSrc:"./flash/hussfont.swf", sColor:"#666666", sLinkColor:"#666666", sBgColor:"#FFFFFF", sHoverColor:"#666666", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetLeft=7&offsetTop=2"}));
	            //sIFR.replaceElement(named({sSelector:"body h1", sFlashSrc:"./flash/hussfont.swf", sColor:"#666666", sLinkColor:"#666666", sBgColor:"#FFFFFF", sHoverColor:"#ff9900", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left", sWmode:"opaque"}));
	            //sIFR.replaceElement(named({sSelector:"body h2", sFlashSrc:"./flash/hussfont.swf", sColor:"#666666", sLinkColor:"#666666", sBgColor:"#FFFFFF", sHoverColor:"#ff9900", nPaddingTop:0, nPaddingBottom:4, sFlashVars:"textalign=left", sWmode:"opaque"}));

sIFR.activate(HussFont);
sIFR.replace(HussFont, {
	onReplacement: function(fi){ resetMovie(fi); },
	selector: 'h4',
	css:[
     		'.sIFR-root { text-align: left;display:inline;}',
     		'a { text-decoration: none;color: #666666; }',
     		'a:link, a:visited { color: #666666; }',
      		'a:hover { color: #666666; }'
      	]
});
sIFR.replace(HussFont, {
	onReplacement: function(fi){ resetMovie(fi); },
	selector: 'h1', css:[
		'.sIFR-root { text-align: left;display:inline; color: #666666; }',
		'a { text-decoration: none;color: #666666; }',
		'a:link, a:visited { color: #666666; }',
		'a:hover { color: #666666; }' 
	]
});
sIFR.replace(HussFont, {
	onReplacement: function(fi){ resetMovie(fi); },
	selector: 'h2', css:[
     		'.sIFR-root { text-align: left;display:inline;color: #666666;}',
      		'a { text-decoration: none;color: #666666; }',
      		'a:link { color: #666666; }',
      		'a:hover { color: #666666; }' 
	]
});
// uitgeschakeled voor IE9.. stond in de replace functie	wmode:'opaque'
sIFR.fitExactly = true;


$(document).ready(function() {
	$('h1, h2, h4').each(function() {
		//sIFR.getFlashElement($(this)[0]).resetMovie();	
		//$(this).click();
	});
});
