var din = {
  src: '/wp-content/themes/white/flash/din.swf'
};
var dinBold = {
  src: '/wp-content/themes/white/flash/dinbold.swf'
};
var dinMedium = {
  src: '/wp-content/themes/white/flash/dinmedium.swf'
};

sIFR.useDomContentLoaded = false;
sIFR.activate(din, dinBold, dinMedium);

// big page title
sIFR.replace(dinBold, {
	selector: 'h1.bigTitle'
	,css: [
		'.sIFR-root { font-size: 54px; color: #dee4e8; text-transform: uppercase; font-weight: bold; letter-spacing: 1; text-align: right; }']
	,wmode: 'transparent'
	,tuneHeight: '-10'
});
// menu
sIFR.replace(din, {
	selector: '#menu ul li'
	,css: [
		'.sIFR-root { font-size: 18px; color: #7f8588; text-transform: lowercase; font-weight: normal; }',
		'a:link {color: #0074ae; text-decoration: none;}',
		'a:visited {color: #0074ae; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}']
	,wmode: 'transparent'
	,tuneHeight: '-5'
});
// main h2s
sIFR.replace(dinMedium, {
	selector: 'h1.small, h2.small'
	,css: [
		'.sIFR-root { font-size: 14px; color: #4eae00; text-transform: uppercase; font-weight: bold; }',
		'a:link {color: #0074ae; text-decoration: none;}',
		'a:visited {color: #0074ae; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}']
	,wmode: 'transparent'
	,tuneHeight: '-3'
});
// secondary h2s
sIFR.replace(dinMedium, {
	selector: 'h2.secondary, span.copyright'
	,css: [
		'.sIFR-root { font-size: 14px; color: #7f8588; text-transform: uppercase; font-weight: bold; }',
		'strong {color: #4eae00;}',
		'a:link {color: #0074ae; text-decoration: none;}',
		'a:visited {color: #0074ae; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}']
	,wmode: 'transparent'
	,tuneHeight: '-6'
});
// home page intro
sIFR.replace(din, {
	selector: 'span.intro'
	,css: [
		'.sIFR-root { font-size: 20px; color: #636466; letter-spacing: -0.3; }',
		'strong {color: #231f20;}',
		'a:link {color: #0074ae; text-decoration: none;}',
		'a:visited {color: #0074ae; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}']
	,wmode: 'transparent'
	,tuneHeight: '-3'
});
// home page intro
// contact page
sIFR.replace(din, {
	selector: '.address li'
	,css: [
		'.sIFR-root { font-size: 20px; color: #636466; letter-spacing: -0.1; text-transform: uppercase; }',
		'strong {color: #4eae00;}',
		'a:link {color: #0074ae; text-decoration: none;}',
		'a:visited {color: #0074ae; text-decoration: none;}',
		'a:hover {color: #000000; text-decoration: none;}']
	,wmode: 'transparent'
	,tuneHeight: '-6'
});
// Widgets titles
sIFR.replace(din, {
  selector: '#sidebar h3'
  ,css: [
      '.sIFR-root { font-size: 24px; color: #4eae00; letter-spacing: -0.1; }']
  ,wmode: 'transparent'
  ,tuneHeight: '-6'
});










// project h2s
sIFR.replace(dinBold, {
  selector: 'h2.project'
  ,css: [
	'.sIFR-root { font-size: 14px; color: #ffffff; text-transform: uppercase; font-weight: bold; }',
	'a:link {color: #ffffff; text-decoration: none;}',
	'a:visited {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: underline;}']
  ,wmode: 'transparent'
  ,tuneHeight: '-6'
});




// timeline years
sIFR.replace(dinBold, {
  selector: 'h2.year'
  ,css: [
      '.sIFR-root { font-size: 20px; color: #4eae00; letter-spacing: -0.1; }']
  ,wmode: 'transparent'
  ,tuneHeight: '-6'
});


// Blog titles
sIFR.replace(din, {
  selector: '.blogTitle'
  ,css: [
      '.sIFR-root { font-size: 24px; color: #4eae00; letter-spacing: -0.1; }',
      'a:link {color: #0074ae; text-decoration: none;}',
      'a:visited {color: #0074ae; text-decoration: none;}',
      'a:hover {color: #000000; text-decoration: none;}']
  ,wmode: 'transparent'
  ,tuneHeight: '-6'
});

