var trajanPro = {
	src: '/assets/flash/trajan_pro.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.debug.ratios({ src: trajanPro.src, selector: 'h1,#subheader h2,h2, a.button .trajan,#subnav ul li span.trajan' });

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
sIFR.useStyleCheck = true;
sIFR.useDomLoaded = true;
sIFR.activate(trajanPro);

sIFR.replace(trajanPro, {
	selector: 'h1',
	css: {
		'.sIFR-root': { 
			'color': '#003F5F',
			'font-weight':'bold'
		}
	},
	wmode: "transparent",
	forceSingleLine: false,
	tuneHeight: 0,
	tuneWidth: 10,
	thickness: 75
});

sIFR.replace(trajanPro, {
	selector: '#subheader h2',
	css: {
		'.sIFR-root': { 
			'color': '#706E36',
			'font-weight':'bold',
			'text-transform':'uppercase',
			'font-size':12
		}
	},
	wmode: "transparent",
	forceSingleLine: true,
	tuneHeight: 0,
	tuneWidth: 5,
	thickness: 125
});


sIFR.replace(trajanPro, {
	selector: 'h2',
	css: {
		'.sIFR-root': { 
			'color': '#706E36',
			'font-weight':'bold',
			'text-transform':'uppercase',
			'font-size':14
		}
	},
	wmode: "transparent",
	forceSingleLine: true,
	tuneHeight: 0,
	tuneWidth: 5,
	thickness: 125
});

sIFR.replace(trajanPro, {
	selector: 'a.button .trajan',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': '11'
			
		}
	},
	wmode: "transparent",
	tuneHeight: -5,
	thickness: 150,
	tuneWidth: 0,
	onRelease: function(fiObject) {
		document.location.href = fiObject.getAncestor().parentNode.href;
	}
});
sIFR.replace(trajanPro, {
	selector: '#subnav ul li ul li.selected span.trajan',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': '12'
		},
		'a': {
			'color':'#003f5f',
			'font-weight':'bold',
			'text-decoration':'none'
		},
		'a:hover': {
			'color':'#176f9c'
		}
	},
	wmode: "transparent",
	// forceSingleLine: true,
	tuneHeight: -5,
	thickness: 150,
	tuneWidth: 0
});
sIFR.replace(trajanPro, {
	selector: '#subnav ul li ul li span.trajan',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': '12'
		},
		'a': {
			'color':'#387c2c',
			'font-weight':'bold',
			'text-decoration':'none'
		},
		'a:hover': {
			'color':'#449f34'
		}
	},
	wmode: "transparent",
	tuneHeight: -5,
	thickness: 150,
	tuneWidth: 0
});
sIFR.replace(trajanPro, {
	selector: '#subnav ul li.selected span.trajan',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': '12'
		},
		'a': {
			'color':'#003f5f',
			'font-weight':'bold',
			'text-decoration':'none'
		},
		'a:hover': {
			'color':'#176f9c'
		}
	},
	wmode: "transparent",
	// forceSingleLine: true,
	tuneHeight: -5,
	thickness: 150,
	tuneWidth: 0
});
sIFR.replace(trajanPro, {
	selector: '#subnav ul li span.trajan',
	css: {
		'.sIFR-root': { 
			'color': '#ffffff',
			'font-size': '12'
		},
		'a': {
			'color':'#387c2c',
			'font-weight':'bold',
			'text-decoration':'none'
		},
		'a:hover': {
			'color':'#449f34'
		}
	},
	wmode: "transparent",
	tuneHeight: -5,
	thickness: 150,
	tuneWidth: 0
});


/*

,
'a': {
	'color': '#ffffff',
	'font-size': '11',
	'text-decoration':'none'
},
'a:hover': {
	'color': '#ffffff'
}

*/
