var bembo = {
      src: 'http://www.wealthatwork.co.uk/web_assets/sifrflash/bembo.swf'
};
sIFR.activate(bembo);

sIFR.replace(bembo, {
      selector: 'div#bannerText h2',
      css: [
      '.sIFR-root { color: #ffffff; background-color: transparent; cursor: pointer}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: 'h2',
      css: [
      '.sIFR-root { color: #000000; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: 'h3',
      css: [
      '.sIFR-root { color: #000000; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: 'h4',
      css: [
      '.sIFR-root { color: #000000; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: 'h5',
      css: [
      '.sIFR-root { color: #000000; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: '.le_title',
      css: [
      '.sIFR-root { color: #1980A3; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: '.em_title',
      css: [
      '.sIFR-root { color: #1980A3; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: '.e_table_title',
      css: [
      '.sIFR-root { color: #ffffff; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

sIFR.replace(bembo, {
      selector: 'bannertext h3',
      css: [
      '.sIFR-root { color: #000000; background-color: transparent;}'
      ],
      wmode: 'transparent'

});

function reSifr() {
	
// This function is to re-apply all the sifr changes when a hidden DIV is shown
// ENSURE ALL SIFR REPLACE FUNCTIONS ARE ALSO COPIED HERE
		
	sIFR.replace(bembo, {
      selector: 'div#bannerText h2',
      css: [
      '.sIFR-root { color: #ffffff; background-color: transparent;}'
      ],
      wmode: 'transparent'

	});
	
	sIFR.replace(bembo, {
	      selector: 'h2',
	      css: [
	      '.sIFR-root { color: #000000; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: 'h3',
	      css: [
	      '.sIFR-root { color: #000000; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: 'h4',
	      css: [
	      '.sIFR-root { color: #000000; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: 'h5',
	      css: [
	      '.sIFR-root { color: #000000; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: '.le_title',
	      css: [
	      '.sIFR-root { color: #1980A3; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: '.em_title',
	      css: [
	      '.sIFR-root { color: #1980A3; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
	sIFR.replace(bembo, {
	      selector: '.e_table_title',
	      css: [
	      '.sIFR-root { color: #ffffff; background-color: transparent;}'
	      ],
	      wmode: 'transparent'
	
	});
	
		
}
