var trajanpro = {
 src: '/wp-content/themes/paradise/sifr/flash/trajanpro.swf',
 ratios: [6,1.24,7,1.21,8,1.18,10,1.16,11,1.13,12,1.12,13,1.11,15,1.1,17,1.09,19,1.08,22,1.07,26,1.06,32,1.05,41,1.04,58,1.03,97,1.02,1.01]
};

sIFR.activate(trajanpro);

sIFR.replace(trajanpro, {
 selector: '#nav div div',
 wmode: 'transparent',
 css: {
     '.sIFR-root': {'font-size': '14px'},
     'a': {'color': '#000000', 'text-decoration': 'none' },
     'a:hover': {'color': '#452217', 'text-decoration': 'none'}
 },
 forceWidth: true,
 fromLocal: true,
 fitExactly: true,
 tuneWidth: 5
});

sIFR.replace(trajanpro, {
 selector: '#subnav div div',
 wmode: 'transparent',
 css: {
     '.sIFR-root': {'font-size': '12px', 'font-weight': 'bold', 'color': '#712316', 'text-decoration': 'underline'},
     'a': {'color': '#712316', 'text-decoration': 'none' },
     'a:hover': {'color': '#712316', 'text-decoration': 'underline'}
 },
 forceWidth: true,
 tuneWidth: 25,
 fitExactly: true
});

sIFR.replace(trajanpro, {
 selector: 'h2',
 wmode: 'transparent',
 css: {
     '.sIFR-root': {'color': '#452217'},
     'a': {'color': '#452217', 'text-decoration': 'none' },
     'a:hover': {'color': '#452217', 'text-decoration': 'none'}
 },
 tuneWidth: 80,
 fitExactly: true,
 onReplacement: function() {
     // for(var i = 0; i < sIFR.callbacks.length; i++) sIFR.callbacks[i].resize();
 }
});

sIFR.replace(trajanpro, {
 selector: 'h1',
 wmode: 'transparent',
 css: {
     '.sIFR-root': {'color': '#452217'}
 },
    tuneWidth: 100,
    forceWidth: false,
    // fitExactly: true,
 onReplacement: function() {
        // for(var i = 0; i < sIFR.callbacks.length; i++) sIFR.callbacks[i].resize();
 }
});