$(document).ready(function() {
    if ($('#footer h1').length > 0) {
        $('#footer h1').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '18',
            fontWeight: 'bold',
            color: '#afc837',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('#footer h1').remove();
        });
    }

    if ($('.menu h1').length > 0) {
        $('.menu h1').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '54',
            fontWeight: 'normal',
            color: '#afc837',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('.menu h1').remove();
        });
    }
    
    if ($('.menu h2').length > 0) {
        $('.menu h2').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '36',
            fontWeight: 'normal',
            color: '#838280',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('.menu h1').remove();
        });
    }
    
    if ($('.body h1').length > 0) {
        $('.body h1').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '54',
            fontWeight: 'normal',
            color: '#afc837',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('.body h1').remove();
        });
    }
    
    if ($('.body h2').length > 0) {
        $('.body h2').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '36',
            fontWeight: 'normal',
            color: '#838280',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('.body h2').remove();
        });
    }
    
    if ($('.body h3').length > 0) {
        $('.body h3').sifr({
            font: 'flash/rockwell-light.swf',
            fontSize: '18',
            fontWeight: 'normal',
            color: '#838280',
            version: 3,
            build: 436
        });

        // jquery sIFR  - IE Fix
        // workaraound for IE flash player which throws object expected error on window close
        // see http://www.stoimen.com/blog/2009/06/24/__flash_removecallback-problem-on-ie6/
        $(window).unload(function() {
            $('.body h3').remove();
        });
    }
});