/*
#####################################################
# 
# Neil Lerner Kitchens
# sIFR3 configuraton
#
# http://wiki.novemberborn.net/sifr3
#
#####################################################
*/

  ////////////////////////////////////////////////////////////////////
  // Prevent Linux Flash issues
  ////////////////////////////////////////////////////////////////////
  
  if (navigator.platform.indexOf('Linux') == -1) {
  
  ////////////////////////////////////////////////////////////////////
  // Define font variables
  ////////////////////////////////////////////////////////////////////

  var helvetica_neue_55_roman = {src: "assets/templates/nl/sifr3/flash/helvetica-neue-55-roman.swf"};
  
  ////////////////////////////////////////////////////////////////////
  // Run setup routines
  ////////////////////////////////////////////////////////////////////
  
  sIFR.activate(helvetica_neue_55_roman);
  
  ////////////////////////////////////////////////////////////////////
  // Define XHTML selectors to replace and pass sIFR config arguments
  ////////////////////////////////////////////////////////////////////
  
    /* 
  	Template styles
  	-----------------------------------------------------------------------
  	*/

	// H3 contact details
	sIFR.replace(helvetica_neue_55_roman, {
		selector: '#header h3',
		transparent: true,
		ratios: [7, 1.61, 8, 1.44, 9, 1.37, 10, 1.33, 15, 1.29, 18, 1.24, 23, 1.23, 24, 1.21, 25, 1.22, 31, 1.21, 38, 1.2, 42, 1.19, 43, 1.2, 62, 1.19, 66, 1.18, 67, 1.19, 113, 1.18, 114, 1.17, 119, 1.18, 120, 1.17, 1.18],
		offsetTop: -4,
		tuneHeight: -10,
		css: [
			'.sIFR-root { color: #ffffff; background-color: none; letter-spacing: -1; text-align: right; }'
			,'.sIFR-root .grey { color: #dddddd; }'
			,'.sIFR-root a { color: #ffffff; text-decoration: none; }'
			,'.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
		]
	});

	// H2 body headings
	sIFR.replace(helvetica_neue_55_roman, {
		selector: 'h2.heading',
		transparent: true,
		ratios: [6, 1.86, 7, 1.69, 8, 1.57, 9, 1.48, 10, 1.43, 11, 1.38, 13, 1.33, 16, 1.27, 23, 1.23, 24, 1.21, 25, 1.22, 31, 1.21, 38, 1.2, 42, 1.19, 43, 1.2, 62, 1.19, 66, 1.18, 67, 1.19, 113, 1.18, 114, 1.17, 119, 1.18, 120, 1.17, 1.18],
		offsetTop: -12,
		tuneHeight: -2,
		css: [
			'.sIFR-root { color: #ffffff; background-color: none; letter-spacing: -2; }'
			,'.sIFR-root a { color: #ffffff; text-decoration: none; }'
			,'.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
		]
	});

	// H3 body headings
	sIFR.replace(helvetica_neue_55_roman, {
		selector: 'h3.heading',
		transparent: true,
		ratios: [8, 1.09, 9, 1.05, 10, 1.04, 15, 1.05, 20, 1.11, 34, 1.12, 54, 1.13, 56, 1.14, 60, 1.13, 78, 1.14, 80, 1.15, 84, 1.14, 1.15],
		offsetTop: -8,
		tuneHeight: -6,
		css: [
			'.sIFR-root { color: #ffffff; background-color: none; letter-spacing: -2; }'
			,'.sIFR-root a { color: #ffffff; text-decoration: none; }'
			,'.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
		]
	});

	// H3 scrapbook headings
	sIFR.replace(helvetica_neue_55_roman, {
		selector: 'h3.scrapbook-heading',
		transparent: true,
		ratios: [8, 1.09, 9, 1.05, 10, 1.04, 15, 1.05, 20, 1.11, 34, 1.12, 54, 1.13, 56, 1.14, 60, 1.13, 78, 1.14, 80, 1.15, 84, 1.14, 1.15],
		offsetTop: -8,
		tuneHeight: -6,
		css: [
			'.sIFR-root { color: #ffffff; background-color: none; letter-spacing: -2; text-transform: capitalize }'
			,'.sIFR-root a { color: #ffffff; text-decoration: none; }'
			,'.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
		]
	});

	// H4 body headings
	sIFR.replace(helvetica_neue_55_roman, {
		selector: 'h4.heading',
		transparent: true,
		ratios: [8, 1.18, 11, 1.05, 16, 1.04, 17, 1.09, 24, 1.08, 31, 1.1, 37, 1.11, 42, 1.12, 54, 1.13, 56, 1.14, 60, 1.13, 78, 1.14, 80, 1.15, 84, 1.14, 1.15],
		offsetTop: -6,
		tuneHeight: 8,
		css: [
			'.sIFR-root { color: #ffffff; background-color: none; letter-spacing: -1; leading: -2; }'
			,'.sIFR-root a { color: #ffffff; text-decoration: none; }'
			,'.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
		]
	});
	
	////////////////////////////////////////////////////////////////////
	// End Prevent Linux Flash issues
	////////////////////////////////////////////////////////////////////
	
	}