if(directory && !browser.isIE5 && !browser.isIE6){

	var gotham_light = { src: directory + 'flash/sIFR/gotham_light.swf' };
	var gotham_book = { src: directory + 'flash/sIFR/gotham_book.swf' };
	sifrSelectors = [
		'#page-title h1',
		'#featured .rule-1 a .title, #featured .rule-2 a .title, #energy-efficiency-content a .title',
		'#featured .rule-1 .title, #featured .rule-2 .title, #energy-efficiency-content .title, #company-content div.title, #news-archive-nav .title, #home-services-homepage-nav .title, #environmental-commitment-content .title, #terms-conditions-supply-content .title, h2, body.iphone-app .title',
		'.homepage #featured a .title',
		'#business-type-tabs a span.title, #energy-efficiency-tabs a span.title',
		'#business-type-tabs a span.subtitle, #energy-efficiency-tabs a span.subtitle',
		'#lb-header .title, #lb-torso .title, #cs-form-header .title',
		'.product-info .title',
		'#ask-you-engineer .content',
		'#featurettes a .title',
		'#featurettes .title',
		'#meter-reading-tabs .non-quarter-hourly a span.title',
		'#contact-us-tabs a span.title',
		'#meter-reading-tabs .non-quarter-hourly a span.subtitle, #contact-us-tabs a span.subtitle',
		'#meter-reading-tabs .quarter-hourly a span.title',
		'#meter-reading-tabs .quarter-hourly a span.subtitle',
		'#recipes-tabs a span.title',
		'#readiscover h3',
		'.ccm-video-carousel .video-holder .title a span',
		'#irish-book-awards-right-link .title', 
		'#twitter .title',
		'#irupa-panel .title, #cef-panel .title2, #cef-content h3, #company-content h3',
		'#cpt-runners-up h3',
		'#cpt-runners-up h4'
	];			
	
	if(browser.isSafari){
		sIFR.useStyleCheck = true;
	}

	sIFR.activate(gotham_light, gotham_book);

	sIFR.replace(gotham_light, {
		selector: sifrSelectors[0],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#FFFFFF', 'font-size':'21px'}
		},
		wmode: 'transparent',
		offsetTop: -1,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[1],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px', 'cursor':'pointer'}
		},
		wmode: 'transparent',
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});	
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[2],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px'},
			'.center': { 'display':'block', 'text-align':'center' },
			'.orange': { 'color':'#ffcb65', 'font-size':'24px' },
			'.white': { 'color':'#FFFFFF', 'font-size':'25px' },
			'.dark-blue': { 'color':'#48133D' },
			'.smaller': { 'color':'#003366', 'font-size':'18px'},
			'.smallest': { 'color':'#003366', 'font-size':'16px'}
		},
		wmode: 'transparent',
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});

	sIFR.replace(gotham_book, {
		selector: sifrSelectors[3],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'16px', 'cursor':'pointer', 'leading': 4}
		},
		wmode: 'transparent',
		offsetTop: 4,
		tuneHeight: 3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[4],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'16px', 'cursor':'pointer'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[5],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'14px', 'cursor':'pointer'}
		},
		wmode: 'transparent',
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[6],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px'},
			'.pink': { 'color':'#EE0090', 'font-weight':'bold' }
		},
		wmode: 'transparent',
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[7],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px'},
			'.pink': { 'color':'#EE0090', 'font-weight':'bold', 'font-size':'17px', 'display':'block' },
			'.smaller': { 'font-size':'18px' },
			'.small': { 'font-size':'13px', 'display':'block' },
			'.smallest': { 'font-size':'14px' },
			'.green': { 'color':'#5AC537', 'font-weight':'bold', 'font-size':'17px', 'display':'block' }
		},
		wmode: 'transparent',
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[8],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px'}
		},
		wmode: 'transparent',
		offsetTop: 2,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[9],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'15px', 'leading':'-2', 'cursor':'pointer'}
		},
		wmode: 'transparent',
		offsetTop: 5,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[10],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'15px', 'leading':'-2'}
		},
		wmode: 'transparent',
		offsetTop: 5,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[11],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px', 'cursor':'pointer'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[12],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'15px', 'cursor':'pointer', 'leading':-2, 'display':'block'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[13],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'14px', 'cursor':'pointer', 'leading':-2, 'display':'block'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[14],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px', 'cursor':'pointer', 'text-align':'right'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[15],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'14px', 'cursor':'pointer', 'leading':-2, 'text-align':'right'}
		},
		wmode: 'transparent',
		tuneHeight: -3,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[16],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'18px', 'cursor':'pointer' }
		},
		wmode: 'transparent',
		offsetTop: 6,
		tuneHeight: 6,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[17],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.red-smaller': { 'color':'#FF0000', 'font-size':'18px' },
			'.sIFR-root': { 'color':'#FFF', 'font-size':'18px'}
		},
		wmode: 'transparent',
		tuneHeight: -5,
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[18],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'21px', 'cursor':'pointer', 'display':'block' }
		},
		wmode: 'transparent',
		offsetTop: 5,
		tuneWidth: 10,
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});	
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[19],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'18px'}
		},
		wmode: 'transparent',
		tuneHeight: -6,
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[20],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'18px'}
		},
		wmode: 'transparent',
		tuneHeight: -6,
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[21],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'18px'}
		},
		wmode: 'transparent',
		tuneHeight: 0,
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});

	sIFR.replace(gotham_book, {
		selector: sifrSelectors[22],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'20px'}
		},
		wmode: 'transparent',
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});
	
	sIFR.replace(gotham_book, {
		selector: sifrSelectors[23],
		ratios: [6, 1.24, 11, 1.13, 12, 1.12, 21, 1.07, 29, 1.04, 30, 1.05, 49, 1.03, 53, 1.02, 54, 1.03, 74, 1.02, 77, 1.01, 78, 1.02, 83, 1.01, 84, 1.02, 89, 1.01, 90, 1.02, 95, 1.01, 96, 1.02, 1.01],
		css: {
			'.sIFR-root': { 'color':'#003366', 'font-size':'16px'}
		},
		wmode: 'transparent',
		fitExactly: false,
		forceWidth: false,
		preventWrap: false,
		forceSingleLine: false,
		onReplacement: function(){ }
	});
	
	/*
	sIFR.debug.ratios(gotham_book, {
	selector: '#featured .even .title' });
	*/		
	
}

