// Cufon replacements
//Cufon.replace('#content h2, #sponsors h3');

//create the flash header insert script
var flashHeader = $.flash.create(
	{
		swf: '/wp-content/themes/rhinomania/assets/flash/rhinomania.swf',
		height: 275,
		width: 960,
		expressInstaller: '/wp-content/themes/rhinomania/assets/flash/expressInstall.swf'
	}
);

$(document).ready(function () {
    
    //load the flash header
    $('#header').html(flashHeader);
    
    FLIR.init();
    $("#content h1.flir, #sponsors h3, body.page #content h2, body.page #content h3, body.category-news #content h2, body.page-id-15 legend").each( function() { FLIR.replace(this, new FLIRStyle({ mode: 'fancyfonts' })); } );
		
});