var gotham_xlight = { src: '/wp-content/themes/feliciaday/fonts/gotham_xlight.swf' };
var gotham_medium = { src: '/wp-content/themes/feliciaday/fonts/gotham_medium.swf' };
var gotham_bold = { src: '/wp-content/themes/feliciaday/fonts/gotham_bold.swf' };

// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.
// sIFR.useStyleCheck = true;

sIFR.activate(gotham_xlight, gotham_medium, gotham_bold);

//Top Nav
sIFR.replace(gotham_bold, 
{
	selector: '#nav li.navItem h2',
	css: [
	'.sIFR-root {color: #121212;}',
	'a { font-size: 10px; color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	wmode: 'opaque'
});

//Title on the homage
sIFR.replace(gotham_xlight, 
{
	selector: '#homepage_feature h3',
	css: [
	'.sIFR-root {color: #121212;}',
	'a { font-size: 40px; color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -2
});

//News Item on Homepage
sIFR.replace(gotham_xlight, 
{
	selector: '#homepage #news h3',
	css: [
	'.sIFR-root {color: #121212; font-size: 24px}',
	'a {color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -1
});

//News Date
sIFR.replace(gotham_bold, 
{
	selector: 'h4',
	css: [
	'.sIFR-root {color: #c7b290; font-size: 10px;}',
	],
	tuneHeight: -5,
	offsetLeft: 0,
	wmode: "transparent",
});

//Text for Flickr on the Homepage
sIFR.replace(gotham_bold, 
{
	selector: '#homepage #flickr #flickr_button h3',
	css: [
	'.sIFR-root {color: #121212; font-size: 10px}',
	'a { font-size: 10px; color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	]
});

//Text for twitter on the homepage
sIFR.replace(gotham_bold, 
{
	selector: '#homepage #twitter #twitter_button h3',
	css: [
	'.sIFR-root {color: #121212; font-size: 10px}',
	'a { font-size: 10px; color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	]
});

//News Item on Homepage
sIFR.replace(gotham_xlight, 
{
	selector: '#single #single_content h2',
	css: [
	'.sIFR-root {color: #121212; font-size: 24px}',
	'a {color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -1,
	wmode: 'transparent'
});

//side titles
sIFR.replace(gotham_medium, 
{
	selector: '.widgettitle',
	css: [
	'.sIFR-root {color: #000000; font-size: 12px}',
	'a {color: #000000; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -1,
	wmode: 'transparent'
});

//Project Dashbaord Project Titles
sIFR.replace(gotham_xlight, 
{
	selector: '#projects div.project h2',
	css: [
	'.sIFR-root {color: #121212; font-size: 25px}',
	'a {color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -1,
	wmode: 'transparent'
});

//Project Dashbaord Project Titles
sIFR.replace(gotham_bold, 
{
	selector: 'div.project_widget_title',
	css: [
	'.sIFR-root {color: #121212; font-size: 14px}',
	'a {color: #121212; text-decoration: none;}',
	'a:hover { color: #aa997e; }',
	],
	offsetLeft: -1,
	wmode: 'transparent'
});

//Project Dashbaord Project Titles
sIFR.replace(gotham_xlight, 
{
	selector: '.video_title',
	css: [
	'.sIFR-root {color: #121212; font-size: 25px}',
	],
	offsetLeft: -1,
	wmode: 'transparent'
});