var soho = {
  src: '/css/SohoStd.swf'
  ,ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 50, 1.2, 51, 1.21, 69, 1.2, 73, 1.19, 74, 1.2, 78, 1.19, 79, 1.2, 1.19]
};

var soho_lig = function(str) {

	str=str.replace(/ff/g,'\uFB00') ;
	str=str.replace(/fi/g,'\uFB01') ;
	str=str.replace(/fl/g,'\uFB02') ;
	str=str.replace(/ffi/g,'\uFB03') ;
	str=str.replace(/ffl/g,'\uFB04') ;
	return str ;
}

/*var soho_lig = function(str) {
	str=str.replace(/fb/g,'\uE182') ;
	str=str.replace(/ff/g,'\uFB00') ;
	str=str.replace(/ffb/g,'\uE183') ;
	str=str.replace(/ffh/g,'\uE184') ;
	str=str.replace(/ffi/g,'\uFB03') ;
	str=str.replace(/ffj/g,'\uE185') ;
	str=str.replace(/ffk/g,'\uE186') ;
	str=str.replace(/ffl/g,'\uFB04') ;
	str=str.replace(/fh/g,'\uE188') ;
	str=str.replace(/fi/g,'\uFB01') ;
	str=str.replace(/fj/g,'\uE18A') ;
	str=str.replace(/fk/g,'\uE188') ;
	str=str.replace(/fl/g,'\uFB02') ;
	return str ;
}*/

sIFR.activate(soho);

/* Side headlines */

sIFR.replace(soho, {
	selector: '.cntSideSearch h2'
	,css: {
		'.sIFR-root': { 'background-color': '#000000' /*'#8ca132'*/, 'font-weight': 'bold', 'color': '#ffffff' }
	}
	,wmode: 'transparent'
	,tuneHeight: '0'
	,tuneHeight: '-4'
	,selectable: 'false'
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#5e6c02'
			,strength: 1
		}
	}
});

sIFR.replace(soho, {
	selector: '.cntSideMenu h2'
	,css: {
		'.sIFR-root': { 'background-color': '#000000' /*'#8ca132'*/, 'font-weight': 'bold', 'color': '#ffffff' }
	}
	,wmode: 'transparent'
	,tuneHeight: '0'
	,tuneHeight: '-4'
	,selectable: 'false'
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#5e6c02'
			,strength: 1
		}
	}
});

sIFR.replace(soho, {
	selector: '.cntSideNewsletter h2'
	,css: {
		'.sIFR-root': { 'background-color': '#9e9681', 'font-weight': 'bold', 'color': '#ffffff' }
	}
	,wmode: 'transparent'
	,tuneHeight: '-4'
	,selectable: 'false'
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#696043'
			,strength: 1
		}
	}
});

sIFR.replace(soho, {
	selector: '.cntSideService h2'
	,css: {
		'.sIFR-root': { 'background-color': '#e9e7e1', 'font-weight': 'bold', 'color': '#000000' }
	}
	,wmode: 'transparent'
	,selectable: 'false'
	,tuneHeight: '-4'
});

sIFR.replace(soho, {
	selector: '.cntPlateHeadGrey h2'
	,css: {
		'.sIFR-root': { 'background-color': '#e9e7e1', 'font-weight': 'bold', 'color': '#000000' }
	}
	,wmode: 'transparent'
	,selectable: 'false'
	,tuneHeight: '-4'
});

sIFR.replace(soho, {
	selector: '.cntPlateHeadGreen h2'
	,css: {
		'.sIFR-root': { 'background-color': '#96ac37', 'font-weight': 'bold', 'color': '#ffffff' }
	}
	,wmode: 'transparent'
	,selectable: 'false'
	,tuneHeight: '-4'
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#5e6c02'
			,strength: 1
		}
	}
});

/* Image introbox */

sIFR.replace(soho, {
	selector: '.cntHomeIntro h1'
	,css: {
		'.sIFR-root': { 'background-color': '#000000', 'font-weight': 'bold', 'color': '#ffffff', 'text-align': 'right' }
	}
	,wmode: 'transparent'
	,selectable: 'false'
	,modifyContentString: soho_lig
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#000000'
			,strength: 1
		}
	}
});

/* Page title */

sIFR.replace(soho, {
	selector: '.cntPageTitleHeader h1'
	,css: {
		'.sIFR-root': { 'background-color': '#000000', 'font-weight': 'bold', 'color': '#ffffff' }
	}
	,wmode: 'transparent'
	,selectable: 'false'
	,modifyContentString: soho_lig
	,filters: {
		DropShadow: {
			distance: 0
			,color: '#000000'
			,strength: 1
		}
	}
});
