/*
#####################################################
# 
# RockNess
# sIFR3 configuraton
#
# http://wiki.novemberborn.net/sifr3
#
#####################################################
*/

  ////////////////////////////////////////////////////////////////////
  // Prevent Linux Flash issues
  ////////////////////////////////////////////////////////////////////
  
  if (navigator.platform.indexOf('Linux') == -1) {
  
  ////////////////////////////////////////////////////////////////////
  // Define font variables
  ////////////////////////////////////////////////////////////////////

  var eurostile = {src: "assets/templates/rockness/sifr3/flash/eurostile.swf"};
  
  ////////////////////////////////////////////////////////////////////
  // Run setup routines
  ////////////////////////////////////////////////////////////////////
  
  sIFR.activate(eurostile);
  
  ////////////////////////////////////////////////////////////////////
  // Define XHTML selectors to replace and pass sIFR config arguments
  ////////////////////////////////////////////////////////////////////
  
    /* 
  	Template styles
  	-----------------------------------------------------------------------
  	*/

	// H2 date heading
	sIFR.replace(eurostile, {
		selector: '#header h2',
		transparent: true,
		ratios: [6, 1.39, 7, 1.33, 9, 1.26, 14, 1.19, 15, 1.16, 23, 1.15, 30, 1.12, 42, 1.11, 58, 1.1, 66, 1.09, 67, 1.1, 105, 1.09, 106, 1.08, 112, 1.09, 113, 1.08, 115, 1.09, 120, 1.08, 123, 1.09, 1.08],
		offsetTop: -4,
		tuneHeight: -6,
		css: [
		'.sIFR-root { color: #ffffff; background-color: none; text-align: center; }'
		,'sup { font-size: 75%; display: inline; }'
		],
		wmode: 'transparent'
	});

	// H2 body headings
	sIFR.replace(eurostile, {
		selector: 'h2.heading',
		transparent: true,
		ratios: [9, 1.27, 14, 1.19, 15, 1.16, 23, 1.15, 30, 1.12, 42, 1.11, 58, 1.1, 66, 1.09, 67, 1.1, 105, 1.09, 106, 1.08, 112, 1.09, 113, 1.08, 115, 1.09, 120, 1.08, 123, 1.09, 1.08],
		offsetTop: -4,
		tuneHeight: -6,
		css: [
		'.sIFR-root { color: #ffffff; background-color: none; }'
		],
		wmode: 'transparent'
	});

	// H3 body headings
	sIFR.replace(eurostile, {
		selector: 'h3.heading',
		transparent: true,
		ratios: [9, 1.27, 14, 1.19, 15, 1.16, 23, 1.15, 30, 1.12, 42, 1.11, 58, 1.1, 66, 1.09, 67, 1.1, 105, 1.09, 106, 1.08, 112, 1.09, 113, 1.08, 115, 1.09, 120, 1.08, 123, 1.09, 1.08],
		offsetTop: -3,
		tuneHeight: -4,
		css: [
		'.sIFR-root { color: #ffffff; background-color: none; }'
		],
		wmode: 'transparent'
	});
  
	////////////////////////////////////////////////////////////////////
	// End Prevent Linux Flash issues
	////////////////////////////////////////////////////////////////////
	
	}