var helvNeueThin 		= { src: SIFR_ROOT_DIR+'HelveticaNeue-35Th.swf' };
var helvNeueRoman 	= { src: SIFR_ROOT_DIR+'HelveticaNeue-65Md.swf' };
var helvNeueBold 		= { src: SIFR_ROOT_DIR+'HelveticaNeue-Bold.swf' };

//sIFR.autoInitialize  = false;
sIFR.useStyleCheck   = true;
sIFR.repaintOnResize = true;
sIFR.activate(helvNeueThin,helvNeueRoman,helvNeueBold);

function sIFR_load() {
	//alert("load");
	sIFR.rollback();
	sIFR_load2();
	sIFR.redraw();
}
function sIFR_load2() {
	/*
	Home page.
	sIFR.replace(helvNeueRoman, {
	  selector: 'h2.smallHeading',
	  css: '.sIFR-root { color: #333333; }',
	  transparent: true
	});
	
	sIFR.replace(helvNeueRoman, {
	  selector: 'h2.smallHeadingWhite',
	  css: '.sIFR-root { color: #ffffff; }',
	  transparent: true
	});*/
	
	sIFR.replace(helvNeueThin, {
	  selector: 'h2.menuHeading',
	  css: '.sIFR-root { color: #ffffff; }',
	  thickness: 70,
	  offsetLeft: 2,
	  transparent: true
	});
	
	sIFR.replace(helvNeueThin, {
	  selector: 'h1.mainTitle',
	  css: '.sIFR-root { color: #ffffff; }',
	  thickness: -50,
	  transparent: true
	});
	
	sIFR.replace(helvNeueThin, {
	  selector: 'h1.mainTitleBlack',
	  css: '.sIFR-root { color: #333333; }',
	  transparent: true
	});
	
	sIFR.replace(helvNeueThin, {
	  selector: 'h1.smallTitle',
	  css: '.sIFR-root { color: #ffffff; }',
	  thickness: -30,
	  
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: '.document-list li.head h6',
	  css: '.sIFR-root { color: #35393d; font-weight: bold; }',
	  thickness: 50,
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: 'h2.blockHeading',
	  css: '.sIFR-root { color: #3f3c1d; font-size: 1.25em; font-weight: bold; }',
	  tuneHeight : -5,
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: 'h4.blockHeadingWhite',
	  css: '.sIFR-root { color: #ffffff; font-weight: bold; }',
	  filters: {
			  DropShadow: {
				  distance: 1
				 ,color: '#000000'
				 ,strength: 2
				 ,alpha: .3
				 ,blurX: 0
				 ,blurY: 0
			  }
			},
	  tuneHeight : -5,
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: 'h3.filterHeading',
	  css: '.sIFR-root { color: #ffffff; font-weight: bold; }',
	  filters: {
			  DropShadow: {
				  distance: 1
				 ,color: '#000000'
				 ,strength: 2
				 ,alpha: .3
				 ,blurX: 0
				 ,blurY: 0
			  }
			},
	  tuneHeight : -5,
	  sharpness: -10,
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: 'h3.subHeading',
	  css: '.sIFR-root { color: #111111; font-weight: bold; }',
	  tuneHeight : -5,
	  thickness: -10,
	  transparent: true
	});
	
	sIFR.replace(helvNeueBold, {
	  selector: 'h3.priceText',
	  css: '.sIFR-root { color: #ffffff; font-weight: bold; }',
	  filters: {
			  DropShadow: {
				  distance: 1
				 ,color: '#000000'
				 ,strength: 2
				 ,alpha: .3
				 ,blurX: 0
				 ,blurY: 0
			  }
			},
	  tuneHeight : -5,
	  thickness: -10,
	  transparent: true
	});
	
}

sIFR_load();

