var trajanPro = {
	src: '/wp-content/themes/slaterbuilders/flash/futura-book.swf'
};

sIFR.debugMode = true;
// sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
sIFR.prefetch(trajanPro);
sIFR.activate();
sIFR.replace(trajanPro, {
	selector: '#content h1'
	,css: [
	'.sIFR-root { color: #22395E; text-transform: capitalize; }'
	,'a { background-color:green }'
	,'a:link { color: #22395E; }'
	,'a:hover { color: #7C222D; }'
	]
	,wmode: [
		'transparent'
	]
	,forceClear: [
		'false'
	]
});
sIFR.replace(trajanPro, {
	selector: '#content h2'
	,css: [
	'.sIFR-root { color: #22395E; text-transform: capitalize; }'
	,'a { }'
	,'a:link { color: #22395E }'
	,'a:hover { color: #7C222D }'
	]
	,wmode: [
		'transparent'
	]
	,forceClear: [
		'false'
	]
});

sIFR.replace(trajanPro, {
	selector: '#content h3'
	,css: [
	'.sIFR-root { color: #22395E; text-transform: capitalize; }'
	,'a {  }'
	,'a:link { background-color: #DCDCDC }'
	,'a:hover { color: #7C222D }'
	]
	,wmode: [
		'transparent'
	]
	,forceClear: [
		'false'
	]
});
sIFR.replace(trajanPro, {
	selector: '#content h4'
	,css: [
	'.sIFR-root { color: #AE1729; text-transform: capitalize; }'
	,'a:link { color: #AE1729 }'
	,'a:hover { color: #7C222D }'
	]
	,wmode: [
		'transparent'
	]
	,forceClear: [
		'false'
	]
});

function save_id(id) {
		setCookie("section", id);
}
function setCookie(name, value, expires, path, domain, secure) {
	document.cookie= name + "=" + escape(value) +
	((expires) ? "; expires=" + expires.toGMTString() : "") +
	((path) ? "; path=" + path : "") +
	((domain) ? "; domain=" + domain : "") +
	((secure) ? "; secure" : "");
}
	
	
$(document).ready(function() {
	$("div.pageContent img:even").addClass("imgFloatLeft");
	$("div.pageContent img:odd").addClass("imgFloatRight");
	$('#splashTop:eq(0)> div').hide();
	$('#splashTop:eq(0)> div.splashCurrent').animate({ width:'292px', opacity: 'show' }, 'slow');
	$('#splashTop:eq(0)> h1').click(function() {
		$(this).next('div:hidden').animate({ width:'292px', opacity: 'show' }, 'slow')
		.siblings('div:visible').animate({ width: '0px', opacity: 'hide' }, 'slow');
		return false;
	});
	
});
