
var header = {src: '/assets/project/flash/sifr/futura.swf'} ;
//sIFR.initialize();
//sIFR.forceTextTransform = true;

sIFR.activate(header);

sIFR.useStyleCheck = true;

var ligature_it = function(str) {
    //str=str.replace(/ffl/g,'\uFB04') ;
    //str=str.replace(/ffi/g,'\uFB03') ;
    //str=str.replace(/fl/g,'\uFB02') ;
    str=str.replace(/fi/g,'\uFB01') ;
    //str=str.replace(/ff/g,'\uFB00') ;
    return str ;
}
function kickInSIFR(){
	sIFR.replace(header, {
		selector: '#header-menu ul li',
		modifyContentString: ligature_it,
		css: [
		'.sIFR-root { font-size:11px; color:#ffffff; text-align:center; text-transform:uppercase; }'
		,'a { color:#ffffff; text-decoration: none; }'
		,'a:hover { color:#666666; text-decoration: none; }'
		,'a:active { color:#666666; text-decoration: none; }'
		,'a:visited { color:#ffffff; text-decoration: none; }'
		],
		wmode: 'transparent'
	});

	sIFR.replace(header, {
		selector: '#artist .artist-name',
		modifyContentString: ligature_it,
		css: [
		'.sIFR-root { font-size:120px; color:#000000; text-align:left; text-transform:uppercase; line-height:60px; }'
		,'a { color:#000000; text-decoration: none; }'
		,'a:hover { color:#000000; text-decoration: none; }'
		,'a:active { color:#000000; text-decoration: none; }'
		,'a:visited { color:#000000; text-decoration: none; }'
		],
		wmode: 'transparent'
	});


	sIFR.replace(header, {
		selector: '#artists .type span',
		css: [
		'.sIFR-root { font-size:18px; color:#999999; text-align:left; text-transform:uppercase; line-height:1px; }' 
		],
		wmode: 'transparent',
		forceSingleLine: true
	});
	sIFR.replace(header, {
		selector: '#artists .cols .name',
		modifyContentString: ligature_it,
		css: [
		'.sIFR-root { font-size:18px; color:#ffffff; text-align:left; text-transform:uppercase; line-height:1px; }'
		,'a { color:#ffffff; text-decoration: none; }'
		,'a:hover { color:#ff3366; text-decoration: none; }'
		,'a:active { color:#666666; text-decoration: none; }'
		,'a:visited { color:#ffffff; text-decoration: none; }'
		],
		wmode: 'transparent',
		forceSingleLine: true
	});
}
kickInSIFR();