
// Font
var rockwell_extra_bold = {
	src: path2+'swf/sIFR/rockwell_extra_bold.swf'
};

sIFR.activate(rockwell_extra_bold);

var rockwell = {
	src: path2+'swf/sIFR/rockwell.swf'
};

sIFR.activate(rockwell);

// Section title
sIFR.replace(rockwell_extra_bold, {
	selector:			'div#header_title'
	,wmode:				'transparent'
	,modifyContent:		setHeader
	,css: [
	  '.sIFR-root { font-size: 30px; color: #000000; }'
	]
});

// Section subtitle
sIFR.replace(rockwell, {
	selector:			'div#header_subtitle'
	//,wmode:				'transparent'
	,css: [
	  '.sIFR-root { font-size: 14px; color: #555555; font-weight:bold; background-color: #53A4E5; }'
      ,'a { color: #555555; text-decoration: none; }'
      ,'a:hover { color: #555555; text-decoration: underline; }'
	]
});

// Content title
sIFR.replace(rockwell_extra_bold, {
	selector:			'div.content_title_big'
	,wmode:				'transparent'
	,css: [
	  '.sIFR-root { font-size: 25px; color: #FFFFFF; }'
      ,'.sIFR-root div { font-size: 55px; }'
	]
});

// Content title small
sIFR.replace(rockwell, {
	selector:			'div.content_title_small'
	,wmode:				'transparent'
	,modifyContent:		setContentTitle
	,css: [
	  '.sIFR-root { font-size: 14px; color: #FFFFFF; }'
	]
});

// Content title x small
sIFR.replace(rockwell, {
	selector:			'div.content_title_xsmall'
	,wmode:				'transparent'
	,modifyContent:		setContentTitle
	,css: [
	  '.sIFR-root { font-size: 10px; color: #FFFFFF; }'
	]
});

function setHeader(){
	$('div#header_title').css('margin-bottom',-8);
	$('div#header_subtitle').css('margin-bottom',-23);
}

function setContentTitle(){
	$('div.content_title_small').css('margin-top',-5);
}